/* ================================================================
   PRIVACY PROMISE — Button & Modal
   Location: /weather/css/privacy-promise.css
   ================================================================ */

/* ── Header layout adjustment ── */
.brand-bar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ── Privacy Promise Pill Button ── */
.privacy-promise-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: rgba(255,255,255,0.85);
    font-family: 'Open Sans', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    line-height: 1;
}
.privacy-promise-btn:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.4);
}
.pp-lock-icon {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
}

/* ── Modal Overlay ── */
.pp-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.pp-overlay.pp-visible {
    opacity: 1;
    visibility: visible;
}

/* ── Modal Dialog ── */
.pp-dialog {
    background: rgba(20, 20, 40, 0.97);
    border: 1px solid rgba(255, 214, 89, 0.15);
    border-radius: 20px;
    padding: 36px 32px 32px;
    max-width: 440px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: translateY(10px);
    transition: transform 0.3s ease;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}
.pp-overlay.pp-visible .pp-dialog {
    transform: translateY(0);
}

/* ── Close Button ── */
.pp-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.4);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    line-height: 1;
}
.pp-close:hover {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
}

/* ── Lock Circle ── */
.pp-lock-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(40, 179, 189, 0.12);
    border: 1px solid rgba(40, 179, 189, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.pp-lock-circle svg {
    width: 22px;
    height: 22px;
}

/* ── Title ── */
.pp-title {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: white;
    font-weight: 700;
    margin-bottom: 20px;
}

/* ── Body Copy ── */
.pp-body p {
    color: rgba(255,255,255,0.65);
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 16px;
    text-align: left;
}
.pp-body p.pp-opening {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 17px;
    color: rgba(255,255,255,0.8);
    text-align: center;
    margin-bottom: 20px;
}
.pp-body p.pp-closing {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: #ffd659;
    font-size: 16px;
    text-align: center;
    margin-top: 24px;
    margin-bottom: 0;
}

/* ── Divider ── */
.pp-divider {
    height: 1px;
    background: rgba(255,255,255,0.06);
    margin: 20px 0;
}

/* ── Input Hint (Emotional Weather page) ── */
.pp-input-hint {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
    font-size: 12px;
    color: rgba(40, 179, 189, 0.6);
}
.pp-input-hint svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

/* ── Mobile ── */
@media (max-width: 480px) {
    .pp-btn-text {
        display: none;
    }
    .privacy-promise-btn {
        padding: 6px 10px;
    }
    .pp-dialog {
        padding: 28px 20px 24px;
    }
    .pp-title {
        font-size: 21px;
    }
    .pp-body p {
        font-size: 14px;
    }
    .pp-body p.pp-opening {
        font-size: 15px;
    }
    .pp-body p.pp-closing {
        font-size: 15px;
    }
}
