#professional-space-modal[hidden] {
    display: none !important;
}

#professional-space-modal:not([hidden]) {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}

.professional-space-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.professional-space-modal__dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 720px;
    min-height: auto;
    background: #fff;
    color: #1a1a1a;
    padding: 3.5rem 3rem 3rem;
    text-align: center;
    font-family: 'Nunito Sans', sans-serif;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.professional-space-modal__close {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: #F77F77;
    color: #fff;
    cursor: pointer;
    font-size: 0.85rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.professional-space-modal__close:hover {
    background: #e56860;
}

.professional-space-modal__title {
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.1;
    margin: 0 0 1.75rem;
    color: #F77F77;
}

.professional-space-modal__title strong {
    display: block;
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0.15rem 0;
    color: #F77F77;
    line-height: 1.05;
}

.professional-space-modal__body {
    font-size: 1.3rem;
    line-height: 1.35;
    color: #000;
    margin: 0 0 1.5rem;
}

.professional-space-modal__disclaimer {
    font-size: 0.85rem;
    line-height: 1.55;
    color: #666;
    margin: 0 0 2rem;
    padding-left: 45px;
    padding-right: 45px;
}

.professional-space-modal__actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

.professional-space-modal__btn {
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 0;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.professional-space-modal__btn--primary {
    width: auto;
    max-width: none;
    padding: 0.55rem 1.1rem;
    font-size: 1.25rem;
    line-height: 1.15;
    background: #F77F77;
    border: 1px solid #F77F77;
    color: #fff;
}

.professional-space-modal__btn--primary:hover {
    background: #e56860;
    border-color: #e56860;
}

.professional-space-modal__btn--secondary {
    width: auto;
    max-width: none;
    padding: 0.55rem 1.1rem;
    font-size: 0.88rem;
    background: #fff;
    border: 1px solid #1a1a1a;
    color: #1a1a1a;
}

.professional-space-modal__btn--secondary:hover {
    background: #f8f8f8;
}

@media (max-width: 575.98px) {
    .professional-space-modal__dialog {
        min-height: auto;
        padding: 2.25rem 1.5rem 1.75rem;
    }

    .professional-space-modal__btn--secondary {
        font-size: 0.75rem;
        padding: 0.5rem 0.85rem;
    }
}
