﻿/* ============================================================
   ProntPsi - PainelExclusivo.css (Redesign Escuro Moderno)
   ============================================================ */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #0f1621;
    color: #e2e8f0;
    min-height: 100vh;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
    display: flex;
    min-height: 100vh;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar {
    width: 220px;
    background: linear-gradient(180deg, #1a2332 0%, #141d2b 100%);
    border-right: 1px solid rgba(139, 92, 246, 0.2);
    padding: 24px 16px;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
    transition: transform 0.3s ease;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

    .sidebar::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }

    .sidebar h2 {
        font-size: 16px;
        font-weight: 700;
        color: #a78bfa;
        text-align: center;
        margin-bottom: 8px;
        letter-spacing: 0.5px;
        text-transform: uppercase;
    }

.sidebar-logo {
    text-align: center;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

    .sidebar-logo span {
        font-size: 11px;
        color: #64748b;
        letter-spacing: 1px;
        text-transform: uppercase;
    }

.sidebar ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar button {
    width: 100%;
    background: transparent;
    border: none;
    color: #94a3b8;
    padding: 10px 12px;
    text-align: left;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-family: 'Roboto', sans-serif;
}

    .sidebar button i {
        width: 18px;
        font-size: 14px;
        color: #64748b;
        transition: color 0.2s;
    }

    .sidebar button:hover {
        background: rgba(139, 92, 246, 0.1);
        color: #c4b5fd;
    }

        .sidebar button:hover i {
            color: #a78bfa;
        }

    .sidebar button.active,
    .sidebar button[aria-current="page"] {
        background: rgba(139, 92, 246, 0.2);
        color: #c4b5fd;
        font-weight: 500;
        border-left: 3px solid #8b5cf6;
    }

        .sidebar button.active i {
            color: #a78bfa;
        }

/* ============================================================
   MAIN CONTENT
   ============================================================ */
.main-content {
    margin-left: 220px;
    padding: 32px;
    flex-grow: 1;
    min-height: 100vh;
    background-color: #0f1621;
}

section {
    display: none;
}

.active-section {
    display: block;
}

.hidden-section {
    display: none;
}

/* ============================================================
   PAGE HEADER
   ============================================================ */
.page-header {
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(139, 92, 246, 0.15);
}

    .page-header h2 {
        font-size: 22px;
        font-weight: 600;
        color: #f1f5f9;
        margin-bottom: 4px;
    }

    .page-header p {
        font-size: 14px;
        color: #64748b;
    }

/* ============================================================
   CARDS
   ============================================================ */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #1e2a3a;
    border: 1px solid rgba(139, 92, 246, 0.15);
    padding: 16px;
    border-radius: 10px;
    text-decoration: none;
    color: #cbd5e1;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
}

    .card i {
        font-size: 18px;
        color: #8b5cf6;
        flex-shrink: 0;
    }

    .card:hover {
        background: #243147;
        border-color: rgba(139, 92, 246, 0.4);
        color: #e2e8f0;
        transform: translateY(-2px);
    }

/* ============================================================
   FORMS
   ============================================================ */
.form-card {
    background: #1a2332;
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 12px;
    padding: 24px;
    max-width: 600px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

    form label {
        font-size: 13px;
        font-weight: 500;
        color: #94a3b8;
        margin-bottom: 6px;
        display: block;
    }

    form input,
    form select,
    form textarea {
        width: 100%;
        padding: 10px 14px;
        background: #0f1621;
        border: 1px solid rgba(139, 92, 246, 0.2);
        border-radius: 8px;
        color: #e2e8f0;
        font-size: 14px;
        font-family: 'Roboto', sans-serif;
        transition: border-color 0.2s;
    }

        form input:focus,
        form select:focus,
        form textarea:focus {
            outline: none;
            border-color: #8b5cf6;
            box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
        }

    form textarea {
        resize: vertical;
        min-height: 100px;
        line-height: 1.6;
    }

    form button[type="submit"] {
        background: #7c3aed;
        color: white;
        border: none;
        padding: 12px 24px;
        border-radius: 8px;
        cursor: pointer;
        font-size: 14px;
        font-weight: 500;
        transition: background 0.2s;
        font-family: 'Roboto', sans-serif;
        align-self: flex-start;
    }

        form button[type="submit"]:hover {
            background: #6d28d9;
        }

select option {
    background: #1a2332;
    color: #e2e8f0;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-back {
    background: transparent;
    color: #8b5cf6;
    border: 1px solid rgba(139, 92, 246, 0.3);
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    margin-bottom: 20px;
    transition: all 0.2s;
    font-family: 'Roboto', sans-serif;
}

    .btn-back:hover {
        background: rgba(139, 92, 246, 0.1);
        border-color: #8b5cf6;
    }

.btn-primary {
    background: #7c3aed;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s;
    font-family: 'Roboto', sans-serif;
}

    .btn-primary:hover {
        background: #6d28d9;
    }

    .btn-primary:disabled {
        background: #374151;
        color: #6b7280;
        cursor: not-allowed;
    }

.btn-connect {
    background: transparent;
    color: #60a5fa;
    border: 1px solid rgba(96, 165, 250, 0.3);
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    margin-bottom: 16px;
    transition: all 0.2s;
    font-family: 'Roboto', sans-serif;
}

    .btn-connect:hover {
        background: rgba(96, 165, 250, 0.1);
    }

/* ============================================================
   CLOCK
   ============================================================ */
#clock-section {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
}

    #clock-section.active-section {
        display: flex;
    }

.clock-wrapper {
    text-align: center;
}

    .clock-wrapper h1 {
        font-size: 18px;
        color: #94a3b8;
        margin-bottom: 32px;
        font-weight: 400;
        letter-spacing: 2px;
        text-transform: uppercase;
    }

.clock {
    width: 220px;
    height: 220px;
    background: #1a2332;
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 50%;
    position: relative;
    margin: 0 auto 32px;
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.1);
}

.center-circle {
    width: 10px;
    height: 10px;
    background: #8b5cf6;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.hand {
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform-origin: bottom center;
    border-radius: 4px;
}

.hour {
    width: 5px;
    height: 55px;
    background: #e2e8f0;
    margin-left: -2.5px;
}

.minute {
    width: 3px;
    height: 75px;
    background: #94a3b8;
    margin-left: -1.5px;
}

.second {
    width: 2px;
    height: 85px;
    background: #a78bfa;
    margin-left: -1px;
}

.clock-stats {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-top: 16px;
}

.clock-stat {
    text-align: center;
}

.clock-stat-value {
    font-size: 22px;
    font-weight: 600;
    color: #c4b5fd;
}

.clock-stat-label {
    font-size: 12px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================================
   AGENDA
   ============================================================ */
.agenda-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
}

.agenda-form-card {
    background: #1a2332;
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 12px;
    padding: 24px;
}

.agenda-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.agenda-today-card {
    background: #1a2332;
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 12px;
    padding: 20px;
}

    .agenda-today-card h3 {
        font-size: 14px;
        font-weight: 600;
        color: #94a3b8;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 16px;
    }

.consulta-item {
    padding: 12px;
    background: #0f1621;
    border-radius: 8px;
    border-left: 3px solid #8b5cf6;
    margin-bottom: 10px;
}

.date-picker-card {
    background: #1a2332;
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 12px;
    padding: 20px;
}

    .date-picker-card h3 {
        font-size: 14px;
        font-weight: 600;
        color: #94a3b8;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 12px;
    }

.selecao-dia {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

    .selecao-dia input[type="date"] {
        flex: 1;
        padding: 8px 12px;
        background: #0f1621;
        border: 1px solid rgba(139, 92, 246, 0.2);
        border-radius: 8px;
        color: #e2e8f0;
        font-size: 13px;
    }

    .selecao-dia button {
        background: #7c3aed;
        color: white;
        border: none;
        padding: 8px 16px;
        border-radius: 8px;
        cursor: pointer;
        font-size: 13px;
        font-family: 'Roboto', sans-serif;
        transition: background 0.2s;
    }

        .selecao-dia button:hover {
            background: #6d28d9;
        }

/* ============================================================
   TABLES
   ============================================================ */
.table-card {
    background: #1a2332;
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 12px;
    overflow: hidden;
    margin-top: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

    table th {
        background: #141d2b;
        padding: 12px 16px;
        text-align: left;
        font-size: 12px;
        font-weight: 600;
        color: #64748b;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    table td {
        padding: 12px 16px;
        border-top: 1px solid rgba(139, 92, 246, 0.08);
        font-size: 14px;
        color: #cbd5e1;
    }

    table tr:hover td {
        background: rgba(139, 92, 246, 0.05);
    }

/* ============================================================
   FORMULÁRIOS SECTION
   ============================================================ */
.formularios-container {
    max-width: 560px;
}

.form-group {
    margin-bottom: 16px;
}

    .form-group label {
        display: block;
        font-size: 13px;
        font-weight: 500;
        color: #94a3b8;
        margin-bottom: 8px;
    }

    .form-group select,
    .form-group input {
        width: 100%;
        padding: 10px 14px;
        background: #0f1621;
        border: 1px solid rgba(139, 92, 246, 0.2);
        border-radius: 8px;
        color: #e2e8f0;
        font-size: 14px;
        font-family: 'Roboto', sans-serif;
        transition: border-color 0.2s;
    }

        .form-group select:focus,
        .form-group input:focus {
            outline: none;
            border-color: #8b5cf6;
        }

#gerar-link-form {
    background: #7c3aed;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    margin-top: 8px;
    transition: background 0.2s;
    font-family: 'Roboto', sans-serif;
}

    #gerar-link-form:hover {
        background: #6d28d9;
    }

    #gerar-link-form:disabled {
        background: #374151;
        cursor: not-allowed;
    }

.link-gerado-box {
    background: #0f1621;
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 8px;
    padding: 16px;
    margin-top: 16px;
}

#url-link-gerado {
    width: 100%;
    padding: 8px 12px;
    background: #1a2332;
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 6px;
    color: #a78bfa;
    font-size: 13px;
    margin-bottom: 10px;
}

#copiar-link {
    background: #065f46;
    color: #6ee7b7;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-family: 'Roboto', sans-serif;
    transition: background 0.2s;
}

    #copiar-link:hover {
        background: #047857;
    }

/* ============================================================
   ERROR / FEEDBACK
   ============================================================ */
.error-message {
    color: #f87171;
    font-size: 13px;
    display: none;
    margin-top: 6px;
}

.success-message {
    color: #6ee7b7;
    font-size: 13px;
    margin-top: 6px;
}

/* ============================================================
   CADASTRO
   ============================================================ */
.cadastro-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

/* ============================================================
   EVOLUÇÃO
   ============================================================ */
.evolucao-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

.evolucao-historico {
    background: #1a2332;
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 12px;
    padding: 24px;
}

    .evolucao-historico h3 {
        font-size: 16px;
        font-weight: 600;
        color: #e2e8f0;
        margin-bottom: 16px;
    }

.evolucao-vazio,
.resultados-vazio {
    color: #64748b;
    font-size: 14px;
    font-style: italic;
    margin-top: 16px;
}

/* ============================================================
   RESULTADOS
   ============================================================ */
.resultados-filtro {
    margin-bottom: 20px;
}

    .resultados-filtro label {
        font-size: 13px;
        color: #94a3b8;
        margin-right: 12px;
    }

    .resultados-filtro select {
        padding: 8px 14px;
        background: #1a2332;
        border: 1px solid rgba(139, 92, 246, 0.2);
        border-radius: 8px;
        color: #e2e8f0;
        font-size: 14px;
        font-family: 'Roboto', sans-serif;
    }

/* ============================================================
   HAMBURGER
   ============================================================ */
.hamburger {
    display: none;
    background: #1a2332;
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #a78bfa;
    font-size: 18px;
    position: fixed;
    top: 16px;
    left: 16px;
    cursor: pointer;
    z-index: 200;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
}

/* ============================================================
   MODALS (antigos — mantidos para compatibilidade)
   ============================================================ */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

    .modal.hidden {
        display: none;
    }

.modal-content {
    background: #1a2332;
    border: 1px solid rgba(139, 92, 246, 0.2);
    padding: 24px;
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
}

    .modal-content h3 {
        color: #e2e8f0;
        margin-bottom: 16px;
    }

.modal-close {
    background: #991b1b;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .sidebar {
        transform: translateX(-100%);
    }

        .sidebar.open {
            transform: translateX(0);
        }

    .main-content {
        margin-left: 0;
        padding: 20px 16px;
    }

    .hamburger {
        display: flex;
    }

    .agenda-layout {
        grid-template-columns: 1fr;
    }

    .cadastro-layout {
        grid-template-columns: 1fr;
    }

    .evolucao-layout {
        grid-template-columns: 1fr;
    }

    .card-container {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
}
/* ============================================================
   DASHBOARD
   ============================================================ */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(139, 92, 246, 0.15);
}

.dashboard-titulo {
    font-size: 24px;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 6px;
}

.dashboard-data {
    font-size: 14px;
    color: #64748b;
}

.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.dash-card {
    background: #1a2332;
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: border-color 0.2s;
}

    .dash-card:hover {
        border-color: rgba(139, 92, 246, 0.35);
    }

.dash-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
}

.dash-card-label {
    font-size: 12px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.dash-card-value {
    font-size: 28px;
    font-weight: 700;
    color: #f1f5f9;
    line-height: 1;
}

.dashboard-section {
    background: #1a2332;
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 12px;
    padding: 24px;
}

.dashboard-section-title {
    font-size: 15px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .dashboard-section-title i {
        color: #8b5cf6;
    }

.dash-consulta-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    background: #0f1621;
    border-radius: 8px;
    margin-bottom: 10px;
    border-left: 3px solid #8b5cf6;
}

.dash-consulta-hora {
    font-size: 13px;
    font-weight: 600;
    color: #a78bfa;
    min-width: 80px;
}

.dash-consulta-nome {
    font-size: 14px;
    color: #e2e8f0;
    font-weight: 500;
}

.dash-consulta-status {
    margin-left: auto;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 20px;
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
}

.dash-vazio {
    color: #64748b;
    font-size: 14px;
    font-style: italic;
    text-align: center;
    padding: 20px 0;
}

@media (max-width: 900px) {
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .dashboard-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .clock-mini {
        display: none;
    }
}

/* ============================================================
   SIDEBAR SCROLLBAR OCULTA
   ============================================================ */
.sidebar {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

    .sidebar::-webkit-scrollbar {
        display: none;
    }

/* ============================================================
   DASHBOARD LATERAL DIREITA
   ============================================================ */
.main-content.com-dashboard-lateral {
    display: flex;
    gap: 0;
    padding: 0;
    align-items: stretch;
}

    .main-content.com-dashboard-lateral > section.active-section {
        flex: 1;
        padding: 32px;
        min-width: 0;
    }

.dashboard-lateral {
    display: none;
    width: 220px;
    min-width: 220px;
    background: #111927;
    border-left: 1px solid rgba(139, 92, 246, 0.15);
    padding: 20px 14px;
    flex-direction: column;
    gap: 12px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

    .dashboard-lateral::-webkit-scrollbar {
        display: none;
    }

.main-content.com-dashboard-lateral .dashboard-lateral {
    display: flex;
}

.dashboard-lateral-titulo {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #475569;
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.dash-mini-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #1a2332;
    border: 1px solid rgba(139, 92, 246, 0.12);
    border-radius: 10px;
    padding: 10px 12px;
}

.dash-mini-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.dash-mini-label {
    font-size: 9px;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.dash-mini-value {
    font-size: 18px;
    font-weight: 700;
    color: #f1f5f9;
    line-height: 1;
}

.dash-lateral-relogio {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 0 10px;
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.dash-lateral-saudacao {
    font-size: 11px;
    color: #64748b;
    text-align: center;
}

.dash-lateral-nome {
    font-size: 12px;
    font-weight: 600;
    color: #c4b5fd;
    text-align: center;
}

.dash-lateral-agenda-titulo {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #475569;
    font-weight: 600;
}

.dash-lateral-consulta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: #0f1621;
    border-radius: 8px;
    padding: 8px 10px;
    border-left: 2px solid #8b5cf6;
}

.dash-lateral-hora {
    font-size: 10px;
    font-weight: 600;
    color: #a78bfa;
}

.dash-lateral-paciente {
    font-size: 11px;
    color: #cbd5e1;
}

/* ============================================================
   MENU GRUPOS
   ============================================================ */
.menu-group-label {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #475569;
    font-weight: 600;
    padding: 12px 10px 4px;
    list-style: none;
}

@media (max-width: 1100px) {
    .dashboard-lateral {
        width: 190px;
        min-width: 190px;
    }
}

@media (max-width: 900px) {
    .dashboard-lateral {
        display: none !important;
    }

    .main-content.com-dashboard-lateral {
        display: block;
        padding: 20px 16px;
    }

        .main-content.com-dashboard-lateral > section.active-section {
            padding: 0;
        }
}

/* ============================================================
   FAIXA DE POLÍTICA DE PRIVACIDADE
   ============================================================ */
#faixa-politica {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #1a2332;
    border-top: 2px solid rgba(139,92,246,0.4);
    padding: 16px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.4);
}

    #faixa-politica .faixa-texto {
        flex: 1;
        min-width: 280px;
    }

    #faixa-politica .faixa-titulo {
        font-size: 14px;
        font-weight: 600;
        color: #f1f5f9;
        margin-bottom: 4px;
        display: flex;
        align-items: center;
        gap: 8px;
    }

        #faixa-politica .faixa-titulo i {
            color: #fbbf24;
        }

    #faixa-politica .faixa-subtitulo {
        font-size: 12px;
        color: #64748b;
    }

        #faixa-politica .faixa-subtitulo a {
            color: #a78bfa;
            text-decoration: underline;
            cursor: pointer;
        }

    #faixa-politica .faixa-aceite {
        display: flex;
        align-items: center;
        gap: 16px;
        flex-wrap: wrap;
    }

    #faixa-politica .faixa-checkbox-label {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 13px;
        color: #94a3b8;
        cursor: pointer;
        user-select: none;
    }

        #faixa-politica .faixa-checkbox-label input[type="checkbox"] {
            width: 18px;
            height: 18px;
            accent-color: #7c3aed;
            cursor: pointer;
            flex-shrink: 0;
        }

#btn-aceitar-politica {
    background: #7c3aed;
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
    opacity: 0.4;
    pointer-events: none;
    transition: all 0.2s;
    white-space: nowrap;
}

    #btn-aceitar-politica.ativo {
        opacity: 1;
        pointer-events: all;
    }

        #btn-aceitar-politica.ativo:hover {
            background: #6d28d9;
        }

/* Overlay de bloqueio quando política não foi aceita */
#overlay-bloqueio {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9998;
    background: transparent;
    cursor: not-allowed;
}

body.politica-pendente #overlay-bloqueio {
    display: block;
}

body.politica-pendente #faixa-politica {
    display: flex;
}

/* Modal da política */
#modal-politica {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    background: rgba(0,0,0,0.7);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

    #modal-politica.aberto {
        display: flex;
    }

    #modal-politica .modal-politica-content {
        background: #1a2332;
        border: 1px solid rgba(139,92,246,0.2);
        border-radius: 16px;
        padding: 32px;
        max-width: 680px;
        width: 100%;
        max-height: 80vh;
        overflow-y: auto;
        scrollbar-width: none;
    }

        #modal-politica .modal-politica-content::-webkit-scrollbar {
            display: none;
        }

    #modal-politica h2 {
        font-size: 18px;
        font-weight: 600;
        color: #f1f5f9;
        margin-bottom: 4px;
    }

    #modal-politica .modal-politica-subtitulo {
        font-size: 12px;
        color: #64748b;
        margin-bottom: 24px;
    }

    #modal-politica .politica-secao {
        margin-bottom: 20px;
    }

        #modal-politica .politica-secao h3 {
            font-size: 13px;
            font-weight: 600;
            color: #a78bfa;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 8px;
        }

        #modal-politica .politica-secao p {
            font-size: 13px;
            color: #94a3b8;
            line-height: 1.7;
        }

    #modal-politica .btn-fechar-politica {
        background: transparent;
        color: #64748b;
        border: 1px solid rgba(139,92,246,0.2);
        padding: 8px 20px;
        border-radius: 8px;
        cursor: pointer;
        font-size: 13px;
        font-family: 'Roboto', sans-serif;
        margin-top: 24px;
    }

        #modal-politica .btn-fechar-politica:hover {
            background: rgba(139,92,246,0.1);
            color: #a78bfa;
        }
/* ============================================================
   PATCH: Bug Report / Suporte Flutuante
   Adicione no final do PainelExclusivo.css
   ============================================================ */

/* --- BOTÃO FLUTUANTE --- */
#btn-bug-report {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.45);
    transition: all 0.2s ease;
    font-family: 'Roboto', sans-serif;
}

    #btn-bug-report:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 28px rgba(124, 58, 237, 0.55);
        background: linear-gradient(135deg, #6d28d9, #9333ea);
    }

    #btn-bug-report i {
        font-size: 15px;
    }

/* --- OVERLAY --- */
.modal-bug-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    animation: fadeInOverlay 0.2s ease;
}

@keyframes fadeInOverlay {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* --- CAIXA DO MODAL --- */
.modal-bug-box {
    background: #1a2332;
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 16px;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUpModal 0.25s ease;
    scrollbar-width: thin;
    scrollbar-color: rgba(139,92,246,0.3) transparent;
}

@keyframes slideUpModal {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* --- HEADER --- */
.modal-bug-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 24px 24px 16px;
    border-bottom: 1px solid rgba(139, 92, 246, 0.12);
}

.modal-bug-icon {
    width: 42px;
    height: 42px;
    background: rgba(124, 58, 237, 0.15);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a78bfa;
    font-size: 18px;
    flex-shrink: 0;
}

.modal-bug-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 3px;
}

.modal-bug-header p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

.modal-bug-fechar {
    margin-left: auto;
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    transition: color 0.2s;
    flex-shrink: 0;
}

    .modal-bug-fechar:hover {
        color: #e2e8f0;
    }

/* --- BODY --- */
.modal-bug-body {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bug-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

    .bug-field label {
        font-size: 13px;
        font-weight: 600;
        color: #94a3b8;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .bug-field input,
    .bug-field textarea {
        background: #0f1621;
        border: 1px solid rgba(139, 92, 246, 0.2);
        border-radius: 8px;
        color: #e2e8f0;
        font-size: 14px;
        font-family: 'Roboto', sans-serif;
        padding: 10px 14px;
        outline: none;
        transition: border-color 0.2s;
        resize: vertical;
    }

        .bug-field input:focus,
        .bug-field textarea:focus {
            border-color: #7c3aed;
            box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
        }

        .bug-field input::placeholder,
        .bug-field textarea::placeholder {
            color: #475569;
        }

/* --- TIPOS DE PROBLEMA --- */
.bug-tipos {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bug-tipo-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 13px;
    border-radius: 20px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    background: rgba(139, 92, 246, 0.05);
    color: #94a3b8;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Roboto', sans-serif;
}

    .bug-tipo-btn:hover {
        border-color: rgba(139, 92, 246, 0.4);
        color: #c4b5fd;
    }

    .bug-tipo-btn.active {
        background: rgba(124, 58, 237, 0.2);
        border-color: #7c3aed;
        color: #a78bfa;
        font-weight: 600;
    }

/* --- INFO TÉCNICA --- */
.bug-info-tecnica {
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

    .bug-info-tecnica summary {
        padding: 10px 14px;
        font-size: 12px;
        color: #64748b;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 6px;
        list-style: none;
        background: rgba(15, 22, 33, 0.4);
        user-select: none;
    }

        .bug-info-tecnica summary:hover {
            color: #94a3b8;
        }

.bug-info-preview {
    padding: 12px 14px;
    font-size: 11px;
    color: #475569;
    background: #0a0f1a;
    font-family: monospace;
    line-height: 1.8;
    white-space: pre-wrap;
    word-break: break-all;
}

/* --- FOOTER --- */
.modal-bug-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 16px 24px 24px;
    border-top: 1px solid rgba(139, 92, 246, 0.1);
}

.btn-cancelar-bug {
    background: transparent;
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: #94a3b8;
    border-radius: 8px;
    padding: 10px 18px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Roboto', sans-serif;
}

    .btn-cancelar-bug:hover {
        border-color: rgba(139, 92, 246, 0.4);
        color: #e2e8f0;
    }

.btn-enviar-bug {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    border: none;
    color: #fff;
    border-radius: 8px;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    font-family: 'Roboto', sans-serif;
}

    .btn-enviar-bug:hover {
        background: linear-gradient(135deg, #6d28d9, #9333ea);
        transform: translateY(-1px);
    }

    .btn-enviar-bug:disabled {
        opacity: 0.6;
        cursor: not-allowed;
        transform: none;
    }

/* --- SUCESSO --- */
.bug-sucesso {
    padding: 40px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.bug-sucesso-icon {
    width: 64px;
    height: 64px;
    background: rgba(5, 150, 105, 0.15);
    border: 2px solid #059669;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #10b981;
}

.bug-sucesso h4 {
    font-size: 18px;
    color: #e2e8f0;
}

.bug-sucesso p {
    font-size: 14px;
    color: #64748b;
    max-width: 320px;
}

.bug-sucesso button {
    margin-top: 8px;
    background: rgba(5, 150, 105, 0.15);
    border: 1px solid #059669;
    color: #10b981;
    border-radius: 8px;
    padding: 10px 24px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Roboto', sans-serif;
}

    .bug-sucesso button:hover {
        background: rgba(5, 150, 105, 0.25);
    }