﻿/* ================= ROOT ================= */
.privacy {
    padding: 20px;
    background: #f6f7f9;
    max-width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ================= HEADER (reuses settings-header) ================= */
.settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 10px;
}

    .settings-header h2 {
        margin: 0;
        font-size: 22px;
    }

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.settings-subtitle {
    font-size: 13px;
    color: #777;
}

.privacy-last-updated {
    font-size: 12px;
    color: #999;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 20px;
    padding: 4px 12px;
    font-weight: 500;
}

/* ================= INTRO BANNER ================= */
.privacy-intro-banner {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    border-left: 4px solid #111;
}

.privacy-intro-icon {
    font-size: 28px;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 2px;
}

.privacy-intro-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.privacy-intro-title {
    font-size: 15px;
    font-weight: 700;
    color: #111;
    margin: 0;
}

.privacy-intro-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ================= SECTIONS STACK ================= */
.privacy-sections {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ================= INDIVIDUAL PRIVACY CARD ================= */
.privacy-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.15s ease;
}

    .privacy-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        border-radius: 12px 12px 0 0;
    }

    .privacy-card:hover {
        box-shadow: 0 4px 18px rgba(0,0,0,0.09);
        transform: translateY(-1px);
    }

    /* Colored top strips per section */
    .privacy-card[data-section="collect"]::before {
        background: #cce5ff;
    }

    .privacy-card[data-section="use"]::before {
        background: #d4edda;
    }

    .privacy-card[data-section="sharing"]::before {
        background: #fff3cd;
    }

    .privacy-card[data-section="security"]::before {
        background: #fdecea;
    }

    .privacy-card[data-section="retention"]::before {
        background: #e2e3e5;
    }

    .privacy-card[data-section="rights"]::before {
        background: #f3e8ff;
    }

    .privacy-card[data-section="contact"]::before {
        background: #d1ecf1;
    }

/* ================= CARD HEADER ================= */
.privacy-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
}

.privacy-card-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

/* Icon backgrounds matching strip colours */
.collect-icon {
    background: #e7f4ff;
}

.use-icon {
    background: #e6f7ee;
}

.sharing-icon {
    background: #fffbeb;
}

.security-icon {
    background: #fef2f2;
}

.retention-icon {
    background: #f4f4f5;
}

.rights-icon {
    background: #f5eeff;
}

.contact-icon {
    background: #e0f7fa;
}

.privacy-card-number {
    font-size: 11px;
    font-weight: 700;
    color: #bbb;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.privacy-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #111;
}

/* ================= CARD DESC ================= */
.privacy-card-desc {
    font-size: 13px;
    color: #777;
    line-height: 1.6;
    margin: 0;
}

/* ================= ITEMS LIST (key → value rows) ================= */
.privacy-items-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.privacy-item {
    background: #f6f7f9;
    border-radius: 8px;
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.privacy-item-label {
    font-size: 11px;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.privacy-item-value {
    font-size: 13px;
    color: #444;
    line-height: 1.55;
}

/* ================= BULLET LIST ================= */
.privacy-bullets {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.privacy-bullet-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #444;
    line-height: 1.55;
}

.bullet-dot {
    width: 7px;
    height: 7px;
    background: #111;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 5px;
}

/* ================= NO-SELL BADGE ================= */
.privacy-no-sell-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fdecea;
    color: #c0392b;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    align-self: flex-start;
}

/* ================= SECURITY GRID ================= */
.privacy-security-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.security-tile {
    background: #f6f7f9;
    border-radius: 10px;
    padding: 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: center;
    align-items: center;
}

.security-tile-icon {
    font-size: 22px;
}

.security-tile-title {
    font-size: 12px;
    font-weight: 700;
    color: #111;
}

.security-tile-desc {
    font-size: 12px;
    color: #777;
    line-height: 1.5;
}

/* ================= RIGHTS GRID ================= */
.privacy-rights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.rights-tile {
    background: #f6f7f9;
    border-radius: 8px;
    padding: 12px 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #444;
    line-height: 1.5;
}

.rights-tile-icon {
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ================= CONTACT CARD ================= */
.contact-card {
    border-color: #e6f7ee;
}

.contact-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.contact-detail-item {
    background: #f6f7f9;
    border-radius: 8px;
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.contact-detail-label {
    font-size: 10px;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-detail-val {
    font-size: 14px;
    font-weight: 600;
    color: #111;
}

    .contact-detail-val a {
        color: #111;
        text-decoration: none;
        border-bottom: 1px dashed #aaa;
    }

        .contact-detail-val a:hover {
            color: #007bff;
            border-bottom-color: #007bff;
        }

/* ================= RESPONSIVE ================= */
@media (max-width: 860px) {
    .privacy-security-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .privacy-rights-grid {
        grid-template-columns: 1fr;
    }

    .contact-details-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .privacy {
        padding: 12px;
    }

    .settings-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .privacy-security-grid {
        grid-template-columns: 1fr;
    }

    .privacy-intro-banner {
        flex-direction: column;
        gap: 10px;
    }
}
