/* =========================================
   Arquivo: filex/css/privacidade.css
   XONA — PRIVACIDADE
   Requer main.css carregado antes.
   ========================================= */

/* =========================================
   BODY — sem sidebar direita
   ========================================= */
body.privacy-body .main-content {
    margin-right: 0 !important;
    max-width: none !important;
}

.privacy-page {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-bottom: 24px;
    margin-top: 2%;
}

/* =========================================
   TÍTULO
   ========================================= */
.privacy-title-block h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
}
.privacy-title-block p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* =========================================
   SECÇÕES
   ========================================= */
.privacy-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.privacy-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
}
.privacy-section-header i {
    color: var(--accent-pink);
    font-size: 14px;
}
.privacy-section-header h2 {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

/* =========================================
   LISTA DE OPÇÕES
   ========================================= */
.privacy-options-list {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.privacy-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.15s;
}
.privacy-option:last-child { border-bottom: none; }
.privacy-option:hover { background-color: var(--bg-dark); }

.privacy-option-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.privacy-option-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.35;
}
.privacy-option-desc {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* =========================================
   SWITCH (toggle)
   ========================================= */
.switch-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
    cursor: pointer;
}
.switch-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}
.switch-slider {
    position: absolute;
    inset: 0;
    background-color: #2a3038;
    border-radius: 999px;
    transition: background-color 0.25s ease;
}
.switch-slider::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background-color: #ffffff;
    border-radius: 50%;
    transition: transform 0.25s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}
.switch-toggle input:checked + .switch-slider {
    background-color: var(--accent-pink);
}
.switch-toggle input:checked + .switch-slider::before {
    transform: translateX(20px);
}
.switch-toggle input:focus-visible + .switch-slider {
    outline: 2px solid var(--accent-pink);
    outline-offset: 2px;
}

/* =========================================
   MOBILE
   ========================================= */
@media (max-width: 768px) {

    body.privacy-body .main-content {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0 !important;
    }

    .privacy-page {
        padding: 0 10px 130px;
        gap: 20px;
    }

    .privacy-title-block h1 { font-size: 22px; }
    .privacy-title-block p { font-size: 12px; }

    .privacy-option {
        padding: 14px 16px;
        gap: 12px;
    }
    .privacy-option-title { font-size: 13.5px; }
    .privacy-option-desc { font-size: 11.5px; }

    .switch-toggle {
        width: 40px;
        height: 22px;
    }
    .switch-slider::before {
        width: 16px;
        height: 16px;
    }
    .switch-toggle input:checked + .switch-slider::before {
        transform: translateX(18px);
    }
}