#privacy-modal {
    position: fixed;
    inset: 0;
    z-index: 110;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

#privacy-modal[hidden] {
    display: none !important;
}

#privacy-modal.is-open {
    display: flex;
}

.privacy-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
}

.privacy-modal__panel {
    position: relative;
    z-index: 1;
    display: flex;
    max-height: min(90vh, 42rem);
    width: 100%;
    max-width: 36rem;
    flex-direction: column;
    overflow: hidden;
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.35);
}

.privacy-modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid #f1f5f9;
    padding: 1.25rem 1.25rem 1rem;
}

.privacy-modal__body {
    overflow-y: auto;
    padding: 1rem 1.25rem 1.25rem;
}

.privacy-modal__body h3 {
    margin-top: 1rem;
    margin-bottom: 0.35rem;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #ea580c;
}

.privacy-modal__body h3:first-child {
    margin-top: 0;
}

.privacy-modal__body p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #475569;
}

.privacy-modal__footer {
    border-top: 1px solid #f1f5f9;
    padding: 0.875rem 1.25rem 1.25rem;
}

.privacy-modal__close {
    display: inline-flex;
    height: 2.25rem;
    width: 2.25rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    color: #64748b;
    transition: background-color 0.15s, color 0.15s;
}

.privacy-modal__close:hover {
    background: #f1f5f9;
    color: #ea580c;
}
