:root {
    --color-primary: #FF1E1E;
    --color-primary-dark: #720000;
    --color-secondary: #0A0A0A;
    --color-surface: rgba(20, 20, 20, 0.85);
    --color-text-primary: #FFFFFF;
    --color-text-secondary: #BFBFBF;
    --color-accent: #2A2A2A;
    --color-success: #16FF73;
    --color-warning: #FF5733;
    --color-error: #D21414;
    --shadow-outer: 0 20px 60px rgba(0, 0, 0, 0.6); 
    --shadow-inner: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    --border-radius-lg: 16px;
    --border-color: rgba(255, 255, 255, 0.08);
    --transition-snappy: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    --sidebar-width: 18rem;
    --icon-default: #005eff;  /* Azul elegante */
    --icon-hover: #ffffff;     /* Branco */
    --icon-active: #D21414;  /* Ícone branco no ativo */

}


/* Fallback para navegadores sem suporte a :has() */
body.auth-body ~ * {
    overflow: visible;
}




/* Ícones do Menu Lateral */
.nav__icon {
    font-size: 1.25rem;
    width: 1.6rem;
    display: inline-flex;
    justify-content: center;
    margin-right: 0.85rem;
    opacity: 0.85;
    color: var(--icon-default);
    transition: all 0.35s ease;
}

/* Ícone quando passa o mouse */
.nav__item:hover .nav__icon {
    color: var(--icon-hover);
    opacity: 1;
    transform: translateX(3px);
}

/* Ícone quando o item está ativo */
.nav__item--active .nav__icon {
    color: var(--icon-active);
    opacity: 1;
    transform: none;
}

/* Botão de logout */

.sidebar-logout-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1rem;

    border-radius: 16px;
    font-weight: 600;
    letter-spacing: 0.04em;

    background: linear-gradient(135deg, rgba(255, 30, 30, 0.45), rgba(114, 0, 0, 0.32));
    border: 1px solid rgba(255, 255, 255, 0.12);

    box-shadow:
        inset 0 0 24px rgba(255, 30, 30, 0.32),
        0 10px 32px rgba(255, 30, 30, 0.12);

    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;

    transition: all 0.35s ease;
}

.sidebar-logout-btn i {
    font-size: 1.15rem;
    color: rgba(255, 230, 230, 0.85);
    transition: inherit;
}

/* Hover especial e único */
.sidebar-logout-btn:hover {
    transform: translateX(4px);
    box-shadow:
        inset 0 0 28px rgba(255, 60, 60, 0.40),
        0 14px 40px rgba(255, 30, 30, 0.20);

    /* reforça o gradiente vermelho */
    background: linear-gradient(135deg, rgba(255, 45, 45, 0.55), rgba(140, 0, 0, 0.38));
}

.sidebar-logout-btn:hover i {
    transform: translateX(4px);
    color: #fff;
    opacity: 1;
}


/* Fim do botão de logout */

/* Botão de Suporte */
.sidebar-support-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    /* width: 100%; */
    border-radius: 16px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: all 0.35s ease;

    background: linear-gradient(135deg, rgba(245, 158, 11, 0.45), rgba(217, 119, 6, 0.32));
    border: 1px solid rgba(245, 158, 11, 0.2);
    box-shadow:
        inset 0 0 24px rgba(245, 158, 11, 0.32),
        0 10px 32px rgba(245, 158, 11, 0.12);

    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
}

.sidebar-support-btn i {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.95);
    transition: inherit;
}

.sidebar-support-btn:hover {
    transform: translateX(4px);
    box-shadow:
        inset 0 0 28px rgba(245, 158, 11, 0.40),
        0 14px 40px rgba(245, 158, 11, 0.20);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.55), rgba(217, 119, 6, 0.38));
}

.sidebar-support-btn:hover i {
    transform: translateX(4px);
    color: #fff;
    opacity: 1;
}

/* Botão de Atualizar Agora */
.sidebar-update-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    width: 100%;
    border-radius: 16px;
    font-weight: 600;
    letter-spacing: 0.04em;
    border: none;
    cursor: pointer;
    transition: all 0.35s ease;

    background: linear-gradient(135deg, rgba(22, 255, 115, 0.45), rgba(0, 200, 83, 0.32));
    border: 1px solid rgba(22, 255, 115, 0.2);
    box-shadow:
        inset 0 0 24px rgba(22, 255, 115, 0.32),
        0 10px 32px rgba(22, 255, 115, 0.12);

    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
}

.sidebar-update-btn i {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.95);
    transition: inherit;
}

.sidebar-update-btn:hover:not(:disabled) {
    transform: translateX(4px);
    box-shadow:
        inset 0 0 28px rgba(22, 255, 115, 0.40),
        0 14px 40px rgba(22, 255, 115, 0.20);
    background: linear-gradient(135deg, rgba(22, 255, 115, 0.55), rgba(0, 220, 100, 0.38));
}

.sidebar-update-btn:hover:not(:disabled) i {
    transform: translateX(4px);
    color: #fff;
    opacity: 1;
}

.sidebar-update-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.sidebar-update-btn i.fa-spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Popup de Cooldown */
.sync-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999; /* Maior que o sidebar mobile (99999) */
    animation: fadeIn 0.3s ease;
    padding: 1rem;
}

.sync-popup-overlay[x-cloak] {
    display: none !important;
}

.sync-popup {
    position: relative;
    background: linear-gradient(160deg, rgba(20, 20, 20, 0.98), rgba(10, 10, 10, 0.95));
    backdrop-filter: blur(32px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 28px;
    padding: 3rem 2.5rem 2.5rem;
    max-width: 480px;
    width: 100%;
    box-shadow: 
        0 32px 80px rgba(0, 0, 0, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: slideUp 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    text-align: center;
}

.sync-popup-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.sync-popup-close:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: rotate(90deg);
}

.sync-popup-close i {
    font-size: 1.1rem;
}

.sync-popup-icon {
    width: 5rem;
    height: 5rem;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(22, 255, 115, 0.2), rgba(0, 200, 83, 0.15));
    border: 2px solid rgba(22, 255, 115, 0.3);
    box-shadow: 
        0 0 30px rgba(22, 255, 115, 0.2),
        inset 0 0 20px rgba(22, 255, 115, 0.1);
}

.sync-popup-icon i {
    font-size: 2.5rem;
    color: var(--color-success);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.sync-popup h3 {
    margin: 0 0 0.75rem 0;
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
}

.sync-popup p {
    margin: 0 0 2rem 0;
    color: var(--color-text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

.sync-countdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin: 2rem 0;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, rgba(22, 255, 115, 0.12), rgba(0, 200, 83, 0.08));
    border: 1px solid rgba(22, 255, 115, 0.25);
    border-radius: 20px;
    box-shadow: 
        0 0 40px rgba(22, 255, 115, 0.15),
        inset 0 0 20px rgba(22, 255, 115, 0.05);
}

.countdown-label {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.countdown-time {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-success);
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.15em;
    text-shadow: 0 0 20px rgba(22, 255, 115, 0.5);
    line-height: 1;
}

.sync-popup-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.sync-popup-btn {
    width: 100%;
    padding: 1rem 1.5rem;
    font-weight: 600;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.sync-popup-btn i {
    font-size: 1rem;
}

.sync-popup-btn-cancel {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-secondary);
}

.sync-popup-btn-cancel:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
    }
    to { 
        opacity: 1; 
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* View Switcher */

/* LIST VIEW v2 — Cards mais premium + sombra igual do Kanban */
.list-view {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    margin-top: 1.5rem;
}

.list-group-card {
    background: rgba(18, 18, 18, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 22px;
    padding: 1.5rem;
    box-shadow: 0 28px 60px rgba(0,0,0,0.45); /* mesma sombra style do Kanban */
    backdrop-filter: blur(18px);
    animation: fadeList 0.6s ease both;
}

.list-group-card h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.list-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 1rem 1.2rem;
    display: flex;
    justify-content: space-between;
    gap: 1.2rem;

    /* Sombra igual dos cards do Kanban */
    box-shadow:
        0 8px 18px rgba(0, 0, 0, 0.28),
        inset 0 1px 2px rgba(255, 255, 255, 0.04);

    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeListItem 0.5s ease both;
}

.list-card:hover {
    transform: translateY(-3px);
    box-shadow:
        0 16px 36px rgba(255, 30, 30, 0.18),
        inset 0 1px 4px rgba(255, 255, 255, 0.06);
}

/* progress pill estilo premium */
.list-progress-pill {
    padding: 0.35rem 0.75rem;
    border-radius: 12px;
    background: rgba(255,255,255,0.06);
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
}

/* Fade + blur da troca de layout */
@keyframes fadeList {
    from { opacity: 0; filter: blur(6px) brightness(.7); transform: translateY(20px); }
    to   { opacity: 1; filter: blur(0); transform: translateY(0); }
}

@keyframes fadeListItem {
    from { opacity: 0; filter: blur(6px); transform: translateY(12px); }
    to   { opacity: 1; filter: blur(0); transform: translateY(0); }
}

.list-pro-hours {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.4rem;
}

.list-pro-hours .badge--muted {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.25rem 0.6rem;
    border-radius: 10px;
    font-size: 0.78rem;
}

.priority-pill {
    font-weight: 700;
    margin-left: 6px;
}

.priority-low    { color:#7CB342; }   /* verde */
.priority-medium { color:#F9A825; }   /* amarelo */
.priority-high   { color:#EF5350; }   /* vermelho */


.list-pro-card {
    background: rgba(25, 25, 25, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 1.6rem 2rem; /* mais confortável */
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;

    box-shadow:
        0 10px 22px rgba(0,0,0,0.28),
        inset 0 1px 2px rgba(255,255,255,0.05);

    transition: .3s ease;
}

.list-pro-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 18px 40px rgba(42, 80, 255, 0.20),
        inset 0 1px 4px rgba(255,255,255,0.08);
}

.list-pro-main {
    flex: 1;
    min-width: 0;
    padding-bottom: 0;
}

.list-pro-title {
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
}

.list-pro-meta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

/* Status */
.status-pill {
    padding: 0.28rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    background: rgba(255,255,255,0.06);
    color: #fff;
}

.status-Em\ andamento {
    background: rgba(42, 80, 255, .25);
}

.status-Concluido {
    background: rgba(22, 255, 115, 0.25);
}

.status-Pendente {
    background: rgba(255, 87, 51, 0.3);
}

/* Prioridade */
.prio {
    font-size: .8rem;
    opacity: .9;
}
.prio.high { color: #ff4b4b; }
.prio.medium { color: #ffd047; }
.prio.low { color: #69d36e; }

/* Estrelas */
.difficulty-stars {
    color: #ffd047;      /* dourado premium */
    text-shadow: 0 0 6px rgba(255, 208, 67, 0.4);
    font-size: 0.95rem;
    letter-spacing: 2px;
}


/* Progresso */
.list-pro-progress-row {
    display: flex;
    align-items: center;
    gap: 8px; /* espaço entre barra e porcentagem */
    margin-top: 12px;
    margin-bottom: 12px;
}

.list-pro-progress {
    height: 6px;
    width: 160px; /* tamanho elegante igual Monday */
    background: rgba(255,255,255,0.06);
    border-radius: 6px;
    overflow: hidden;
}

.list-pro-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4DA3FF, #2C6BFF);
    border-radius: 6px;
}

.list-pro-progress-label {
    font-size: 0.78rem;
    color: #9bbdff;
    font-weight: 600;
    white-space: nowrap; /* nunca quebra a linha */
}


/* Ações */
.list-pro-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-shrink: 0;
    width: auto;
    min-width: 140px;
    align-items: stretch;
    justify-content: center;
    align-self: center;
}

/* Fim do PILLS */

/* Scrollbar personalziada */

/* Scrollbar vertical estilizada */

/* Largura e cor */
/* * {
    scrollbar-width: thin;
    scrollbar-color: #c30000 #1a1a1a; 
} */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #000;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ff1a1a, #7a0000);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #ff3333, #990000);
}

/* Fim do Scrollbar vertical estilizada */

/* --- MODAL AJUSTADO E RESPONSIVO --- */

.modal--accounts {
    width: min(95vw, 1200px);
    max-width: 95vw;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden !important;
    padding: 0;
    margin: 2vh auto;
}

@media (max-width: 768px) {
    .modal--accounts {
        width: 98vw !important;
        max-height: 95vh;
        margin: 1vh auto;
    }
}

@media (max-width: 480px) {
    .modal--accounts {
        width: 100vw !important;
        max-height: 100vh;
        margin: 0;
        border-radius: 0;
    }
}

/* Grid de contas – nunca deixa estourar para o lado */
.accounts-grid {
    padding-right: 1.3rem;
    display: grid;
    gap: 1.2rem;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    width: 100%;
}

/* Impede scroll horizontal */
.modal--accounts .modal__body {
    overflow-x: hidden !important;
    min-width: 0;
    width: 100%;
}

.modal--accounts .modal__header {
    padding: 1rem;
    min-width: 0;
    overflow: hidden;
}

.modal--accounts .modal__header h3,
.modal--accounts .modal__header p {
    min-width: 0;
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 480px) {
    .modal--accounts .modal__header {
        padding: 0.75rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .modal--accounts .finance-toolbar {
        padding: 0 0.75rem !important;
    }
    
    .modal--accounts .finance-tabs {
        width: 100%;
    }
    
    .modal--accounts .finance-tabs button {
        flex: 1;
        min-width: 0;
        font-size: 0.85rem;
        padding: 0.5rem 0.75rem;
    }
}

/* Ajuste fino dos cards */
.list-card {
    min-width: 0;
    flex-wrap: wrap;
    flex: 1;
}

/* --- RESPONSIVIDADE REAL --- */
@media (max-width: 768px) {
    .modal--accounts {
        width: 94vw !important;
        padding: 1.2rem !important;
    }

      /* Card vira vertical */
      .list-pro-card {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 1.3rem !important;
        gap: 1rem !important;
    }

    /* Conteúdo ocupa largura toda */
    .list-pro-main {
        width: 100% !important;
        padding-bottom: 0.6rem;
    }

    /* Botões vão para baixo */
    .list-pro-actions {
        width: 100% !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: flex-start !important;
        gap: 0.5rem !important;
    }

    .list-pro-actions .btn,
    .list-pro-actions a {
        flex: 1 1 calc(50% - 0.25rem) !important;
        min-width: 120px !important;
        max-width: 100% !important;
    }

    .accounts-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 420px) {
    .modal--accounts {
        width: 98vw !important;
        padding-right: 6px !important;

    }
}

.modal--accounts::-webkit-scrollbar {
    width: 10px;
}

.modal--accounts::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #FF1E1E, #720000);
    border-radius: 12px;
}

.modal--accounts::-webkit-scrollbar-track {
    background: #000;
}

.accounts-grid .list-card {
    display: flex;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    min-width: 0 !important;
}

/* Modal de Notas Fiscais - mesmo estilo do modal de contas */
.modal--invoices {
    width: min(820px, 92vw);
    max-height: 85vh;
    overflow-y: auto;
    overflow-x: hidden !important;
    padding-right: 14px; /* espaço pro scrollbar vermelho */
}

.modal--invoices .modal__body {
    overflow-x: hidden !important;
}

.modal--invoices::-webkit-scrollbar {
    width: 10px;
}

.modal--invoices::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #FF1E1E, #720000);
    border-radius: 12px;
}

.modal--invoices::-webkit-scrollbar-track {
    background: #000;
}

@media (max-width: 768px) {
    .modal--invoices {
        width: 94vw !important;
        padding: 1.2rem !important;
    }
}

@media (max-width: 420px) {
    .modal--invoices {
        width: 98vw !important;
        padding-right: 6px !important;
    }
}

/* Modal de Tickets */
.modal--tickets {
    width: min(700px, 92vw);
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal--tickets .modal__body {
    overflow-y: auto;
    flex: 1;
    padding: 1.5rem;
}

.tickets-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

@media (max-width: 1200px) {
    .tickets-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .tickets-list {
        grid-template-columns: 1fr;
    }
}

.ticket-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.ticket-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.ticket-item__content {
    flex: 1;
    min-width: 0;
}

.ticket-item__content h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

.ticket-item__meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.ticket-item__actions {
    flex-shrink: 0;
    margin-left: 1rem;
}

@media (max-width: 768px) {
    .modal--tickets {
        width: 94vw !important;
    }
    
    .ticket-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .ticket-item__actions {
        margin-left: 0;
        width: 100%;
    }
    
    .ticket-item__actions .btn {
        width: 100%;
    }
}


*,
*::before,
*::after {
    box-sizing: border-box;
}

body.theme-body {
    margin: 0;
    min-height: 100vh;
    font-family: "Inter", sans-serif;
    background: radial-gradient(circle at top left, rgba(255, 30, 30, 0.1), transparent 35%), var(--color-secondary);
    color: var(--color-text-primary);
    overflow-x: hidden;
    overflow-y: auto;
    overflow-x: hidden;
}
   

a {
    color: inherit;
    text-decoration: none;
}

.app-shell {
    display: grid;
    grid-template-columns: var(--sidebar-width) 1fr;
    min-height: 100vh;
    position: relative;
    overflow-x: visible;
}

.sidebar {
    padding: 2rem 1.5rem;
    position: sticky;
    top: 0;
    height: 100vh;
    background: linear-gradient(160deg, rgba(20, 20, 20, 0.95), rgba(10, 10, 10, 0.9));
    backdrop-filter: blur(24px);
    box-shadow: var(--shadow-outer);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    border-right: 1px solid var(--border-color);
    overflow-x: visible;
    overflow-y: visible;
}

/* Scroll apenas na área de navegação para telas desktop/tablet (largura > 1025px) */
@media (min-width: 1025px) and (max-height: 750px) {
    .sidebar:not(.sidebar--mobile) {
        overflow-y: visible;
        overflow-x: visible;
        max-height: 100vh;
    }
    
    /* Área de navegação com scroll - todos os itens fazem scroll, incluindo Visão Geral */
    .sidebar:not(.sidebar--mobile) .sidebar__nav {
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        padding-right: 1rem;
        margin-right: -0.5rem;
    }
    
    /* Quando colapsada (só ícones), tem scroll mas sem padding/margin fixos - só quando necessário */
    .sidebar:not(.sidebar--mobile).sidebar--collapsed .sidebar__nav {
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        padding-right: 0;
        margin-right: 0;
    }
    
    /* Visão Geral também faz parte do scroll, mas mantém tamanho normal (não encolhe) */
    .sidebar:not(.sidebar--mobile) .sidebar__nav .nav__item--overview {
        flex-shrink: 0;
        margin-bottom: 1.5rem;
    }
    
    /* Scrollbar customizada para a área de navegação */
    .sidebar:not(.sidebar--mobile) .sidebar__nav::-webkit-scrollbar {
        width: 8px;
    }

    .sidebar:not(.sidebar--mobile) .sidebar__nav::-webkit-scrollbar-track {
        background: rgba(20, 20, 20, 0.3);
        border-radius: 10px;
        margin: 0.5rem 0.5rem 0.5rem 0;
    }

    .sidebar:not(.sidebar--mobile) .sidebar__nav::-webkit-scrollbar-thumb {
        background: linear-gradient(180deg, rgba(139, 92, 246, 0.6), rgba(99, 102, 241, 0.5), rgba(139, 92, 246, 0.6));
        border-radius: 10px;
        border: 1px solid rgba(20, 20, 25, 0.3);
        box-shadow: inset 0 0 4px rgba(139, 92, 246, 0.3);
        margin-right: 0.25rem;
    }

    .sidebar:not(.sidebar--mobile) .sidebar__nav::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(180deg, rgba(139, 92, 246, 0.8), rgba(99, 102, 241, 0.7), rgba(139, 92, 246, 0.8));
    }
    
    /* Quando colapsada, esconder a scrollbar mas manter scroll funcional */
    .sidebar:not(.sidebar--mobile).sidebar--collapsed .sidebar__nav::-webkit-scrollbar {
        width: 0;
        display: none;
    }

    .sidebar:not(.sidebar--mobile).sidebar--collapsed .sidebar__nav::-webkit-scrollbar-track {
        display: none;
    }

    .sidebar:not(.sidebar--mobile).sidebar--collapsed .sidebar__nav::-webkit-scrollbar-thumb {
        display: none;
    }

    /* Para Firefox - esconder scrollbar quando colapsada */
    .sidebar:not(.sidebar--mobile).sidebar--collapsed .sidebar__nav {
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE e Edge */
    }
    
    /* Garantir que o sidebar não corte o botão toggle em desktop */
    .sidebar:not(.sidebar--mobile) {
        overflow-x: visible !important;
    }
    
    /* Garantir que o botão toggle apareça completamente - não cortado */
    .sidebar:not(.sidebar--mobile) .sidebar-toggle {
        overflow: visible;
        clip-path: none;
    }
}

/* Telas abaixo de 1025px - sem scroll nos itens */
@media (max-width: 1024px) {
    .sidebar__nav {
        overflow: visible !important;
    }
    
    /* Brand e footer fixos */
    .sidebar:not(.sidebar--mobile) .sidebar__brand {
        flex-shrink: 0;
    }
    
    .sidebar:not(.sidebar--mobile) .sidebar__footer {
        flex-shrink: 0;
    }
    
    /* Garantir que o sidebar não corte o botão toggle em telas menores */
    .sidebar:not(.sidebar--mobile) {
        overflow-x: visible !important;
    }
}

.sidebar__brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.brand__logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: rotate(1.3deg);
    width: 3.5rem;
    height: 3.5rem;
    background: transparent;
    font-weight: 700;
    /* letter-spacing: 0.24em; */
    text-transform: uppercase;
}

.brand__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand__name {
    font-size: 1.1rem;
    font-weight: 600;
}

.brand__subtitle {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
}

.sidebar__nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.nav__item {
    padding: 0.85rem 1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
    position: relative;
    letter-spacing: 0.02em;
    transition: var(--transition-snappy);
}

.nav__item::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.06);
    opacity: 0;
    transition: var(--transition-snappy);
}

.nav__item:hover {
    border-color: rgba(255, 255, 255, 0.12);
    background: linear-gradient(135deg, rgba(255, 30, 30, 0.18), rgba(114, 0, 0, 0.1));
    transform: translateX(4px);
}

.nav__item:hover::after {
    opacity: 1;
    box-shadow: inset 0 0 18px rgba(255, 30, 30, 0.24);
}

/* .nav__item--active {
    background: linear-gradient(135deg, rgba(255, 30, 30, 0.45), rgba(114, 0, 0, 0.32));
    box-shadow: inset 0 0 24px rgba(255, 30, 30, 0.32), 0 10px 32px rgba(255, 30, 30, 0.12);
    border-color: rgba(255, 255, 255, 0.12);
} */
.nav__item--active {
    background: linear-gradient(
        135deg,
        rgba(42, 80, 255, 0.55),   /* Azul claro vibrante */
        rgba(2, 9, 151, 0.45)      /* Azul escuro final */
    );
    box-shadow:
        inset 0 0 24px rgba(42, 80, 255, 0.38),
        0 10px 32px rgba(2, 9, 151, 0.22);
    border-color: rgba(255, 255, 255, 0.12);
}

/* Botão Visão Geral - Design Exclusivo e Premium */
.nav__item--overview {
    padding: 0.85rem 1rem;
    margin-bottom: 1.5rem;
    background: 
        linear-gradient(135deg, rgba(99, 102, 241, 0.18), rgba(139, 92, 246, 0.12)),
        linear-gradient(45deg, rgba(168, 85, 247, 0.06), transparent);
    border: 1.5px solid rgba(139, 92, 246, 0.4);
    border-radius: 16px;
    box-shadow:
        0 6px 28px rgba(99, 102, 241, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 0 25px rgba(139, 92, 246, 0.08);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    gap: 0.85rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Efeito de brilho rotativo sutil no fundo */
.nav__item--overview::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        rgba(139, 92, 246, 0.08) 60deg,
        transparent 120deg,
        rgba(99, 102, 241, 0.08) 180deg,
        transparent 240deg,
        rgba(168, 85, 247, 0.08) 300deg,
        transparent 360deg
    );
    animation: overviewRotate 12s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes overviewRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Partículas decorativas sutis */
.nav__item--overview::after {
    content: '';
    position: absolute;
    top: 30%;
    right: 15%;
    width: 3px;
    height: 3px;
    background: rgba(139, 92, 246, 0.4);
    border-radius: 50%;
    box-shadow:
        50px 20px 0 rgba(99, 102, 241, 0.3),
        -40px 30px 0 rgba(168, 85, 247, 0.25);
    animation: particlesFloat 7s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes particlesFloat {
    0%, 100% {
        opacity: 0.2;
        transform: translate(0, 0) scale(0.8);
    }
    50% {
        opacity: 0.6;
        transform: translate(5px, -8px) scale(1.1);
    }
}

/* Ícone exclusivo com estilo premium */
.nav__item--overview .nav__icon {
    font-size: 1.4rem;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(99, 102, 241, 0.2));
    border-radius: 10px;
    border: 1.5px solid rgba(139, 92, 246, 0.45);
    color: #c4b5fd;
    text-shadow: 0 0 12px rgba(139, 92, 246, 0.6);
    box-shadow:
        0 4px 12px rgba(99, 102, 241, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 0 20px rgba(139, 92, 246, 0.1);
    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0;
}

/* Badge decorativo pequeno no ícone */
.nav__item--overview .nav__icon::after {
    content: '';
    position: absolute;
    top: -3px;
    right: -3px;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #10b981, #34d399);
    border-radius: 50%;
    border: 1.5px solid rgba(20, 20, 20, 0.9);
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
    animation: badgePulse 2.5s ease-in-out infinite;
    z-index: 3;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.9;
    }
}

/* Texto com estilo premium */
.nav__item--overview span {
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.03em;
    background: linear-gradient(135deg, #e9d5ff, #c4b5fd, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

/* Hover com transformações premium */
.nav__item--overview:hover {
    background: 
        linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(139, 92, 246, 0.2)),
        linear-gradient(45deg, rgba(168, 85, 247, 0.1), transparent);
    border-color: rgba(139, 92, 246, 0.6);
    box-shadow:
        0 10px 40px rgba(99, 102, 241, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 0 35px rgba(139, 92, 246, 0.15);
    transform: translateX(6px) translateY(-1px);
}

.nav__item--overview:hover .nav__icon {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.45), rgba(99, 102, 241, 0.35));
    border-color: rgba(139, 92, 246, 0.7);
    color: #ddd6fe;
    text-shadow: 0 0 18px rgba(139, 92, 246, 0.9);
    box-shadow:
        0 6px 20px rgba(99, 102, 241, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        inset 0 0 30px rgba(139, 92, 246, 0.2);
    transform: scale(1.08) rotate(-3deg);
}

.nav__item--overview:hover span {
    background: linear-gradient(135deg, #f3e8ff, #e9d5ff, #ddd6fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Estado ativo - ainda mais premium */
.nav__item--overview.nav__item--active {
    background: 
        linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(139, 92, 246, 0.25)),
        linear-gradient(45deg, rgba(168, 85, 247, 0.12), transparent);
    border-color: rgba(139, 92, 246, 0.75);
    box-shadow:
        0 10px 45px rgba(99, 102, 241, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 0 45px rgba(139, 92, 246, 0.2);
    /* box-shadow: 0 10px 45px rgba(99, 102, 241, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 0 45px rgba(139, 92, 246, 0.2), 0 0 50px rgba(139, 92, 246, 0.35); */
}

.nav__item--overview.nav__item--active .nav__icon {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.5), rgba(99, 102, 241, 0.4));
    border-color: rgba(139, 92, 246, 0.85);
    color: #f3e8ff;
    text-shadow: 0 0 25px rgba(139, 92, 246, 1);
    box-shadow:
        0 8px 28px rgba(99, 102, 241, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 0 35px rgba(139, 92, 246, 0.25);
    animation: iconPulseActive 2.5s ease-in-out infinite;
}

@keyframes iconPulseActive {
    0%, 100% {
        transform: scale(1);
        box-shadow:
            0 8px 28px rgba(99, 102, 241, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.3),
            inset 0 0 35px rgba(139, 92, 246, 0.25);
    }
    50% {
        transform: scale(1.12);
        box-shadow:
            0 12px 38px rgba(99, 102, 241, 0.7),
            inset 0 1px 0 rgba(255, 255, 255, 0.35),
            inset 0 0 45px rgba(139, 92, 246, 0.35);
    }
}

.nav__item--overview.nav__item--active span {
    background: linear-gradient(135deg, #faf5ff, #f3e8ff, #e9d5ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}


.sidebar__footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sidebar__footer-text {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-secondary);
    text-align: center;
}

.sync-indicator {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    background: rgba(42, 42, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: var(--shadow-inner);
}

.sync-indicator__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-success);
    box-shadow: 0 0 12px var(--color-success);
    animation: pulse 3s infinite;
}

.main-area {
    position: relative;
    padding: 2.5rem 3rem;
    padding-right: 2.5rem; /* afasta tudo da barra */
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.main-header__titles {
    position: relative;
}

.page-title {
    font-size: 2.2rem;
    font-weight: 600;
    margin: 0;
}

.page-subtitle {
    margin-top: 0.35rem;
    color: rgba(255, 255, 255, 0.6);
}

.main-header__actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    position: relative;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.7rem 1.2rem;
    border-radius: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: var(--transition-snappy);
    border: 1px solid transparent;
    cursor: pointer;
}

.btn--primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 28px rgba(255, 30, 30, 0.35);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 48px rgba(255, 30, 30, 0.45);
}

.btn--ghost {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.08);
}


.btn--micro {
    padding: 0.45rem 0.9rem;
    min-width: 110px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;

    background: rgba(42, 80, 255, 0.60); /* <--- AGORA É AZUL DE VERDADE */
    color: rgba(255, 255, 255, 0.95);

    border: 1px solid rgba(42, 80, 255, 0.75);

    box-shadow:
        0 6px 16px rgba(42, 80, 255, 0.35),
        inset 0 1px 3px rgba(255, 255, 255, 0.06);

    backdrop-filter: blur(6px);
    transition: .25s ease;
}

.btn--micro:hover {
    background: rgba(42, 80, 255, 0.82);
    border-color: rgba(42, 80, 255, 1);
    transform: translateY(-3px);
    box-shadow:
        0 12px 32px rgba(42, 80, 255, 0.45),
        inset 0 1px 4px rgba(255, 255, 255, 0.15);
}


.btn--outline {
    background: rgba(123, 13, 13, 0.785); /* fundo vermelho suave */
    border: 1px solid rgba(255, 0, 0, 0.55); /* borda intensa */
    color: rgba(255, 255, 255, 0.95); /* texto em vermelho claro */
    border-radius: 12px;
    min-width: 110px;
    text-align: center;
    transition: 0.25s ease;
}

/* Hover */
.btn--outline:hover {
    background: rgb(255 60 60 / 3%); /* fundo vermelho mais forte */
    border-color: rgba(255, 60, 60, 1);  /* borda viva */
    color: #fff;                         /* texto branco no hover */
    box-shadow: 0 0 18px rgba(255, 60, 60, 0.38); /* glow vermelho */
    transform: translateY(-1px);
}

.btn--success {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: rgba(187, 247, 208, 0.9);
}

.btn--success:hover {
    background: rgba(34, 197, 94, 0.3);
    border-color: rgba(34, 197, 94, 0.6);
    color: rgba(255, 255, 255, 1);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}




.btn--compact {
    padding: 0.55rem 1rem;
    border-radius: 14px;
}

.btn--full {
    width: 100%;
}


.btn.is-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.user-chip {
    padding: 0.6rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.9rem;
    letter-spacing: 0.04em;
}

/* Botão circular de perfil do usuário */
.user-profile-btn {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.15);
    background: linear-gradient(135deg, rgba(255, 30, 30, 0.25), rgba(114, 0, 0, 0.15));
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.user-profile-btn i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.user-profile-btn:hover {
    transform: scale(1.05);
    border-color: rgba(255, 30, 30, 0.4);
    background: linear-gradient(135deg, rgba(255, 30, 30, 0.35), rgba(114, 0, 0, 0.2));
    box-shadow: 
        0 6px 20px rgba(255, 30, 30, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.user-profile-btn:hover i {
    transform: scale(1.1);
}

.user-profile-btn:active {
    transform: scale(0.98);
}

/* Popup de perfil do usuário */
.user-profile-popup {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 0;
    width: 320px;
    max-width: calc(100vw - 2rem);
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.98), rgba(30, 30, 30, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset,
        0 1px 0 rgba(255, 255, 255, 0.1) inset;
    backdrop-filter: blur(20px);
    z-index: 1000;
    animation: popupSlideIn 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    overflow: hidden;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.user-profile-popup__header {
    padding: 1.5rem 1.5rem 1.25rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(135deg, rgba(255, 30, 30, 0.1), rgba(114, 0, 0, 0.05));
}

.user-profile-popup__avatar {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    margin: 0 auto 0.75rem;
    background: linear-gradient(135deg, rgba(255, 30, 30, 0.3), rgba(114, 0, 0, 0.2));
    border: 2px solid rgba(255, 30, 30, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.75rem;
    box-shadow: 
        0 4px 12px rgba(255, 30, 30, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.user-profile-popup__name {
    font-size: 1.15rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    letter-spacing: 0.02em;
}

.user-profile-popup__content {
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.user-profile-popup__info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
}

.user-profile-popup__info-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 10px;
    background: rgba(255, 30, 30, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 30, 30, 0.9);
    font-size: 0.95rem;
    flex-shrink: 0;
}

.user-profile-popup__info-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.user-profile-popup__info-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.user-profile-popup__info-value {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.status-badge--active {
    background: rgba(22, 255, 115, 0.2);
    color: rgba(22, 255, 115, 0.95);
    border: 1px solid rgba(22, 255, 115, 0.3);
}

.status-badge--inactive {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.status-badge--staff {
    background: rgba(245, 158, 11, 0.2);
    color: rgba(245, 158, 11, 0.95);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-badge--superuser {
    background: rgba(138, 43, 226, 0.2);
    color: rgba(138, 43, 226, 0.95);
    border: 1px solid rgba(138, 43, 226, 0.3);
}

.user-profile-popup__companies-wrapper {
    margin-top: 0.5rem;
}

.user-profile-popup__section-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 1rem 0;
}

.user-profile-popup__section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.user-profile-popup__section-title--fixed {
    margin-bottom: 0.75rem;
    position: sticky;
    top: 0;
    backdrop-filter: blur(10px);
    z-index: 10;
    padding: 0.5rem 0;
}

.user-profile-popup__section-title i {
    font-size: 0.85rem;
    color: rgba(255, 30, 30, 0.7);
}

.user-profile-popup__companies-section {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 0.5rem;
}

/* Custom scrollbar para seção de empresas */
.user-profile-popup__companies-section::-webkit-scrollbar {
    width: 6px;
}

.user-profile-popup__companies-section::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.user-profile-popup__companies-section::-webkit-scrollbar-thumb {
    background: rgba(255, 30, 30, 0.3);
    border-radius: 10px;
}

.user-profile-popup__companies-section::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 30, 30, 0.5);
}

.user-profile-popup__company-item {
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    margin-bottom: 0.5rem;
    transition: all 0.2s ease;
}

.user-profile-popup__company-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 30, 30, 0.2);
}

.user-profile-popup__company-item:last-child {
    margin-bottom: 0;
}

.user-profile-popup__company-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0.5rem;
}

.user-profile-popup__company-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.user-profile-popup__company-cnpj {
    font-size: 0.95rem;
    color: rgba(255, 30, 30, 0.9);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.user-profile-popup__company-id {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.35);
    font-family: 'Courier New', monospace;
    font-weight: 400;
    letter-spacing: 0.02em;
    word-break: break-all;
}

.user-profile-popup__footer {
    padding: 1rem 1.5rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: center;
}

.user-profile-popup__footer .btn,
.user-profile-popup__footer .sidebar-logout-btn {
    width: 100%;
    justify-content: center;
}

.btn--small {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}


/* Responsividade */
@media (max-width: 768px) {
    .user-profile-popup {
        width: calc(100vw - 2rem);
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .user-profile-popup__header {
        padding: 1.25rem 1.25rem 1rem;
    }
    
    .user-profile-popup__content {
        padding: 1rem 1.25rem;
    }
    
    .user-profile-popup__footer {
        padding: 0.875rem 1.25rem 1rem;
    }
}

/* Botão Novo Orçamento */
.new-quote-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
    
    /* Gradiente vibrante e chamativo */
    background: linear-gradient(135deg, #FF1E1E 0%, #FF6B35 50%, #FF1E1E 100%);
    background-size: 200% 200%;
    color: #FFFFFF;
    box-shadow: 
        0 8px 24px rgba(255, 30, 30, 0.4),
        0 4px 12px rgba(255, 107, 53, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
}

.new-quote-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.new-quote-btn:hover::before {
    left: 100%;
}

.new-quote-btn i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.new-quote-btn:hover {
    transform: translateY(-2px) scale(1.02);
    background-position: right center;
    box-shadow: 
        0 12px 32px rgba(255, 30, 30, 0.5),
        0 6px 16px rgba(255, 107, 53, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.new-quote-btn:hover i {
    transform: scale(1.15) rotate(5deg);
}

.new-quote-btn:active {
    transform: translateY(0) scale(0.98);
}

.new-quote-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Overlay do popup de orçamento */
.new-quote-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1rem;
    animation: overlayFadeIn 0.2s ease;
}

@keyframes overlayFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Popup de orçamento */
.new-quote-popup {
    position: relative;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.98), rgba(25, 25, 25, 0.95));
    border: 2px solid rgba(255, 30, 30, 0.4);
    border-radius: 24px;
    box-shadow: 
        0 24px 72px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset,
        0 1px 0 rgba(255, 255, 255, 0.1) inset,
        0 0 50px rgba(255, 30, 30, 0.25);
    backdrop-filter: blur(20px);
    animation: popupSlideUp 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    overflow: hidden;
}

/* Container interno com scroll para não grudar nas bordas */
.new-quote-popup__scroll-container {
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
    padding: 0 0.5rem 0 0;
    margin-right: 0.5rem;
    /* Estiliza a scrollbar */
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 30, 30, 0.5) rgba(255, 255, 255, 0.05);
}

.new-quote-popup__scroll-container::-webkit-scrollbar {
    width: 8px;
}

.new-quote-popup__scroll-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    margin: 1rem 0;
}

.new-quote-popup__scroll-container::-webkit-scrollbar-thumb {
    background: rgba(255, 30, 30, 0.5);
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.new-quote-popup__scroll-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 30, 30, 0.7);
    background-clip: padding-box;
}

@keyframes popupSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.new-quote-popup__close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 2.5rem;
    height: 2.5rem;
    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.7);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.new-quote-popup__close:hover {
    background: rgba(255, 30, 30, 0.2);
    border-color: rgba(255, 30, 30, 0.4);
    color: #FFFFFF;
    transform: rotate(90deg);
}


.new-quote-popup__icon {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, rgba(255, 30, 30, 0.3), rgba(255, 107, 53, 0.2));
    border: 2px solid rgba(255, 30, 30, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF1E1E;
    font-size: 2rem;
    box-shadow: 
        0 8px 24px rgba(255, 30, 30, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.new-quote-popup__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 0.5rem;
    letter-spacing: 0.02em;
}

.new-quote-popup__subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.new-quote-popup__form {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Header fixo */
.new-quote-popup__header {
    flex-shrink: 0;
    padding: 2rem 2rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, rgba(255, 30, 30, 0.15), rgba(255, 107, 53, 0.08));
}

/* Footer fixo */
.new-quote-popup__footer {
    flex-shrink: 0;
    padding: 1.5rem 2rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.2));
}

/* Form dentro do scroll container */
.new-quote-popup__scroll-container .new-quote-popup__form {
    padding: 2rem 2rem 2rem 2rem;
}

/* Remove footer antigo que estava dentro do form */
.new-quote-popup__form .new-quote-popup__footer {
    display: none;
}

.new-quote-popup__field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.new-quote-popup__label {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.new-quote-popup__checkbox {
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 2px solid rgba(139, 92, 246, 0.4);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.new-quote-popup__checkbox:hover {
    border-color: rgba(139, 92, 246, 0.6);
    background: rgba(139, 92, 246, 0.1);
}

.new-quote-popup__checkbox:checked {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.9), rgba(124, 58, 237, 0.9));
    border-color: rgba(139, 92, 246, 1);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2), 0 2px 8px rgba(139, 92, 246, 0.3);
}

.new-quote-popup__checkbox:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    border-radius: 1px;
}

.new-quote-popup__label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    user-select: none;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.new-quote-popup__label:hover {
    background: rgba(139, 92, 246, 0.05);
}

.new-quote-popup__label span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.4;
}

.new-quote-popup__input,
.new-quote-popup__textarea,
.new-quote-popup__select {
    width: 100%;
    padding: 0.875rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    transition: all 0.2s ease;
    font-family: inherit;
}

/* Selects com mais espaço para setinhas */
.new-quote-popup__select {
    padding-right: 2.5rem;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
    cursor: pointer;
}

.new-quote-popup__input:focus,
.new-quote-popup__textarea:focus,
.new-quote-popup__select:focus {
    outline: none;
    border-color: rgba(255, 30, 30, 0.5);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(255, 30, 30, 0.1);
}

/* Campo válido - sombra verde */
.new-quote-popup__input.field-valid,
.new-quote-popup__textarea.field-valid,
.new-quote-popup__select.field-valid {
    box-shadow: 0 0 0 2px rgba(22, 255, 115, 0.3), 0 4px 12px rgba(22, 255, 115, 0.15);
    border-color: rgba(22, 255, 115, 0.4);
}

.new-quote-popup__input:disabled,
.new-quote-popup__textarea:disabled,
.new-quote-popup__select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.new-quote-popup__textarea {
    resize: vertical;
    min-height: 100px;
}

.new-quote-popup__select option {
    background: #1a1a1a;
    color: #ffffff;
}

/* Campo de arquivo */
.new-quote-popup__file-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.9rem;
    transition: all 0.2s ease;
    font-family: inherit;
    cursor: pointer;
}

.new-quote-popup__file-input:hover {
    border-color: rgba(255, 30, 30, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.new-quote-popup__file-input:focus {
    outline: none;
    border-color: rgba(255, 30, 30, 0.5);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(255, 30, 30, 0.1);
}

.new-quote-popup__file-hint {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

.new-quote-popup__file-selected {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    background: rgba(22, 255, 115, 0.15);
    border: 1px solid rgba(22, 255, 115, 0.4);
}

.new-quote-popup__file-selected i.fa-file {
    color: rgba(22, 255, 115, 0.9);
    font-size: 1.1rem;
}

.new-quote-popup__file-selected span {
    flex: 1;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
}

.new-quote-popup__file-remove {
    background: rgba(22, 255, 115, 0.2);
    border: 1px solid rgba(22, 255, 115, 0.3);
    color: rgba(255, 255, 255, 0.9);
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.new-quote-popup__file-remove:hover {
    background: rgba(22, 255, 115, 0.4);
    transform: scale(1.1);
}

.new-quote-popup__error {
    padding: 0.875rem 1rem;
    border-radius: 12px;
    background: rgba(210, 20, 20, 0.2);
    border: 1px solid rgba(210, 20, 20, 0.4);
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.9rem;
    font-weight: 500;
}

.new-quote-popup__footer {
    padding: 1.5rem 2rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.new-quote-popup__footer .btn {
    min-width: 120px;
}

/* Responsividade do popup */
@media (max-width: 640px) {
    .new-quote-popup {
        max-width: 100%;
        border-radius: 20px 20px 0 0;
        max-height: 95vh;
    }
    
    .new-quote-popup__header {
        padding: 1.5rem 1.5rem 1.25rem;
    }
    
    .new-quote-popup__form {
        padding: 1.5rem;
    }
    
    .new-quote-popup__footer {
        padding: 1.25rem 1.5rem 1.5rem;
        flex-direction: column;
    }
    
    .new-quote-popup__footer .btn {
        width: 100%;
    }
    
    .new-quote-btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.85rem;
    }
    
    .new-quote-btn span {
        display: none;
    }
}

.messages {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    padding: 1rem 1.2rem;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-inner);
}

.message--success {
    border-color: rgba(22, 255, 115, 0.25);
    box-shadow: 0 12px 32px rgba(22, 255, 115, 0.18);
}

.message--error {
    border-color: rgba(210, 20, 20, 0.35);
    box-shadow: 0 12px 32px rgba(210, 20, 20, 0.22);
}

.message--warning {
    border-color: rgba(255, 87, 51, 0.35);
}

.main-content {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.card {
    background: var(--color-surface);
    border-radius: var(--border-radius-lg);
    padding: 2rem 2.4rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-outer), var(--shadow-inner);
    backdrop-filter: blur(18px);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -40%;
    width: 140%;
    height: 120%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.05), transparent 60%);
    transform: rotate(12deg);
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
}

.card:hover::before {
    opacity: 1;
}

.card--shimmer::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0) 70%);
    animation: shimmer 2.2s infinite;
}

.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.92);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-beam {
    position: absolute;
    width: 140%;
    height: 2px;
    top: 50%;
    background: linear-gradient(90deg, transparent, rgba(255, 30, 30, 0.8), transparent);
    animation: beam 2s infinite;
}

.loading-logo {
    position: relative;
    display: block;
    margin: 0 auto;
}

@keyframes beam {
    0% {
        transform: translateX(-40%) rotate(12deg);
    }
    50% {
        transform: translateX(40%) rotate(12deg);
    }
    100% {
        transform: translateX(-40%) rotate(12deg);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 12px rgba(22, 255, 115, 0.32);
    }
    50% {
        box-shadow: 0 0 20px rgba(22, 255, 115, 0.52);
    }
}

/* ============================================
   DESIGN RESPONSIVO COMPLETO
   Considera altura E largura da tela
   Scroll sempre na página (direita), nunca no card
   Elementos reorganizam-se (coluna/linha) conforme espaço
   ============================================ */

.auth-body {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    max-height: 100vh;
    width: 100vw;
    padding: 2rem;
    box-sizing: border-box;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 30, 30, 0.15), transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.12), transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.08), transparent 60%),
        linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
    background-attachment: fixed;
    position: relative;
    overflow-x: hidden;
    overflow-y: hidden; /* Página fixa - scroll nos cards */
}

/* Landing page - sem scroll desnecessário em desktop quando conteúdo cabe */
@media (min-width: 1025px) and (max-height: 750px) {
    .auth-body:has(.landing-hero-card) {
        overflow-y: hidden;
        height: 100vh;
        max-height: 100vh;
        padding: 2rem;
    }

    .nav__item--overview.nav__item--active {
        box-shadow: none !important;
    }
    
    .nav__item--overview {
        box-shadow: none !important;
    }

    .auth-layout:has(.landing-hero-card) {
        min-height: auto;
        height: auto;
        max-height: calc(100vh - 4rem);
    }
}

/* Página fixa - scroll nos cards */
html.auth-body-page,
body.auth-body {
    overflow-y: hidden;
    overflow-x: hidden;
    height: 100vh;
    max-height: 100vh;
    position: fixed;
    width: 100vw;
}

/* Landing page - permite scroll na página */
body.auth-body:has(.landing-hero-card) {
    overflow-y: auto !important;
    height: auto !important;
    min-height: 100vh !important;
    max-height: none !important;
    position: relative !important;
}

/* Página fixa - scroll nos cards (exceto landing page) */
body.auth-body {
    overflow-y: hidden !important;
    overflow-x: hidden !important;
    height: 100vh !important;
    max-height: 100vh !important;
    position: fixed;
    width: 100vw;
}

/* Landing page - permite scroll na página */
body.auth-body:has(.landing-hero-card) {
    overflow-y: auto !important;
    height: auto !important;
    min-height: 100vh !important;
    max-height: none !important;
    position: relative !important;
}

/* Cards de login/registro - scroll interno */
.auth-panel:not(:has(.landing-hero-card)) {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    max-height: calc(100vh - 4rem);
    height: auto;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

/* Content dentro do card - scroll interno */
.auth-content:not(:has(.landing-hero-card)) {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    flex: 1;
    min-height: 0;
}

/* Form wrapper - scroll interno */
.auth-form-wrapper:not(:has(.landing-hero-card)) {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    flex: 1;
    min-height: 0;
}

/* Form - scroll interno */
.auth-form:not(:has(.landing-hero-card)) {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding-right: 0.5rem;
}

/* Landing page - sem scroll nos cards */
.auth-panel:has(.landing-hero-card),
.auth-content:has(.landing-hero-card),
.auth-form-wrapper:has(.landing-hero-card),
.auth-form:has(.landing-hero-card) {
    overflow: visible !important;
}

/* Hero sempre visível */
.auth-hero {
    overflow: visible !important;
}

/* ============================================
   REGRA GLOBAL: Altura menor que 700px - OCULTAR AUTH-HERO
   ============================================ */
@media (max-height: 699px) {
    /* Ocultar auth-hero completamente quando altura menor que 700px */
    .auth-hero {
        display: none !important;
    }
    
    /* Ajustar layout para ocupar espaço do hero removido */
    .auth-layout {
        grid-template-columns: 1fr !important;
    }
}

/* Desktop com altura pequena - comportamento notebook (scroll nos cards) */
@media (min-width: 1377px) and (max-height: 700px) {
    body.auth-body {
        overflow-y: hidden !important;
        overflow-x: hidden !important;
        height: 100vh !important;
        max-height: 100vh !important;
        position: fixed;
    }
    
    /* Landing page - permite scroll na página */
    body.auth-body:has(.landing-hero-card) {
        overflow-y: auto !important;
        height: auto !important;
        min-height: 100vh !important;
        max-height: none !important;
        position: relative !important;
    }
    
    .auth-body {
        height: 100vh;
        max-height: 100vh;
        overflow-y: hidden;
        overflow-x: hidden;
    }
    
    /* Landing page - permite scroll na página */
    .auth-body:has(.landing-hero-card) {
        overflow-y: auto;
        height: auto;
        min-height: 100vh;
        max-height: none;
    }
    
    /* Remover auth-hero completamente */
    .auth-hero {
        display: none !important;
    }
    
    /* Cards com scroll interno - comportamento notebook */
    .auth-panel:not(:has(.landing-hero-card)) {
        overflow-y: auto !important;
        overflow-x: hidden !important;
        max-height: calc(100vh - 2rem);
        height: auto;
        padding-right: 3rem; /* Espaço extra para scrollbar */
    }
    
    /* Content com scroll interno */
    .auth-content:not(:has(.landing-hero-card)) {
        overflow-y: auto !important;
        overflow-x: hidden !important;
        flex: 1;
        min-height: 0;
    }
    
    /* Form wrapper com scroll interno */
    .auth-form-wrapper:not(:has(.landing-hero-card)) {
        overflow-y: auto !important;
        overflow-x: hidden !important;
        flex: 1;
        min-height: 0;
    }
    
    /* Form com scroll interno */
    .auth-form:not(:has(.landing-hero-card)) {
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }
    
    /* Scrollbar customizada nos cards */
    .auth-panel:not(:has(.landing-hero-card))::-webkit-scrollbar {
        width: 12px;
    }
    
    .auth-panel:not(:has(.landing-hero-card))::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.2);
        border-radius: 10px;
        margin: 1rem 0.75rem;
        margin-right: 0.75rem;
    }
    
    .auth-panel:not(:has(.landing-hero-card))::-webkit-scrollbar-thumb {
        background: linear-gradient(180deg, rgba(255, 30, 30, 0.6), rgba(114, 0, 0, 0.8));
        border-radius: 10px;
        border: 2px solid rgba(15, 15, 15, 0.5);
        margin-right: 0.5rem;
    }
    
    .auth-panel:not(:has(.landing-hero-card))::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(180deg, rgba(255, 30, 30, 0.8), rgba(114, 0, 0, 1));
    }
}

/* Desktop - página fixa, scroll nos cards */
@media (min-width: 1377px) and (min-height: 701px) {
    body.auth-body {
        overflow-y: hidden !important;
        overflow-x: hidden !important;
        height: 100vh !important;
        max-height: 100vh !important;
        position: fixed;
    }
    
    /* Landing page - permite scroll na página */
    body.auth-body:has(.landing-hero-card) {
        overflow-y: auto !important;
        height: auto !important;
        min-height: 100vh !important;
        max-height: none !important;
        position: relative !important;
    }
    
    /* Scrollbar customizada na página (apenas landing) */
    body.auth-body:has(.landing-hero-card)::-webkit-scrollbar {
        width: 12px;
    }
    
    body.auth-body:has(.landing-hero-card)::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.3);
    }
    
    body.auth-body:has(.landing-hero-card)::-webkit-scrollbar-thumb {
        background: linear-gradient(180deg, rgba(255, 30, 30, 0.6), rgba(114, 0, 0, 0.8));
        border-radius: 6px;
    }
    
    body.auth-body:has(.landing-hero-card)::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(180deg, rgba(255, 30, 30, 0.8), rgba(114, 0, 0, 1));
    }
    
    /* Cards com altura máxima */
    .auth-panel:not(:has(.landing-hero-card)) {
        max-height: calc(100vh - 4rem);
    }
}

/* Notebooks com altura pequena - comportamento mobile (scroll na página) */
@media (max-width: 1366px) and (min-width: 961px) and (max-height: 700px) {
    body.auth-body:not(:has(.landing-hero-card)) {
        overflow-y: auto !important;
        overflow-x: hidden !important;
        height: auto !important;
        min-height: 100vh !important;
        max-height: none !important;
        position: relative !important;
    }
    
    .auth-body:not(:has(.landing-hero-card)) {
        height: auto;
        min-height: 100vh;
        max-height: none;
        overflow-y: auto;
        overflow-x: hidden;
    }
    
    /* Cards sem scroll interno - comportamento mobile */
    .auth-panel:not(:has(.landing-hero-card)) {
        overflow-y: visible !important;
        overflow-x: visible !important;
        max-height: none !important;
        height: auto !important;
        padding-right: 2.5rem;
    }
    
    /* Content sem scroll interno */
    .auth-content:not(:has(.landing-hero-card)) {
        overflow-y: visible !important;
        overflow-x: visible !important;
    }
    
    /* Form wrapper sem scroll interno */
    .auth-form-wrapper:not(:has(.landing-hero-card)) {
        overflow-y: visible !important;
        overflow-x: visible !important;
    }
    
    /* Form sem scroll interno */
    .auth-form:not(:has(.landing-hero-card)) {
        overflow-y: visible !important;
        overflow-x: visible !important;
    }
}

/* Para notebooks - página fixa, scroll nos cards */
@media (max-width: 1366px) and (min-width: 961px) and (min-height: 701px) {
    body.auth-body {
        overflow-y: hidden !important;
        overflow-x: hidden !important;
        height: 100vh !important;
        max-height: 100vh !important;
        position: fixed;
    }
    
    /* Landing page - permite scroll na página */
    body.auth-body:has(.landing-hero-card) {
        overflow-y: auto !important;
        height: auto !important;
        min-height: 100vh !important;
        max-height: none !important;
        position: relative !important;
    }
    
    .auth-body {
        height: 100vh;
        max-height: 100vh;
        overflow-y: hidden;
        overflow-x: hidden;
    }
    
    /* Landing page - permite scroll na página */
    .auth-body:has(.landing-hero-card) {
        overflow-y: auto;
        height: auto;
        min-height: 100vh;
        max-height: none;
    }
    
    /* Cards com altura máxima */
    .auth-panel:not(:has(.landing-hero-card)) {
        max-height: calc(100vh - 2rem);
    }
    
    /* Remover animações pesadas em notebooks */
    .auth-hero::before {
        display: none;
    }
    
    .auth-panel::before {
        display: none;
    }
    
    /* Scrollbar customizada */
    body.auth-body::-webkit-scrollbar {
        width: 10px;
    }
    
    body.auth-body::-webkit-scrollbar-thumb {
        background: linear-gradient(180deg, rgba(255, 30, 30, 0.5), rgba(114, 0, 0, 0.7));
        border-radius: 5px;
    }
}



@keyframes backgroundPulse {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }
    100% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.auth-layout {
    display: grid;
    grid-template-columns: minmax(420px, 1.25fr) minmax(380px, 1fr);
    gap: 2.5rem;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    min-height: calc(100vh - 4rem);
    height: auto;
    overflow: visible; /* Sempre visível para permitir scroll na página */
    align-content: center;
}

/* Landing page - altura automática sem forçar min-height */
@media (min-width: 961px) {
    .auth-layout:has(.landing-hero-card) {
        min-height: auto;
        height: auto;
        align-content: center;
    }
}

/* Layout responsivo baseado em altura E largura */
/* Landscape (paisagem) - mais largura que altura */
@media (min-width: 769px) and (min-height: 600px) and (orientation: landscape) {
    .auth-layout {
        grid-template-columns: minmax(400px, 1.25fr) minmax(360px, 1fr);
        gap: 2rem;
    }
}

/* Portrait (retrato) ou altura pequena - layout vertical */
@media (max-width: 960px) or (max-height: 700px) {
    .auth-layout {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 1.5rem;
        max-width: 100%;
    }
    
    .auth-hero {
        display: none;
    }
}

/* Altura muito pequena - layout ultra compacto */
@media (max-height: 600px) {
    .auth-layout {
        gap: 1rem;
    }
    
    .auth-panel {
        padding: 1.25rem 1.5rem;
    }
}

/* ============================================
   SISTEMA RESPONSIVO INTELIGENTE
   Baseado em altura E largura da tela
   ============================================ */

/* DESKTOP LARGO - Layout horizontal completo */
@media (min-width: 1377px) and (min-height: 800px) {
    .auth-body {
        padding: 2rem;
        overflow-y: auto;
    }
    
    .auth-layout {
        grid-template-columns: minmax(420px, 1.25fr) minmax(380px, 1fr);
        gap: 2.5rem;
        max-width: 1400px;
    }
    
    .auth-hero {
        display: flex;
    }
    
    .auth-panel {
        overflow: visible;
    }
}

/* DESKTOP MÉDIO - Layout horizontal ajustado */
@media (min-width: 1201px) and (max-width: 1376px) and (min-height: 700px) {
    .auth-body {
        padding: 1.5rem;
        overflow-y: auto;
    }
    
    .auth-layout {
        grid-template-columns: minmax(380px, 1.2fr) minmax(340px, 1fr);
        gap: 2rem;
        max-width: 1200px;
    }
    
    .auth-hero {
        display: flex;
        padding: 2rem;
    }
    
    .auth-panel {
        padding: 2rem;
        overflow: visible;
    }
}

/* NOTEBOOKS - Layout vertical ou horizontal baseado em altura */
@media (min-width: 961px) and (max-width: 1200px) {
    .auth-body {
        padding: 1rem;
        overflow-y: auto;
    }
    
    /* Se altura suficiente, layout horizontal compacto */
    @media (min-height: 700px) {
        .auth-layout {
            grid-template-columns: minmax(350px, 1.15fr) minmax(320px, 1fr);
            gap: 1.5rem;
            max-width: 1000px;
        }
        
        .auth-hero {
            display: flex;
            padding: 1.75rem;
        }
        
        .auth-panel {
            padding: 1.75rem;
            overflow: visible;
        }
    }
    
    /* Se altura pequena, layout vertical */
    @media (max-height: 699px) {
        .auth-layout {
            grid-template-columns: 1fr;
            gap: 1rem;
            max-width: 600px;
        }
        
        .auth-hero {
            display: none;
        }
        
        .auth-panel {
            padding: 1.5rem;
            overflow: visible;
        }
    }
}

/* REDESIGN COMPLETO PARA NOTEBOOKS PEQUENOS - SEM HERO, APENAS FORMULÁRIO CENTRALIZADO */
@media (max-width: 1366px) and (min-width: 961px) {
    /* Se altura muito pequena, layout ultra compacto */
    @media (max-height: 650px) {
        .auth-body {
            padding: 0.75rem;
            overflow-y: auto;
        }
        
        .auth-layout {
            grid-template-columns: 1fr;
            gap: 0.75rem;
            max-width: 100%;
        }
        
        .auth-hero {
            display: none !important;
        }
        
        .auth-panel {
            padding: 1.25rem 1.5rem;
            border-radius: 20px;
            overflow: visible;
            gap: 0.75rem;
        }
    }
    
    /* Altura normal - layout padrão */
    @media (min-height: 651px) {
        .auth-body {
            padding: 1rem;
            overflow-y: auto;
        }
        
        .auth-layout {
            grid-template-columns: 1fr;
            gap: 1rem;
            max-width: 500px;
        }
        
        .auth-hero {
            display: none !important;
        }
        
        .auth-panel {
            padding: 1.75rem 2rem;
            border-radius: 24px;
            overflow: visible;
            gap: 1rem;
        }
    }
    
    /* Header ultra compacto */
    .auth-header {
        gap: 0.5rem;
        margin-bottom: 0;
        padding-bottom: 0;
        flex-shrink: 0;
    }
    
    .auth-header img {
        height: 2.25rem !important;
        margin-bottom: 0.25rem;
    }
    
    .auth-title {
        font-size: 1.5rem;
        line-height: 1.2;
        margin: 0;
    }
    
    .auth-subtitle {
        font-size: 0.8rem;
        line-height: 1.3;
        margin: 0.25rem 0 0;
    }
    
    /* Ocultar subtitle na landing page para notebooks */
    .auth-panel:has(.landing-hero-card) .auth-subtitle {
        display: none !important;
    }
    
    /* Ocultar description e features na landing page para notebooks */
    .landing-hero-card__description {
        display: none !important;
    }
    
    .landing-hero-card__features {
        display: none !important;
    }
    
    /* Ocultar form-helper (requisitos de senha) em notebooks */
    .form-helper {
        display: none !important;
    }
    
    /* Mensagens compactas */
    .messages {
        margin: 0 0 0.75rem 0;
        flex-shrink: 0;
    }
    
    .message {
        padding: 0.65rem 0.85rem;
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }
    
    /* Conteúdo otimizado */
    .auth-content {
        gap: 1rem;
        flex: 1;
        min-height: 0;
        overflow: visible;
        display: flex;
        flex-direction: column;
    }
    
    .auth-form-wrapper {
        flex: 1;
        min-height: 0;
        display: flex;
        flex-direction: column;
    }
    
    .auth-form {
        gap: 1rem;
        flex: 1;
        min-height: 0;
        display: flex;
        flex-direction: column;
    }
    
    /* Grid de formulário compacto */
    .form-grid {
        gap: 0.75rem;
        flex-shrink: 0;
    }
    
    .form-grid--two {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    /* Security badges mais compactos */
    .form-security {
        margin: 0;
        flex-shrink: 0;
    }
    
    .security-badges {
        gap: 0.4rem;
        justify-content: center;
    }
    
    .security-badge {
        padding: 0.35rem 0.6rem;
        font-size: 0.7rem;
        flex: 0 1 auto;
    }
    
    /* Botão principal compacto */
    .form-actions {
        gap: 0.75rem;
        margin-top: 0;
        flex-shrink: 0;
    }
    
    .btn-auth {
        padding: 0.85rem 1.5rem;
        font-size: 0.9rem;
        border-radius: 14px;
    }
    
    /* Links compactos */
    .form-links {
        gap: 0.35rem;
        flex-shrink: 0;
    }
    
    .form-link {
        font-size: 0.75rem;
        padding: 0.4rem 0.5rem;
        line-height: 1.3;
    }
    
    .form-link i {
        font-size: 0.7rem;
    }
    
    /* Footer oculto */
    .auth-footer,
    .auth-footer__content {
        display: none !important;
    }
    
    /* Helper compacto */
    .form-helper {
        padding: 0.7rem;
        font-size: 0.75rem;
        margin: 0;
        flex-shrink: 0;
    }
    
    .form-helper__icon {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }
    
    /* Mensagens de erro compactas */
    .auth-message {
        padding: 0.65rem 0.85rem;
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
        flex-shrink: 0;
    }
    
    /* Campos de formulário */
    .field-wrapper {
        flex-shrink: 0;
    }
    
    .field__label {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }
    
    .input-text,
    .input-password {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        border-radius: 12px;
    }
    
    .field__error {
        font-size: 0.7rem;
        margin-top: 0.35rem;
    }
    
    /* Partículas ocultas em notebooks */
    .auth-form__particles {
        display: none;
    }
    
    /* Ajustes específicos para formulário de registro (mais campos) */
    .auth-form:has(.form-grid--two) {
        gap: 0.85rem;
    }
    
    .auth-form:has(.form-helper) {
        gap: 0.9rem;
    }
    
    /* Helper mais compacto em notebooks */
    .form-helper--modern {
        padding: 0.65rem 0.75rem;
        font-size: 0.7rem;
        line-height: 1.4;
    }
    
    .form-helper__content {
        gap: 0.2rem;
    }
    
    .form-helper__content strong {
        font-size: 0.7rem;
    }
    
    .form-helper__content span {
        font-size: 0.65rem;
    }
}

.auth-hero {
    position: relative;
    overflow: visible; /* Scroll sempre na página */
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: 
        linear-gradient(140deg, rgba(10, 10, 10, 0.95), rgba(20, 20, 20, 0.85)),
        linear-gradient(45deg, rgba(255, 30, 30, 0.05), transparent 50%);
    box-shadow: 
        0 40px 90px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset,
        0 0 60px rgba(255, 30, 30, 0.1);
    padding: 2.5rem;
    padding-bottom: 3rem;
    backdrop-filter: blur(20px);
    animation: heroFloat 6s ease-in-out infinite;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    height: auto;
    min-height: auto;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.auth-hero::before {
    content: '';
    position: absolute;
    inset: -1rem;
    z-index: -1;
    pointer-events: none;
}

@keyframes heroFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.auth-hero__glow {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 30, 30, 0.3), transparent 60%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.25), transparent 55%),
        radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.15), transparent 70%);
    opacity: 0.8;
    filter: blur(80px);
    animation: glowPulse 8s ease-in-out infinite alternate;
    z-index: 0;
}

.auth-hero__content {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    color: var(--color-text-primary);
    z-index: 1;
    flex: 1;
    min-height: 0;
}

.auth-hero__brand {
    display: flex;
    align-items: flex-start;
    gap: 1.75rem;
    flex-wrap: wrap;
    overflow: visible; /* Scroll sempre na página */
}

/* Brand reorganiza-se baseado em espaço */
@media (max-width: 600px) {
    .auth-hero__brand {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (min-width: 601px) {
    .auth-hero__brand {
        flex-direction: row;
        align-items: flex-start;
    }
}

.hero-badge {
    font-size: 0.75rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
    margin-bottom: 0.45rem;
}

.hero-title {
    margin: 0;
    font-size: 1.9rem;
    line-height: 1.2;
    font-weight: 600;
    word-wrap: break-word;
}

.hero-subtitle {
    margin: 0.5rem 0 0;
    color: rgba(255, 255, 255, 0.68);
    max-width: 100%;
    word-wrap: break-word;
    line-height: 1.5;
    font-size: 0.95rem;
}

.auth-hero__highlights {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(200px, 1fr));
    justify-items: stretch;
    flex: 1;
    min-height: 0;
    overflow: visible; /* Scroll sempre na página */
    padding: 0.5rem 0;
    margin: 0;
}

/* Reorganização dinâmica dos cards do hero baseado em espaço */
@media (min-width: 1200px) and (min-height: 800px) {
    .auth-hero__highlights {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1199px) or (max-height: 799px) {
    .auth-hero__highlights {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
}

@media (max-width: 960px) {
    .auth-hero__highlights {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
    }
}

@media (max-width: 600px) {
    .auth-hero__highlights {
        grid-template-columns: repeat(2, 1fr);
    }
}

.hero-card {
    padding: 1.5rem;
    border-radius: 24px;
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
        linear-gradient(45deg, rgba(255, 30, 30, 0.08), transparent 60%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    min-height: 0;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    overflow: visible;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    cursor: help;
    z-index: 1;
}

.hero-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 30, 30, 0.2), rgba(59, 130, 246, 0.15));
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 0;
    border-radius: 24px;
}

.hero-card::after {
    display: none;
}

.hero-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 12px 32px rgba(255, 30, 30, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.15) inset;
    border-color: rgba(255, 30, 30, 0.3);
    z-index: 10;
}

.hero-card:hover::before {
    opacity: 1;
}

.hero-card__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 30, 30, 0.2), rgba(59, 130, 246, 0.15));
    color: #FF1E1E;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.hero-card:hover .hero-card__icon {
    transform: scale(1.05) rotate(3deg);
    background: linear-gradient(135deg, rgba(255, 30, 30, 0.35), rgba(59, 130, 246, 0.25));
    box-shadow: 0 6px 20px rgba(255, 30, 30, 0.35);
}

@keyframes cardShine {
    0%, 100% {
        opacity: 0;
        transform: rotate(0deg);
    }
    50% {
        opacity: 0.3;
        transform: rotate(180deg);
    }
}

.hero-card__label {
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    position: relative;
    z-index: 1;
    font-weight: 500;
}

.hero-card__value {
    margin: 0.5rem 0 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.hero-card__hint {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

.auth-panel {
    padding: 2.5rem;
    padding-right: 3.5rem; /* Espaço extra para a scrollbar - aumentado */
    border-radius: 32px;
    background: 
        linear-gradient(140deg, rgba(15, 15, 15, 0.98), rgba(25, 25, 25, 0.95)),
        linear-gradient(45deg, rgba(255, 30, 30, 0.03), transparent 50%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 30px 100px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset,
        0 0 80px rgba(255, 30, 30, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    backdrop-filter: blur(20px);
    position: relative;
    overflow-y: auto; /* Scroll interno no card */
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    height: auto;
    max-height: calc(100vh - 4rem);
    min-width: 0;
}


/* Landing page - sem scroll no card */
.auth-panel:has(.landing-hero-card) {
    overflow: visible !important;
    max-height: none !important;
}

/* Scrollbar customizada nos cards de login/registro */
.auth-panel:not(:has(.landing-hero-card))::-webkit-scrollbar {
    width: 12px;
}

.auth-panel:not(:has(.landing-hero-card))::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    margin: 1rem 0.75rem;
    margin-right: 0.75rem;
}

.auth-panel:not(:has(.landing-hero-card))::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(255, 30, 30, 0.6), rgba(114, 0, 0, 0.8));
    border-radius: 10px;
    border: 2px solid rgba(15, 15, 15, 0.5);
    margin-right: 0.5rem;
}

.auth-panel:not(:has(.landing-hero-card))::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(255, 30, 30, 0.8), rgba(114, 0, 0, 1));
}

/* Scrollbar customizada no auth-content */
.auth-content:not(:has(.landing-hero-card))::-webkit-scrollbar {
    width: 8px;
}

.auth-content:not(:has(.landing-hero-card))::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.auth-content:not(:has(.landing-hero-card))::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(255, 30, 30, 0.5), rgba(114, 0, 0, 0.7));
    border-radius: 10px;
}

.auth-content:not(:has(.landing-hero-card))::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(255, 30, 30, 0.7), rgba(114, 0, 0, 0.9));
}

.auth-panel > *:last-child:not(.auth-footer) {
    margin-bottom: 0;
    padding-bottom: 0;
}

.auth-panel:has(.auth-footer) {
    padding-bottom: 2.5rem;
}

.auth-panel:not(:has(.auth-footer)) {
    padding-bottom: 2.5rem;
}

.auth-panel:not(:has(.auth-footer)) .auth-content {
    margin-bottom: 0;
    padding-bottom: 0;
}

.auth-panel::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 30, 30, 0.1), transparent 70%);
    animation: panelGlow 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes panelGlow {
    0%, 100% {
        opacity: 0.3;
        transform: rotate(0deg);
    }
    50% {
        opacity: 0.6;
        transform: rotate(180deg);
    }
}

.auth-header {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
    z-index: 1;
}

.auth-title {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff, rgba(255, 255, 255, 0.85));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.auth-subtitle {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    max-width: 100%;
    line-height: 1.5;
    font-size: 0.9rem;
}

.auth-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
    flex: 1;
    min-height: 0;
    min-width: 0;
    overflow-y: auto; /* Scroll interno no card */
    overflow-x: hidden;
}

.auth-content:empty::after {
    content: '';
    display: none;
}

.auth-form-wrapper {
    position: relative;
    min-width: 0;
    width: 100%;
    overflow-y: auto; /* Scroll interno no card */
    overflow-x: hidden;
    flex: 1;
    min-height: 0;
}

/* Landing page - elementos sem scroll */
.auth-form-wrapper:has(.landing-hero-card),
.auth-content:has(.landing-hero-card) {
    overflow: visible !important;
}

.auth-form__particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 32px;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: particleFloat linear infinite;
    opacity: 0.6;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) translateX(100px) rotate(360deg);
        opacity: 0;
    }
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    position: relative;
    z-index: 1;
    overflow: visible; /* Scroll sempre na página */
}

.form-grid {
    display: grid;
    gap: 1rem;
}

.form-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0;
}

/* ============================================
   REORGANIZAÇÃO DINÂMICA DE ELEMENTOS
   Baseado em altura E largura da tela
   ============================================ */

/* Form grid - muda de 2 colunas para 1 coluna baseado em espaço */
@media (min-width: 700px) and (min-height: 500px) {
    /* Espaço suficiente - 2 colunas */
    .form-grid--two {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 699px) or (max-height: 499px) {
    /* Espaço limitado - 1 coluna */
    .form-grid--two {
        grid-template-columns: 1fr;
    }
}

/* Form links - muda de linha para coluna baseado em espaço disponível */
@media (min-width: 700px) and (min-height: 600px) {
    /* Espaço suficiente - elementos em linha */
    .form-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
    }
    
    .form-link {
        flex: 0 1 auto;
        min-width: auto;
    }
}

@media (max-width: 699px) or (max-height: 599px) {
    /* Espaço limitado - elementos em coluna */
    .form-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .form-link {
        width: 100%;
    }
}

/* Security badges - sempre em linha quando espaço permite */
@media (min-width: 500px) {
    .security-badges {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 499px) {
    .security-badges {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.35rem;
    }
    
    .security-badge {
        flex: 1 1 auto;
        min-width: calc(33.333% - 0.5rem);
    }
}

.field-wrapper {
    position: relative;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-text,
.input-password {
    width: 100%;
    padding: 1.1rem 1.25rem;
    padding-right: 3rem;
    border-radius: 16px;
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
        rgba(10, 10, 10, 0.5);
    color: var(--color-text-primary);
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

.input-text::placeholder,
.input-password::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.input-text:focus,
.input-password:focus {
    outline: none;
    border-color: rgba(255, 30, 30, 0.6);
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04)),
        rgba(15, 15, 15, 0.7);
    box-shadow: 
        0 0 0 4px rgba(255, 30, 30, 0.1),
        0 8px 32px rgba(255, 30, 30, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.input-glow {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 30, 30, 0.3), rgba(59, 130, 246, 0.2));
    opacity: 0;
    filter: blur(20px);
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 0;
}

.input-text:focus ~ .input-glow,
.input-password:focus ~ .input-glow {
    opacity: 0.6;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s ease;
    z-index: 2;
}

.password-toggle:hover {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.1);
}

.field {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.field__label {
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.field__label i {
    font-size: 0.875rem;
    color: rgba(255, 30, 30, 0.7);
    width: 16px;
    text-align: center;
}

.field__error {
    color: #ff6b6b;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.25rem;
    animation: errorShake 0.5s ease;
}

.field__error i {
    font-size: 0.75rem;
}

@keyframes errorShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.auth-message {
    padding: 1rem 1.25rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    animation: messageSlideIn 0.4s ease;
    border: 1.5px solid;
}

.auth-message--error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(220, 38, 38, 0.1));
    border-color: rgba(239, 68, 68, 0.4);
    color: #ff6b6b;
}

.auth-message i {
    font-size: 1rem;
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-helper {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.75);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-radius: 18px;
    background: 
        linear-gradient(135deg, rgba(255, 30, 30, 0.12), rgba(59, 130, 246, 0.08)),
        rgba(255, 255, 255, 0.03);
    border: 1.5px solid rgba(255, 30, 30, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.form-helper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #FF1E1E, #3b82f6);
    border-radius: 0 4px 4px 0;
}

.form-helper--modern {
    border-color: rgba(255, 30, 30, 0.3);
    box-shadow: 0 4px 20px rgba(255, 30, 30, 0.1);
}

.form-helper__icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 30, 30, 0.3), rgba(59, 130, 246, 0.2));
    color: #FF1E1E;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.form-helper__content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.form-helper__content strong {
    color: #fff;
    font-weight: 600;
}

.icon-shield,
.icon-mail {
    display: inline-flex;
    width: 32px;
    height: 32px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 30, 30, 0.8), rgba(114, 0, 0, 0.65));
    box-shadow: 0 6px 18px rgba(255, 30, 30, 0.35);
    position: relative;
}

.icon-shield::after,
.icon-mail::after {
    content: "";
    position: absolute;
    inset: 9px;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.65);
    opacity: 0.85;
}

.icon-mail::after {
    border-radius: 6px;
    clip-path: polygon(0% 0%, 100% 0%, 50% 55%, 0% 0%, 0% 100%, 100% 100%, 100% 0%);
}

.form-security {
    display: flex;
    justify-content: center;
    padding: 1rem 0;
}

.security-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}

.security-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 500;
    background: 
        linear-gradient(135deg, rgba(255, 30, 30, 0.15), rgba(59, 130, 246, 0.1)),
        rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.security-badge i {
    font-size: 0.875rem;
    color: rgba(255, 30, 30, 0.8);
}

.security-badge:hover {
    transform: translateY(-2px);
    background: 
        linear-gradient(135deg, rgba(255, 30, 30, 0.25), rgba(59, 130, 246, 0.15)),
        rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 16px rgba(255, 30, 30, 0.2);
}

.form-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.pill {
    display: inline-flex;
    align-items: center;
    padding: 0.32rem 0.7rem;
    border-radius: 999px;
    font-size: 0.75rem;
    letter-spacing: 0.03em;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.85);
    gap: .35rem;
}

.pill--blue {
    background: var(--badge-blue-bg);
    color: var(--badge-blue-text);
}

.pill--green {
    background: rgba(59, 203, 124, .15);
    color: var(--color-success);
}

.pill--yellow {
    background: rgba(255, 208, 67, .15);
    color: var(--color-warning);
}

.pill--red {
    background: rgba(255, 77, 79, .15);
    color: var(--color-error);
}


.form-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.5rem;
}

.btn-auth {
    position: relative;
    width: 100%;
    padding: 1.25rem 2rem;
    border-radius: 18px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    z-index: 1;
}

.btn-auth--primary {
    background: linear-gradient(135deg, #FF1E1E, #d91a1a);
    color: #fff;
    box-shadow: 
        0 8px 32px rgba(255, 30, 30, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.btn-auth__glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.btn-auth:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 12px 40px rgba(255, 30, 30, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.btn-auth:hover .btn-auth__glow {
    opacity: 1;
}

.btn-auth:active {
    transform: translateY(-1px);
}

.btn-auth__text {
    position: relative;
    z-index: 1;
}

.btn-auth__icon {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.btn-auth:hover .btn-auth__icon {
    transform: translateX(4px);
}

.form-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    padding-top: 0;
}

.form-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.form-link i {
    font-size: 0.875rem;
    color: rgba(255, 30, 30, 0.7);
    transition: all 0.3s ease;
}

.form-link strong {
    color: #FF1E1E;
    font-weight: 600;
    margin-left: 0.25rem;
}

.form-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
    transform: translateX(2px);
}

.form-link:hover i {
    color: #FF1E1E;
    transform: scale(1.1);
}

.auth-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    padding-top: 1.75rem;
    padding-bottom: 0;
    margin-top: 1rem;
    margin-bottom: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 0;
    flex-shrink: 0;
}

@media (max-width: 960px) {
    .auth-footer {
        display: none;
    }
}

.auth-footer--modern {
    flex-direction: column;
    gap: 1.5rem;
    padding-top: 1.5rem;
    margin-top: 0.5rem;
}

.auth-footer__content {
    flex: 1;
}

.auth-footer__title {
    font-size: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin: 0 0 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.auth-footer__title i {
    color: #FF1E1E;
    font-size: 1.1rem;
}

.benefits-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.75rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.benefits-list i {
    color: #22c55e;
    font-size: 0.875rem;
    width: 20px;
    flex-shrink: 0;
}

.auth-footer__stats {
    display: none;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 18px;
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
        rgba(10, 10, 10, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04)),
        rgba(15, 15, 15, 0.6);
    box-shadow: 0 8px 24px rgba(255, 30, 30, 0.2);
    border-color: rgba(255, 30, 30, 0.3);
}

.stat-card__icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255, 30, 30, 0.25), rgba(59, 130, 246, 0.15));
    color: #FF1E1E;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.stat-card__content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.stat-value {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #fff, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-footer__caption {
    margin: 0;
    color: var(--color-text-secondary);
}

.bullet-list {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--color-text-secondary);
    display: grid;
    gap: 0.4rem;
}

.link-muted {
    color: var(--color-text-secondary);
    text-align: center;
}

.link-muted a {
    color: var(--color-primary);
}

.sync-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.sync-summary .label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-secondary);
}

.sync-summary strong {
    display: block;
    font-size: 1.4rem;
    margin-top: 0.4rem;
}

.next-actions {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: grid;
    gap: 0.75rem;
}

.next-actions li {
    position: relative;
    padding-left: 1.4rem;
    color: var(--color-text-secondary);
}

.next-actions li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: var(--color-primary);
}

.finance-module {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.finance-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
}

.finance-meta {
    color: var(--color-text-secondary);
    margin: 0.25rem 0;
}

.finance-actions {
    display: flex;
    gap: 0.75rem;
}

/* View Switcher */

.view-header {
    display: flex;
    align-items: center;
    justify-content: space-between; /* deixa um na esquerda e outro na direita */
    margin: 0.2rem 0 0.8rem 0;
}

.view-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.view-label-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
}

.view-switcher {
    display: inline-flex !important;
    width: auto !important;
    align-self: flex-start !important;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    backdrop-filter: blur(6px);
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.view-switcher button {
    padding: 0.55rem 1.1rem; /* mais compacto */
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: var(--transition-snappy);
}

.view-switcher button i {
    opacity: 0.75;
    font-size: 0.95rem;
    transition: inherit;
}

.view-switcher button:hover {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
}

.view-switcher button.active {
    background: linear-gradient(
        135deg,
        var(--color-primary),
        var(--color-primary-dark)
    );
    color: #fff;
    box-shadow:
        inset 0 0 20px rgba(42, 80, 255, 0.42),
        0 10px 28px rgba(0,0,0,0.35);
}

.view-switcher button.active i {
    opacity: 1;
    color: #fff;
}

.view-switcher button span {
    display: inline-block;
}

/* End of View Switcher */

.list-group {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.list-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.list-group__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.list-group__items {
    display: grid;
    gap: 1rem;
}

.list-card {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.2rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.list-card__meta {
    color: var(--color-text-secondary);
    display: flex;
    gap: 1rem;
}

.list-card__actions {
    width: 100% !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    gap: 0.6rem !important;
    margin-top: 0.8rem !important;
}

/* Botões fluidos e sem estourar */
.list-card__actions .btn {
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.08);
}

.badge--accent {
    background: rgba(255, 30, 30, 0.35);
}

.calendar-switcher {
    display: inline-flex;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.calendar-switcher button {
    padding: 0.6rem 1.4rem;
    border: none;
    background: transparent;
    color: var(--color-text-secondary);
    font-weight: 600;
    cursor: pointer;
}

.calendar-switcher button.active {
    background: linear-gradient(135deg, rgba(255, 30, 30, 0.4), rgba(114, 0, 0, 0.32));
    color: var(--color-text-primary);
}

.calendar-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.calendar-card {
    padding: 1.2rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.calendar-card ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: grid;
    gap: 0.75rem;
}

.calendar-card li {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.kanban-board {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    min-width: 0;
    overflow: hidden;
}

@media (max-width: 768px) {
    .kanban-board {
        grid-template-columns: 1fr;
    }
}

.kanban-column {
    padding: 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    min-width: 0;
    overflow: hidden;
}

@media (max-width: 768px) {
    .kanban-column {
        min-width: 0;
        width: 100%;
    }
}

.kanban-cards {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
    min-width: 0;
    overflow: hidden;
}

.kanban-card {
    padding: 1.4rem 1.8rem; 
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.kanban-card__footer {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.75rem;
    min-width: 0;
}

.kanban-card__footer > .value {
    white-space: nowrap;
    flex-shrink: 0;
    font-weight: 600;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.kanban-card__footer > div {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    width: 100%;
    min-width: 0;
}

.kanban-card__footer > div .btn {
    min-width: fit-content;
    flex: 1 1 auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (min-width: 640px) {
    .kanban-card__footer {
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
    }
    
    .kanban-card__footer > div {
        width: auto;
        flex: 0 0 auto;
    }
}

.kanban-card__footer .value {
    font-weight: 600;
}

.empty-state {
    text-align: center;
    color: var(--color-text-secondary);
    padding: 1.5rem;
}

/* Card empty-state dentro de tickets-list - centralizado e compacto */
.tickets-list .card.empty-state {
    grid-column: 1 / -1;
}

.tickets-list .card.empty-state p {
    margin: 1rem 0;
}

.tickets-list .card.empty-state i {
    margin-bottom: 0.75rem !important;
}

.projects-module {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    z-index: 10000;
    animation: fadeIn 0.4s ease;
}

.modal {
    width: 80vw;
    background: rgba(20, 20, 20, 0.95);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.modal--stacked {
    width: 80vw;
}

.modal__header,
.modal__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.modal__body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.project-detail-header {
    flex-wrap: wrap;
}

.project-detail-header__actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-shrink: 0;
    flex-wrap: wrap;
}

/* Botão Novo Ticket - Verde/Verde-água */
.btn--new-ticket {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.85), rgba(16, 185, 129, 0.85));
    color: #fff;
    border: 1px solid rgba(34, 197, 94, 0.6);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3),
                inset 0 1px 2px rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.btn--new-ticket:hover {
    background: linear-gradient(135deg, rgba(34, 197, 94, 1), rgba(16, 185, 129, 1));
    border-color: rgba(34, 197, 94, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4),
                inset 0 1px 3px rgba(255, 255, 255, 0.15);
}

/* Botão Contas - Azul */
.btn--accounts {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.85), rgba(37, 99, 235, 0.85));
    color: #fff;
    border: 1px solid rgba(59, 130, 246, 0.6);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3),
                inset 0 1px 2px rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.btn--accounts:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 1), rgba(37, 99, 235, 1));
    border-color: rgba(59, 130, 246, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4),
                inset 0 1px 3px rgba(255, 255, 255, 0.15);
}

/* Botão Notas Fiscais - Vermelho/Laranja */
.btn--invoices {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.85), rgba(220, 38, 38, 0.85));
    color: #fff;
    border: 1px solid rgba(239, 68, 68, 0.6);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3),
                inset 0 1px 2px rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.btn--invoices:hover {
    background: linear-gradient(135deg, rgba(239, 68, 68, 1), rgba(220, 38, 38, 1));
    border-color: rgba(239, 68, 68, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4),
                inset 0 1px 3px rgba(255, 255, 255, 0.15);
}

.badge--invoices {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    padding: 0.15rem 0.4rem;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-left: 0.25rem;
}

/* Botão Fechar - Cinza escuro com hover vermelho */
.btn--close {
    width: 36px;
    height: 36px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    min-width: auto;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.btn--close:hover {
    background: rgba(239, 68, 68, 0.9);
    border-color: rgba(239, 68, 68, 1);
    color: #fff;
    transform: rotate(90deg);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.btn--close i {
    font-size: 1rem;
}

/* Responsividade dos botões */
@media (max-width: 1024px) {
    .project-detail-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .project-detail-header__actions {
        width: 100%;
        justify-content: flex-start;
        margin-top: 0.75rem;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .project-detail-header__actions {
        gap: 0.4rem;
    }
    
    .project-detail-header__actions .btn--micro {
        font-size: 0.75rem;
        padding: 0.4rem 0.7rem;
        min-width: auto;
    }
    
    .btn--close {
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    .project-detail-header__actions {
        gap: 0.35rem;
    }
    
    .project-detail-header__actions .btn--micro {
        font-size: 0.7rem;
        padding: 0.35rem 0.6rem;
    }
    
    /* Só esconde textos em telas muito pequenas */
    .project-detail-header__actions .btn--micro span:not(.badge) {
        display: none;
    }
    
    .project-detail-header__actions .btn--micro {
        min-width: 40px;
        justify-content: center;
    }
    
    .project-detail-header__actions .btn--micro i {
        margin: 0;
    }
    
    .btn--close {
        width: 32px;
        height: 32px;
    }
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
}

.detail-grid dt {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-secondary);
}

.detail-grid dd {
    margin: 0.25rem 0 0;
}

.detail-summary {
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* ============================================
   PROJETO DETAIL MODAL - DESIGN MODERNO
   ============================================ */

.modal--project-detail {
    max-width: 1200px;
    width: 90vw;
    max-height: 90vh;
    overflow-y: auto;
    padding: 1.25rem;
    gap: 1rem;
}

.project-detail-header {
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 0;
    gap: 0.75rem;
}

.project-detail-header__title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.project-detail-header__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 30, 30, 0.15), rgba(114, 0, 0, 0.15));
    border-radius: 12px;
    color: #FF1E1E;
    flex-shrink: 0;
}

.project-detail-header__icon svg {
    width: 24px;
    height: 24px;
}

.project-detail-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 0.35rem 0;
    color: #fff;
}

.project-detail-status {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
}

.project-detail-body {
    padding: 1rem 0;
}

.project-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.project-detail-card--summary {
    grid-column: 1 / -1;
}

.project-detail-card--custom1 {
    grid-column: 2;
}

.project-detail-card--custom2 {
    grid-column: 3;
}

@media (max-width: 1024px) {
    .project-detail-card--custom1,
    .project-detail-card--custom2 {
        grid-column: auto;
    }
}

.project-detail-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 1.25rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.project-detail-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.project-detail-card__header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.25rem;
}

.project-detail-card__icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 1rem;
    flex-shrink: 0;
}

.project-detail-card--info .project-detail-card__icon {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(37, 99, 235, 0.2));
    color: #3b82f6;
}

.project-detail-card--hours .project-detail-card__icon {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.2));
    color: #fbbf24;
}

.project-detail-card--progress .project-detail-card__icon {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(22, 163, 74, 0.2));
    color: #22c55e;
}

.project-detail-card--stats .project-detail-card__icon {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(147, 51, 234, 0.2));
    color: #a855f7;
}

.project-detail-card--summary .project-detail-card__icon {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(219, 39, 119, 0.2));
    color: #ec4899;
}

.project-detail-card--custom1 .project-detail-card__icon {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(2, 132, 199, 0.2));
    color: #0ea5e9;
}

.project-detail-card--custom2 .project-detail-card__icon {
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.2), rgba(234, 88, 12, 0.2));
    color: #fb923c;
}

.project-detail-card__header h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.project-detail-card__content {
    flex: 1;
}

/* Informações Gerais */
.project-detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.project-detail-item:last-child {
    border-bottom: none;
}

.project-detail-item__label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.project-detail-item__label i {
    font-size: 0.75rem;
    opacity: 0.7;
}

.project-detail-item__value {
    font-size: 0.95rem;
    color: #fff;
    font-weight: 500;
    margin-left: 1.75rem;
}

.project-detail-item__value a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: opacity 0.2s ease;
    color: #3b82f6;
    text-decoration: none;
}

.project-detail-item__value a:hover {
    opacity: 0.8;
}

/* Métricas de Horas */
.hours-metric {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.hours-metric__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.hours-metric__icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.hours-metric__item--planned .hours-metric__icon {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(37, 99, 235, 0.2));
    color: #3b82f6;
}

.hours-metric__item--actual .hours-metric__icon {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(22, 163, 74, 0.2));
    color: #22c55e;
}

.hours-metric__content {
    flex: 1;
}

.hours-metric__label {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hours-metric__value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.hours-progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.hours-progress-bar__fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #22c55e);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.hours-progress-text {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    text-align: center;
}

/* Progresso do Projeto */
.progress-circle {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 0.75rem;
}

.progress-circle__svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.progress-circle__bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 8;
}

.progress-circle__fill {
    fill: none;
    stroke: url(#progressGradient);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 314;
    stroke-dashoffset: 314;
    transition: stroke-dashoffset 0.8s ease;
}

.progress-circle__svg defs {
    display: block;
}

.progress-circle__svg defs linearGradient {
    display: block;
}

.progress-circle__text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.progress-circle__value {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.progress-circle__label {
    display: block;
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.25rem;
}

.progress-description {
    text-align: center;
    margin-top: 0.25rem;
}

.progress-description p {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    margin: 0;
}

/* Estatísticas */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.75rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.stat-item__icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 1rem;
    flex-shrink: 0;
}

.stat-item__icon--tickets {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(22, 163, 74, 0.2));
    color: #22c55e;
}

.stat-item__icon--accounts {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(37, 99, 235, 0.2));
    color: #3b82f6;
}

.stat-item__icon--invoices {
    background: linear-gradient(135deg, rgba(255, 30, 30, 0.2), rgba(114, 0, 0, 0.2));
    color: #FF1E1E;
}

.stat-item__content {
    flex: 1;
}

.stat-item__value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-item__label {
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Resumo */
.project-summary-text {
    color: var(--color-text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
    margin: 0;
}

.stats-empty {
    padding: 0.75rem;
    text-align: center;
}

.project-detail-footer {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 0;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Gradiente para o círculo de progresso */
.project-detail-card--progress .project-detail-card__content::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
}

/* Responsividade */
@media (max-width: 768px) {
    .project-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .modal--project-detail {
        width: 95vw;
        padding: 1.5rem;
    }
    
    .project-detail-header__title {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .progress-circle {
        width: 140px;
        height: 140px;
    }
    
    .progress-circle__value {
        font-size: 1.5rem;
    }
}

.projects-kanban .project-card {
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.projects-kanban .project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(255, 30, 30, 0.2);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

:focus-visible {
    outline: 2px solid rgba(255, 30, 30, 0.65);
    outline-offset: 2px;
    box-shadow: 0 0 22px rgba(255, 30, 30, 0.35);
}

.brand__logo {
    transition: transform 0.6s ease;
}

.auth-hero:hover .brand__logo {
    transform: translateY(-6px);
}

@keyframes glowPulse {
    from {
        opacity: 0.55;
        transform: scale(1);
    }
    to {
        opacity: 0.95;
        transform: scale(1.05);
    }
}

@media (max-width: 1100px) {
    .auth-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        width: min(960px, 92vw);
    }
    .auth-hero,
    .auth-panel {
        padding: 2.6rem;
    }
    .auth-footer {
        flex-direction: column;
        align-items: stretch;
    }
}

/* REDESIGN PARA NOTEBOOKS PEQUENOS (1024px - 1200px) - AINDA MAIS COMPACTO */
@media (max-width: 1200px) and (min-width: 961px) {
    .auth-body {
        padding: 0.75rem;
        align-items: center;
        justify-content: center;
        height: 100vh;
        max-height: 100vh;
        overflow: hidden;
        overflow-y: auto;
        overflow-x: hidden;
    }
    
    .auth-layout {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
        gap: 0;
        max-width: 440px;
        width: 100%;
        height: 100%;
        max-height: 100vh;
        overflow: visible;
        align-content: center;
        justify-items: center;
    }
    
    /* Hero completamente oculto */
    .auth-hero {
        display: none !important;
    }
    
    .auth-panel {
        padding: 1.75rem 2rem;
        padding-right: 3rem; /* Espaço extra para a scrollbar - aumentado */
        border-radius: 20px;
        height: auto;
        max-height: calc(100vh - 1.5rem);
        gap: 0.85rem;
        width: 100%;
        box-sizing: border-box;
        overflow-y: auto;
        overflow-x: hidden;
    }
    
    /* Landing page - sem scroll no card e padding normal */
    .auth-panel:has(.landing-hero-card) {
        overflow: visible !important;
        max-height: none !important;
        padding-right: 2rem;
    }
    
    .auth-header {
        gap: 0.4rem;
        margin-bottom: 0;
    }
    
    .auth-header img {
        height: 2rem !important;
        margin-bottom: 0.2rem;
    }
    
    .auth-title {
        font-size: 1.35rem;
        line-height: 1.2;
    }
    
    .auth-subtitle {
        font-size: 0.75rem;
        line-height: 1.3;
        margin: 0.2rem 0 0;
    }
    
    /* Ocultar subtitle na landing page para notebooks */
    .auth-panel:has(.landing-hero-card) .auth-subtitle {
        display: none !important;
    }
    
    /* Ocultar description e features na landing page para notebooks */
    .landing-hero-card__description {
        display: none !important;
    }
    
    .landing-hero-card__features {
        display: none !important;
    }
    
    /* Ocultar form-helper (requisitos de senha) em notebooks */
    .form-helper {
        display: none !important;
    }
    
    .messages {
        margin: 0 0 0.65rem 0;
    }
    
    .message {
        padding: 0.6rem 0.75rem;
        font-size: 0.75rem;
        margin-bottom: 0.4rem;
    }
    
    .auth-content {
        gap: 0.85rem;
    }
    
    .auth-form {
        gap: 0.85rem;
    }
    
    .form-grid {
        gap: 0.65rem;
    }
    
    .form-grid--two {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.65rem;
    }
    
    .form-security {
        margin: 0;
    }
    
    .security-badges {
        gap: 0.35rem;
    }
    
    .security-badge {
        padding: 0.3rem 0.5rem;
        font-size: 0.65rem;
    }
    
    .form-actions {
        gap: 0.65rem;
        margin-top: 0;
    }
    
    .btn-auth {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
        border-radius: 12px;
    }
    
    .form-links {
        gap: 0.3rem;
    }
    
    .form-link {
        font-size: 0.7rem;
        padding: 0.35rem 0.45rem;
    }
    
    .form-link i {
        font-size: 0.65rem;
    }
    
    .auth-footer,
    .auth-footer__content {
        display: none !important;
    }
    
    .form-helper {
        padding: 0.65rem;
        font-size: 0.7rem;
        margin: 0;
    }
    
    .form-helper__icon {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .auth-message {
        padding: 0.6rem 0.75rem;
        font-size: 0.7rem;
    }
    
    .field__label {
        font-size: 0.8rem;
        margin-bottom: 0.35rem;
    }
    
    .input-text,
    .input-password {
        padding: 0.7rem 0.9rem;
        font-size: 0.85rem;
        border-radius: 10px;
    }
    
    .field__error {
        font-size: 0.65rem;
        margin-top: 0.3rem;
    }
    
    .auth-form__particles {
        display: none;
    }
    
    /* Ajustes específicos para formulário de registro em notebooks pequenos */
    .auth-form:has(.form-grid--two) {
        gap: 0.75rem;
    }
    
    .auth-form:has(.form-helper) {
        gap: 0.8rem;
    }
    
    .form-helper--modern {
        padding: 0.6rem 0.7rem;
        font-size: 0.65rem;
        line-height: 1.35;
    }
    
    .form-helper__content {
        gap: 0.15rem;
    }
    
    .form-helper__content strong {
        font-size: 0.65rem;
    }
    
    .form-helper__content span {
        font-size: 0.6rem;
    }
}

/* ============================================
   TABLETS (768px - 960px) - RESPONSIVO POR ALTURA E LARGURA
   Elementos mudam de coluna/linha conforme espaço
   Scroll sempre na página (direita), nunca no card
   ============================================ */
@media (max-width: 960px) and (min-width: 769px) {
    /* TABLET LANDSCAPE - mais largura, elementos em linha */
    @media (min-height: 600px) and (orientation: landscape) {
        /* Body - página fixa, scroll nos cards (exceto landing) */
        body.auth-body {
            overflow-y: hidden !important;
            overflow-x: hidden !important;
            height: 100vh !important;
            max-height: 100vh !important;
            position: fixed;
        }
        
        /* Landing - COM SCROLL suave e elegante */
        body.auth-body:has(.landing-hero-card) {
            overflow-y: auto !important;
            overflow-x: hidden !important;
            height: auto !important;
            min-height: 100vh !important;
            max-height: none !important;
            position: relative !important;
        }
        
        .auth-body {
            padding: 1rem;
            height: 100vh;
            max-height: 100vh;
            overflow-y: hidden;
            overflow-x: hidden;
        }
        
        /* Landing - COM SCROLL suave e elegante */
        .auth-body:has(.landing-hero-card) {
            overflow-y: auto;
            overflow-x: hidden;
            min-height: 100vh;
            height: auto;
            padding: 1.5rem;
            background: linear-gradient(135deg, 
                rgba(10, 10, 15, 0.98) 0%,
                rgba(15, 15, 20, 0.98) 50%,
                rgba(10, 10, 15, 0.98) 100%
            );
        }
        
        /* Scrollbar customizada para landing */
        .auth-body:has(.landing-hero-card)::-webkit-scrollbar {
            width: 12px;
        }
        
        .auth-body:has(.landing-hero-card)::-webkit-scrollbar-thumb {
            background: linear-gradient(180deg, 
                rgba(139, 92, 246, 0.6), 
                rgba(99, 102, 241, 0.5),
                rgba(139, 92, 246, 0.6)
            );
            border-radius: 10px;
        }
        
        /* Layout - NÃO usar 100% da largura */
        .auth-layout {
            grid-template-columns: 1fr;
            gap: 0.75rem;
            max-width: 600px; /* LIMITADO - não 100% */
            width: 100%;
            margin: 0 auto;
            overflow: visible;
            min-height: auto;
        }
        
        /* Landing layout - COM SCROLL, altura automática */
        .auth-layout:has(.landing-hero-card) {
            max-width: 700px;
            min-height: calc(100vh - 3rem);
            padding: 1rem 0;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        
        .auth-hero {
            display: none !important;
        }
        
        /* Login e Registro - largura limitada com scroll interno */
        .auth-panel:not(:has(.landing-hero-card)) {
            max-width: 600px;
            width: 100%;
            margin: 0 auto;
            padding: 1.25rem 1.75rem;
            padding-right: 2.75rem; /* Espaço extra para a scrollbar - aumentado */
            box-sizing: border-box;
            overflow-y: auto;
            overflow-x: hidden;
            border-radius: 20px;
            gap: 0.85rem;
            max-height: calc(100vh - 2rem);
        }
        
        /* Landing - sem scroll no card */
        .auth-panel:has(.landing-hero-card) {
            max-width: 100%;
            width: 100%;
            overflow: visible;
            border-radius: 20px;
            gap: 0.85rem;
            padding-right: 1.75rem;
        }
        
        /* Registro - pode usar mais largura (próximo de 100%) */
        .auth-panel:has(.form-grid--two) {
            max-width: 90%;
        }
        
        /* Landing panel - COM SCROLL, altura automática */
        .auth-panel:has(.landing-hero-card) {
            max-width: 100%;
            width: 100%;
            padding: 2rem 2.5rem;
            border-radius: 28px;
            box-shadow: 
                0 24px 80px rgba(0, 0, 0, 0.6),
                0 0 0 1px rgba(255, 255, 255, 0.08) inset,
                0 12px 48px rgba(139, 92, 246, 0.2);
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
            overflow: visible;
            margin-bottom: 2rem;
        }
        
        .auth-content:has(.landing-hero-card) {
            overflow: visible;
            display: flex;
            flex-direction: column;
            gap: 0;
        }
        
        .landing-hero-card {
            padding: 2.5rem 2rem;
            width: 100%;
            border-radius: 24px;
            box-sizing: border-box;
            display: flex;
            flex-direction: column;
            gap: 1.75rem;
            position: relative;
            overflow: visible;
        }
        
        /* Comprimir mais elementos */
        .auth-header {
            gap: 0.4rem;
        }
        
        .auth-header img {
            height: 2rem !important;
        }
        
        .auth-title {
            font-size: 1.35rem;
        }
        
        .auth-subtitle {
            font-size: 0.75rem;
        }
        
        /* Ocultar subtitle na landing page para tablets */
        .auth-panel:has(.landing-hero-card) .auth-subtitle {
            display: none !important;
        }
        
        /* Ocultar description e features na landing page para tablets */
        .landing-hero-card__description {
            display: none !important;
        }
        
        .landing-hero-card__features {
            display: none !important;
        }
        
        /* Content com scroll interno nos cards de login/registro */
        .auth-content:not(:has(.landing-hero-card)) {
            gap: 0.85rem;
            overflow-y: auto;
            overflow-x: hidden;
            flex: 1;
            min-height: 0;
        }
        
        /* Landing - sem scroll no content */
        .auth-content:has(.landing-hero-card) {
            gap: 0.85rem;
            overflow: visible;
        }
        
        .auth-form {
            gap: 0.85rem;
        }
        
        .form-grid {
            gap: 0.7rem;
        }
        
        /* Form grid em linha quando espaço permite */
        .form-grid--two {
            grid-template-columns: repeat(2, 1fr);
            gap: 0.7rem;
        }
        
        .form-links {
            flex-direction: row;
            flex-wrap: wrap;
            justify-content: center;
            gap: 0.5rem;
        }
        
        .security-badges {
            flex-direction: row;
            flex-wrap: wrap;
            gap: 0.4rem;
        }
        
        .btn-auth {
            padding: 0.8rem 1.4rem;
            font-size: 0.85rem;
        }
    }
    
    /* TABLET PORTRAIT ou altura pequena - elementos em coluna */
    @media (max-height: 599px) or (orientation: portrait) {
        /* Body - scroll apenas se necessário, mas landing SEM SCROLL */
        .auth-body {
            padding: 1rem;
            overflow-y: auto;
            overflow-x: hidden;
            position: relative;
            min-height: 100vh;
            height: auto;
        }
        
        /* Body - página fixa, scroll nos cards (exceto landing) */
        body.auth-body {
            overflow-y: hidden !important;
            overflow-x: hidden !important;
            height: 100vh !important;
            max-height: 100vh !important;
            position: fixed;
        }
        
        /* Landing - COM SCROLL suave e elegante */
        body.auth-body:has(.landing-hero-card) {
            overflow-y: auto !important;
            overflow-x: hidden !important;
            height: auto !important;
            min-height: 100vh !important;
            max-height: none !important;
            position: relative !important;
        }
        
        .auth-body {
            padding: 1.25rem;
            height: 100vh;
            max-height: 100vh;
            overflow-y: hidden;
            overflow-x: hidden;
        }
        
        /* Landing - COM SCROLL suave e elegante */
        .auth-body:has(.landing-hero-card) {
            overflow-y: auto;
            overflow-x: hidden;
            min-height: 100vh;
            height: auto;
            background: linear-gradient(135deg, 
                rgba(10, 10, 15, 0.98) 0%,
                rgba(15, 15, 20, 0.98) 50%,
                rgba(10, 10, 15, 0.98) 100%
            );
        }
        
        /* Scrollbar customizada para landing */
        .auth-body:has(.landing-hero-card)::-webkit-scrollbar {
            width: 12px;
        }
        
        .auth-body:has(.landing-hero-card)::-webkit-scrollbar-thumb {
            background: linear-gradient(180deg, 
                rgba(139, 92, 246, 0.6), 
                rgba(99, 102, 241, 0.5),
                rgba(139, 92, 246, 0.6)
            );
            border-radius: 10px;
        }
        
        /* Layout - NÃO usar 100% da largura */
        .auth-layout {
            grid-template-columns: 1fr;
            gap: 0.75rem;
            max-width: 550px; /* LIMITADO - não 100% */
            width: 100%;
            margin: 0 auto;
            overflow: visible;
            min-height: auto;
        }
        
        /* Landing layout - COM SCROLL, altura automática */
        .auth-layout:has(.landing-hero-card) {
            max-width: 650px;
            min-height: calc(100vh - 2.5rem);
            padding: 1rem 0;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        
        .auth-hero {
            display: none !important;
        }
        
        /* Login e Registro - largura limitada com scroll interno */
        .auth-panel:not(:has(.landing-hero-card)) {
            max-width: 550px;
            width: 100%;
            margin: 0 auto;
            padding: 1.15rem 1.5rem;
            padding-right: 2.5rem; /* Espaço extra para a scrollbar - aumentado */
            box-sizing: border-box;
            overflow-y: auto;
            overflow-x: hidden;
            border-radius: 18px;
            gap: 0.75rem;
            max-height: calc(100vh - 2.5rem);
        }
        
        /* Landing - sem scroll no card */
        .auth-panel:has(.landing-hero-card) {
            max-width: 100%;
            width: 100%;
            overflow: visible;
            border-radius: 18px;
            gap: 0.75rem;
            padding-right: 1.5rem;
        }
        
        /* Registro - pode usar mais largura */
        .auth-panel:has(.form-grid--two) {
            max-width: 85%;
        }
        
        /* Landing panel - COM SCROLL, altura automática */
        .auth-panel:has(.landing-hero-card) {
            max-width: 100%;
            width: 100%;
            padding: 1.75rem 2rem;
            border-radius: 28px;
            box-shadow: 
                0 24px 80px rgba(0, 0, 0, 0.6),
                0 0 0 1px rgba(255, 255, 255, 0.08) inset,
                0 12px 48px rgba(139, 92, 246, 0.2);
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
            overflow: visible;
            margin-bottom: 2rem;
        }
        
        .auth-content:has(.landing-hero-card) {
            overflow: visible;
            display: flex;
            flex-direction: column;
            gap: 0;
        }
        
        .landing-hero-card {
            padding: 2rem 1.75rem;
            width: 100%;
            border-radius: 24px;
            box-sizing: border-box;
            display: flex;
            flex-direction: column;
            gap: 1.75rem;
            position: relative;
            overflow: visible;
        }
        
        /* Comprimir ainda mais */
        .auth-header {
            gap: 0.35rem;
        }
        
        .auth-header img {
            height: 1.9rem !important;
        }
        
        .auth-title {
            font-size: 1.3rem;
        }
        
        .auth-subtitle {
            font-size: 0.7rem;
        }
        
        /* Ocultar subtitle na landing page para tablets */
        .auth-panel:has(.landing-hero-card) .auth-subtitle {
            display: none !important;
        }
        
        /* Ocultar description e features na landing page para tablets */
        .landing-hero-card__description {
            display: none !important;
        }
        
        .landing-hero-card__features {
            display: none !important;
        }
        
        .auth-content {
            gap: 0.75rem;
        }
        
        .auth-form {
            gap: 0.75rem;
        }
        
        .form-grid {
            gap: 0.65rem;
        }
        
        /* Form grid sempre em coluna quando altura pequena */
        .form-grid--two {
            grid-template-columns: 1fr;
            gap: 0.65rem;
        }
        
        .form-links {
            flex-direction: column;
            gap: 0.45rem;
        }
        
        .security-badges {
            flex-direction: row;
            flex-wrap: wrap;
            gap: 0.35rem;
        }
        
        .btn-auth {
            padding: 0.75rem 1.25rem;
            font-size: 0.8rem;
        }
    }
    
    /* Altura muito pequena - ultra compacto */
    @media (max-height: 500px) {
        .auth-panel {
            padding: 1rem 1.5rem;
            gap: 0.65rem;
        }
        
        .auth-header {
            gap: 0.3rem;
        }
        
        .auth-title {
            font-size: 1.2rem;
        }
        
        .auth-subtitle {
            font-size: 0.7rem;
        }
        
        .form-grid {
            gap: 0.5rem;
        }
        
        .form-grid--two {
            grid-template-columns: 1fr;
            gap: 0.5rem;
        }
    }
    
    /* Estilos base para tablets - mais comprimidos */
    /* GARANTIR que layout NÃO use 100% da largura */
    .auth-layout {
        max-width: 600px !important; /* Forçar limite */
        width: 100% !important;
        margin: 0 auto !important;
    }
    
    /* Registro pode usar mais largura */
    .auth-layout:has(.form-grid--two) {
        max-width: 90% !important;
    }
    
    /* Landing - largura otimizada para tablets */
    .auth-layout:has(.landing-hero-card) {
        max-width: 700px !important;
    }
    
    .auth-header {
        gap: 0.4rem;
        margin-bottom: 0;
    }
    
    .auth-header img {
        height: 2rem !important;
    }
    
    .auth-title {
        font-size: 1.4rem;
        line-height: 1.2;
    }
    
    .auth-subtitle {
        font-size: 0.75rem;
        line-height: 1.3;
    }
    
    .auth-content {
        gap: 0.85rem;
        overflow: visible;
    }
    
    .auth-content:has(.landing-hero-card) {
        overflow: visible;
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    
    .auth-form {
        gap: 0.85rem;
        overflow: visible;
    }
    
    .form-grid {
        gap: 0.7rem;
    }
    
    .form-security {
        margin: 0;
    }
    
    .security-badges {
        gap: 0.4rem;
        justify-content: center;
    }
    
    .security-badge {
        padding: 0.35rem 0.6rem;
        font-size: 0.7rem;
    }
    
    .form-actions {
        gap: 0.75rem;
        margin-top: 0;
        display: flex !important;
        flex-direction: column;
    }
    
    .btn-auth {
        padding: 0.85rem 1.4rem;
        font-size: 0.85rem;
        width: 100%;
        display: flex !important;
    }
    
    .form-links {
        gap: 0.5rem;
        display: flex !important;
        width: 100%;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .form-link {
        font-size: 0.75rem;
        padding: 0.45rem 0.65rem;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .field__label {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }
    
    .input-text,
    .input-password {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .auth-footer,
    .auth-footer__content {
        display: none !important;
    }
    
    .auth-form__particles {
        display: none;
    }
    
    /* Landing - remover espaço fantasma */
    .landing-hero-card__content {
        flex: 1;
        min-height: 0;
        overflow: visible;
    }
    
    .landing-hero-card__actions {
        flex-shrink: 0;
        margin-top: auto;
    }
}

/* ============================================
   MOBILE (até 768px) - RESPONSIVO POR ALTURA
   Elementos sempre em coluna
   Scroll sempre na página
   ============================================ */
@media (max-width: 768px) {
    .auth-body {
        padding: 1rem;
        overflow-y: auto; /* Scroll na página */
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }
    
    .auth-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 100%;
        padding: 0;
        overflow: visible;
    }
    
    .auth-hero {
        display: none !important;
    }
    
    /* Mobile com altura normal */
    @media (min-height: 600px) {
        .auth-panel {
            padding: 1.75rem;
            width: 100%;
            max-width: 100%;
            box-sizing: border-box;
            overflow: visible;
            border-radius: 20px;
        }
    }
    
    /* Mobile com altura pequena - compacto */
    @media (max-height: 599px) {
        .auth-panel {
            padding: 1.25rem;
            width: 100%;
            max-width: 100%;
            box-sizing: border-box;
            overflow: visible;
            border-radius: 16px;
            gap: 0.85rem;
        }
        
        .auth-header {
            gap: 0.4rem;
        }
        
        .auth-title {
            font-size: 1.3rem;
        }
        
        .auth-subtitle {
            font-size: 0.75rem;
        }
        
        .form-grid {
            gap: 0.65rem;
        }
        
        .form-grid--two {
            grid-template-columns: 1fr;
            gap: 0.65rem;
        }
    }
    
    .auth-footer {
        flex-direction: column;
        align-items: stretch;
    }
    
    .auth-footer__stats {
        grid-template-columns: 1fr;
    }
    
    /* Elementos sempre em coluna no mobile */
    .form-grid--two {
        grid-template-columns: 1fr;
    }
    
    .form-links {
        flex-direction: column;
    }
    
    .security-badges {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Mobile médio (481px - 720px) - Responsivo por altura */
@media (max-width: 720px) and (min-width: 481px) {
    .auth-body {
        padding: 0.75rem;
        overflow-y: auto; /* Scroll na página */
    }
    
    .auth-layout {
        gap: 0.85rem;
        overflow: visible;
    }
    
    .auth-hero {
        display: none !important;
    }
    
    /* Altura normal - layout padrão */
    @media (min-height: 600px) {
        .auth-panel {
            padding: 1.5rem;
            border-radius: 20px;
            overflow: visible;
        }
        
        /* Se largura permite, elementos em linha */
        .form-grid--two {
            grid-template-columns: repeat(2, 1fr);
        }
        
        .form-links {
            flex-direction: row;
            flex-wrap: wrap;
        }
    }
    
    /* Altura pequena - sempre coluna */
    @media (max-height: 599px) {
        .auth-panel {
            padding: 1.25rem;
            border-radius: 18px;
            overflow: visible;
            gap: 0.75rem;
        }
        
        .form-grid--two {
            grid-template-columns: 1fr;
        }
        
        .form-links {
            flex-direction: column;
        }
    }
}

/* Mobile pequeno (até 480px) - Sempre coluna, ultra compacto */
@media (max-width: 480px) {
    .auth-body {
        padding: 0.75rem;
        overflow-y: auto; /* Scroll na página */
    }
    
    .auth-layout {
        gap: 0.75rem;
        overflow: visible;
    }
    
    .auth-hero {
        display: none !important;
    }
    
    /* Altura normal */
    @media (min-height: 550px) {
        .auth-panel {
            padding: 1.25rem;
            border-radius: 18px;
            overflow: visible;
        }
    }
    
    /* Altura pequena - ultra compacto */
    @media (max-height: 549px) {
        .auth-panel {
            padding: 1rem;
            border-radius: 16px;
            overflow: visible;
            gap: 0.65rem;
        }
        
        .auth-header {
            gap: 0.3rem;
        }
        
        .auth-title {
            font-size: 1.2rem;
        }
        
        .auth-subtitle {
            font-size: 0.7rem;
        }
        
        .form-grid {
            gap: 0.5rem;
        }
    }
    
    /* Sempre coluna no mobile pequeno */
    .form-grid--two {
        grid-template-columns: 1fr;
    }
    
    .form-links {
        flex-direction: column;
    }
    
    .security-badges {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}

.auth-panel.card::before {
    display: none;
}

.animate-wrap {
    display: grid;
    gap: 1.5rem;
}

.tickets-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1200px) {
    .tickets-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .tickets-list {
        grid-template-columns: 1fr;
    }
}

.animate-item {
    animation: fadeSlideUp 0.7s ease forwards;
    opacity: 0;
    transform: translateY(16px);
}

.animate-wrap > .animate-item {
    opacity: 1;
    transform: none;
}


.overview-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.metric-card {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.6rem;
    border-radius: 22px;
    background: linear-gradient(140deg, rgba(18, 18, 18, 0.9), rgba(35, 35, 35, 0.78));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
}

.metric-card--primary {
    background: linear-gradient(135deg, rgba(255, 30, 30, 0.35), rgba(12, 12, 12, 0.9));
    border-color: rgba(255, 30, 30, 0.28);
}

/* .metric-card--progress {
    justify-content: space-between;
} */

.metric-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.85);
}

.metric-card__icon svg {
    width: 1.8rem;
    height: 1.8rem;
}

.metric-card__icon--pulse {
    background: linear-gradient(135deg, rgba(255, 30, 30, 0.6), rgba(114, 0, 0, 0.7));
    box-shadow: 0 16px 32px rgba(255, 30, 30, 0.25);
}

.metric-card__icon--alert {
    color: #FF4D4F;
    background: rgba(255, 77, 79, 0.1);
}

.metric-card__icon--info {
    color: #0EA5E9;
    background: rgba(14, 165, 233, 0.12);
}

.metric-card__icon--progress {
    background: rgba(255, 255, 255, 0.05);
}

.metric-card__label {
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.metric-card__value {
    font-size: 1.6rem;
    font-weight: 600;
    margin: 0.3rem 0;
}

.metric-card__hint {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.85rem;
}

.progress-ring {
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
    background: conic-gradient(var(--color-primary) calc(var(--progress, 0) * 1%), rgba(255, 255, 255, 0.1) 0);
    position: relative;
}

.progress-ring::after {
    content: "";
    position: absolute;
    inset: 0.4rem;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.4);
}

.subtitle {
    margin: 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.85rem;
}

.status-list {
    display: grid;
    gap: 1rem;
}

.status-row {
    display: grid;
    grid-template-columns: 1fr auto 3rem;
    align-items: center;
    gap: 1rem;
}

.status-info {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-primary);
    box-shadow: 0 0 12px rgba(255, 30, 30, 0.32);
}

.status-bar {
    position: relative;
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.status-bar__fill {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(255, 30, 30, 0.6), rgba(114, 0, 0, 0.8));
    width: calc(var(--percent) * 1%);
}

.status-value {
    font-weight: 600;
}

.timeline {
    list-style: none;
    margin: 1.2rem 0 0;
    padding: 0;
    display: grid;
    gap: 1.1rem;
}

.timeline li {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
}

.timeline-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 30, 30, 0.8);
    box-shadow: 0 0 16px rgba(255, 30, 30, 0.36);
}

.timeline-content {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.timeline-title {
    margin: 0;
    font-weight: 600;
}

.timeline-meta {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.timeline-side {
    display: grid;
    gap: 0.2rem;
    text-align: right;
}

.timeline-date {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.timeline-value {
    font-weight: 600;
}

.project-overview header,
.project-highlight-strip header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.project-grid {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    margin-top: 1.5rem;
}

.project-mini-card,
.highlight-card {
    background: rgba(18, 18, 18, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.project-mini-card:hover,
.highlight-card:hover,
.finance-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(255, 30, 30, 0.18);
}

.project-mini-card__icon,
.highlight-card__icon {
    width: 3rem;
    height: 3rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.75);
}

.project-mini-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.project-mini-card__meta {
    margin: 0;
    color: rgba(255, 255, 255, 0.58);
}

.project-mini-card__actions,
.highlight-card__actions {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.progress-track {
    position: relative;
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.progress-track--slim {
    height: 8px;
}

.progress-track__fill {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(255, 30, 30, 0.6), rgba(114, 0, 0, 0.75));
    width: calc(var(--progress) * 1%);
}

.project-mini-card__progress,
.highlight-card__progress {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.62);
}

.project-highlight-strip {
    margin-bottom: 2rem;
}

.highlight-strip__items {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.finance-shell {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.finance-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.finance-tabs {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
}

.finance-tabs button {
    padding: 0.75rem 1.4rem;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: var(--transition-snappy);
}

/* Ocultar botões de Lista e Calendário em telas menores que 760px */
@media (max-width: 759px) {
    .finance-tab-list,
    .finance-tab-calendar {
        display: none !important;
    }
    
    .finance-tabs {
        justify-content: center;
    }
    
    /* Ocultar seções de Lista e Calendário */
    .panel--list,
    .panel--calendar {
        display: none !important;
    }
}

.finance-tabs button.active {
    background: linear-gradient(135deg, rgba(255, 30, 30, 0.45), rgba(114, 0, 0, 0.32));
    color: var(--color-text-primary);
}

.finance-toolbar__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    font-size: 0.8rem;
    letter-spacing: 0.04em;
}

.panel {
    background: rgba(18, 18, 18, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 1.8rem;
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
}

.finance-card {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    padding: 1.6rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(20, 20, 20, 0.9);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    margin-bottom: 1.5rem;
}

.finance-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.finance-card__title {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.finance-card__icon {
    width: 3rem;
    height: 3rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.75);
}

.finance-card__icon svg {
    width: 1.6rem;
    height: 1.6rem;
}

.finance-card__stats {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.finance-card__stats .value {
    font-size: 1.1rem;
    font-weight: 600;
}

.finance-card__progress {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.progress-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.finance-card__items {
    display: grid;
    gap: 0.9rem;
}

.finance-card__item {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 0.75rem;
    padding: 0.9rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    min-width: 0;
    overflow: hidden;
}

@media (min-width: 640px) {
    .finance-card__item {
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 1rem;
        padding: 0.9rem 1rem;
    }
}

.finance-card__item-icon {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.75);
    transition: var(--transition-snappy);
}

.finance-card__item-icon.is-overdue {
    background: rgba(210, 20, 20, 0.15);
    color: #FF4D4F;
}

.finance-card__item-body {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.finance-card__item-body h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    min-width: 0;
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
}

.finance-card__item-body p {
    margin: 0.2rem 0 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    min-width: 0;
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
}

.finance-card__item-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
    width: 100%;
    min-width: 0;
    grid-column: 1 / -1;
}

@media (min-width: 640px) {
    .finance-card__item-actions {
        grid-column: auto;
        width: auto;
        min-width: 200px;
    }
}

.finance-card__item-value {
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.finance-card__item-actions > .badge {
    white-space: nowrap;
    flex-shrink: 0;
    min-width: fit-content;
}

.finance-card__item-actions > div:first-child {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    min-width: 0;
    flex-wrap: wrap;
}

.finance-card__item-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    width: 100%;
    min-width: 0;
}

.finance-card__item-buttons .btn {
    min-width: fit-content;
    flex: 1 1 auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 480px) {
    .finance-card__item-buttons .btn {
        flex: 1 1 100%;
        min-width: 100%;
    }
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.calendar-toggle {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.calendar-toggle button {
    padding: 0.6rem 1rem;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
}

.calendar-toggle button.active {
    background: linear-gradient(135deg, rgba(255, 30, 30, 0.45), rgba(114, 0, 0, 0.32));
    color: var(--color-text-primary);
}

.calendar-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.calendar-nav button {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.75);
    cursor: pointer;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 0.6rem;
}

.calendar-month-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.5rem;
}

.calendar-day {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    padding: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: var(--transition-snappy);
    min-width: 0;
    overflow: hidden;
}

.calendar-day.has-items {
    box-shadow: inset 0 0 0 1px rgba(255, 30, 30, 0.25);
}

.calendar-day.is-outside {
    opacity: 0.35;
}

.calendar-day.is-today {
    border-color: rgba(255, 30, 30, 0.45);
    box-shadow: 0 0 18px rgba(255, 30, 30, 0.2);
}

.calendar-day header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-width: 0;
}

.calendar-day__number {
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.calendar-day__total {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
    flex-shrink: 0;
}

.calendar-day__items {
    display: grid;
    gap: 0.4rem;
}

.calendar-tag {
    padding: 0.4rem 0.6rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.75rem;
    min-width: 0;
    overflow: hidden;
}

.calendar-tag > div:first-child {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    min-width: 0;
    gap: 0.5rem;
}

.calendar-tag > div:first-child > div:first-child {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.calendar-tag > div:first-child > div:first-child span,
.calendar-tag > div:first-child > div:first-child strong {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.calendar-tag > div:last-child {
    display: flex;
    gap: 0.25rem;
    flex-wrap: wrap;
    width: 100%;
    align-items: center;
}

.calendar-tag.is-overdue {
    border-color: rgba(255, 77, 79, 0.45);
    background: rgba(255, 77, 79, 0.1);
}

.calendar-week {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 1rem;
}

.calendar-week__column {
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.calendar-week__column.is-today {
    border-color: rgba(255, 30, 30, 0.38);
    box-shadow: 0 0 20px rgba(255, 30, 30, 0.2);
}

.calendar-week__column header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.calendar-week__items {
    display: grid;
    gap: 0.8rem;
}

.calendar-week__card {
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.9rem;
    display: grid;
    gap: 0.4rem;
}

.calendar-week__card.is-overdue {
    border-color: rgba(255, 77, 79, 0.45);
    background: rgba(255, 77, 79, 0.12);
}

.kanban-column {
    background: rgba(18, 18, 18, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
    overflow: hidden;
}

.kanban-column header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-width: 0;
    overflow: hidden;
}

.kanban-column header h4,
.kanban-column header p {
    min-width: 0;
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
}

.kanban-cards {
    display: grid;
    gap: 1rem;
}

.kanban-card {
    padding: 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: grid;
    gap: 0.8rem;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.kanban-card.is-overdue {
    border-color: rgba(255, 77, 79, 0.45);
    background: rgba(255, 77, 79, 0.12);
}

.kanban-card__head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.kanban-card__head > div {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.kanban-card__head h5,
.kanban-card__head p {
    min-width: 0;
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
}

.kanban-card__icon {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.kanban-card__meta {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    min-width: 0;
}

.kanban-card__meta .badge {
    white-space: nowrap;
    flex-shrink: 0;
    min-width: fit-content;
}

.badge {
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.badge--muted {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.6);
}

.kanban-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- STATUS COLORS (igual ao Notion) --- */
.status-pill {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: none;
    display: inline-block;
    color: #fff;
}

/* Status Pills com cores específicas */
.status-pill--info {
    background: #3b82f6 !important;
    color: #fff !important;
    border: 1px solid rgba(59, 130, 246, 0.5) !important;
}

.status-pill--warning {
    background: #f59e0b !important;
    color: #fff !important;
    border: 1px solid rgba(245, 158, 11, 0.5) !important;
}

.status-pill--success {
    background: #10b981 !important;
    color: #fff !important;
    border: 1px solid rgba(16, 185, 129, 0.5) !important;
}

.status-pill--error {
    background: #ef4444 !important;
    color: #fff !important;
    border: 1px solid rgba(239, 68, 68, 0.5) !important;
}


/* --- TO-DO --- */
.status-Em_Análise {
    background: #D5AA1A;
    color: #fff;
}

.status-Negociação {
    background: #4795E9;
    color: #fff;
}

/* --- Azul forte --- */
.status-Aguardando_Resposta {
    background: #4795E9;
    color: #fff;
}

.status-Aguardando_Orçamento {
    background: #4795E9;
    color: #fff;
}

.status-Aguardando_Aprovação {
    background: #4795E9;
    color: #fff;
}

/* --- Amarelo --- */
.status-Aguardando_Pagamento {
    background: #C79E2D;
    color: #fff;
}

/* --- Cinza --- */
.status-Aprovado {
    background: #9E9E9E;
    color: #fff;
}

/* --- IN PROGRESS --- */
.status-Planejamento {
    background: #5BB4F0;
    color: #fff;
}

.status-Em_Progresso {
    background: #B35C82;
    color: #fff;
}

.status-Pausado {
    background: #8C62D0;
    color: #fff;
}

/* --- COMPLETE --- */
.status-Aguardando_Nota_Fiscal {
    background: #C58437;
    color: #fff;
}

.status-Finalizado {
    background: #41A36A;
    color: #fff;
}

.status-Cancelado {
    background: #D44848;
    color: #fff;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {

    .modal__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .modal__header button {
        width: 90%;
        text-align: center;
    }
    
    .calendar-week {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .calendar-month-grid {
        gap: 0.35rem;
    }

    .main-area {
        padding: 1rem;
    }

    .main-header {
        display: block !important;
    }

    .overview-grid {
        grid-template-columns: 1fr;
    }
    .finance-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    .calendar-week {
        grid-template-columns: 1fr;
    }
    .project-grid,
    .highlight-strip__items {
        grid-template-columns: 1fr;
    }
}

.project-card__head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.project-card__icon {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.75);
}

.project-card__icon svg {
    width: 1.4rem;
    height: 1.4rem;
}

.project-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.project-card__progress {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.project-card__meta {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.project-card__actions {
    display: flex;
    gap: 0.6rem;
    margin-top: auto;
}








































/* ---------------------------
   SIDEBAR COLAPSÁVEL PREMIUM
----------------------------*/

/* Botão fixado */
.sidebar-toggle {
    position: absolute;
    top: 1.4rem;
    right: -14px;
    z-index: 9999;
    width: 32px;
    height: 32px;
    border-radius: 10px;

    background: rgba(255,255,255,0.08);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.15);

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    transition: 0.3s ease;
}


.sidebar-toggle:hover {
    background: rgba(255,255,255,0.12);
}

/* --------------------------
   COLAPSE MODE
---------------------------*/
.sidebar--collapsed {
    --sidebar-width: 5rem !important;
    width: 5rem !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

/* Esconde textos, mantém ícones centralizados */
/* Esconde todos os textos, EXCETO o logo */
.sidebar--collapsed .sidebar__brand div,
.sidebar--collapsed .nav__item span,
.sidebar--collapsed .sidebar__footer-text,
.sidebar--collapsed .sidebar-logout-btn span,
.sidebar--collapsed .sidebar-support-btn span,
.sidebar--collapsed .sidebar-update-btn span {
    display: none !important;
}

/* Ícones centralizados */
.sidebar--collapsed .nav__item {
    justify-content: center !important;
    padding: 0.9rem !important;
}

.sidebar--collapsed .nav__item .nav__icon {
    margin-right: 0 !important;
}

/* Botões do footer centralizados quando colapsado */
.sidebar--collapsed .sidebar-logout-btn,
.sidebar--collapsed .sidebar-support-btn,
.sidebar--collapsed .sidebar-update-btn {
    justify-content: center !important;
    padding: 1rem !important;
    gap: 0 !important;
}

.sidebar--collapsed .sidebar-logout-btn span,
.sidebar--collapsed .sidebar-support-btn span,
.sidebar--collapsed .sidebar-update-btn span {
    display: none !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

.sidebar--collapsed .sidebar-logout-btn i,
.sidebar--collapsed .sidebar-support-btn i,
.sidebar--collapsed .sidebar-update-btn i {
    margin-right: 0 !important;
    margin-left: 0 !important;
}

/* Garante que o container do botão de atualizar também centraliza */
.sidebar--collapsed .sidebar-sync-block {
    display: flex;
    justify-content: center;
}

.sidebar--collapsed .sidebar-sync-block .sidebar-update-btn {
    width: auto;
    min-width: auto;
}

/* Ajusta o footer para continuar aparecendo */
.sidebar--collapsed .sidebar__footer {
    align-items: center;
}

/* Ajustes específicos quando o sidebar está colapsado */
.sidebar--collapsed .brand__logo--expanded {
    display: none !important;
}

.sidebar--collapsed .brand__logo--collapsed {
    display: block !important;
    height: 2.9rem !important;
    width: 2.9rem !important;
    transition: 0.25s ease;
}

.sidebar:not(.sidebar--collapsed) .brand__logo--expanded {
    display: block !important;
}

.sidebar:not(.sidebar--collapsed) .brand__logo--collapsed {
    display: none !important;
}

.sidebar--collapsed .sidebar__brand {
    padding-top: 2rem !important;
    padding-bottom: 1.5rem !important;
    justify-content: center !important;
    transition: 0.25s ease;
}

.sidebar--collapsed .nav__icon {
    width: auto !important;      /* remove largura fixa */
    min-width: unset !important; /* remove travas antigas */
    height: 1.6rem;              /* mantém altura proporcional */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Remove o efeito de deslocamento lateral no modo colapsado */
.sidebar--collapsed .nav__item:hover .nav__icon {
    transform: none !important;
}


/* ------------------------------
   EXPANSÃO DO CONTEÚDO AO COLAPSAR O SIDEBAR
--------------------------------*/

/* Quando a classe global estiver ativa */
.app-shell.sidebar-collapsed {
    grid-template-columns: 5rem 1fr !important;
}

/* Ajusta o sidebar recolhido */
.sidebar--collapsed {
    --sidebar-width: 5rem !important;
    width: 5rem !important;
}

/* Aplica estado ANTES do Alpine.js inicializar (evita flash) */
html.sidebar-persist-collapsed .app-shell {
    grid-template-columns: 5rem 1fr !important;
}

html.sidebar-persist-collapsed .sidebar {
    --sidebar-width: 5rem !important;
    width: 5rem !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

html.sidebar-persist-collapsed .sidebar .brand__logo--expanded {
    display: none !important;
}

html.sidebar-persist-collapsed .sidebar .brand__logo--collapsed {
    display: block !important;
    height: 2.9rem !important;
    width: 2.9rem !important;
}

html.sidebar-persist-collapsed .sidebar .nav__item span,
html.sidebar-persist-collapsed .sidebar .sidebar__footer-text,
html.sidebar-persist-collapsed .sidebar .sidebar-logout-btn span,
html.sidebar-persist-collapsed .sidebar .sidebar-support-btn span,
html.sidebar-persist-collapsed .sidebar .sidebar-update-btn span {
    display: none !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

html.sidebar-persist-collapsed .sidebar .nav__item {
    justify-content: center !important;
    padding: 0.9rem !important;
}

html.sidebar-persist-collapsed .sidebar .nav__item .nav__icon {
    margin-right: 0 !important;
}

html.sidebar-persist-collapsed .sidebar .sidebar-logout-btn,
html.sidebar-persist-collapsed .sidebar .sidebar-support-btn,
html.sidebar-persist-collapsed .sidebar .sidebar-update-btn {
    justify-content: center !important;
    padding: 1rem !important;
    gap: 0 !important;
}

html.sidebar-persist-collapsed .sidebar .sidebar-logout-btn i,
html.sidebar-persist-collapsed .sidebar .sidebar-support-btn i,
html.sidebar-persist-collapsed .sidebar .sidebar-update-btn i {
    margin-right: 0 !important;
    margin-left: 0 !important;
}

html.sidebar-persist-collapsed .sidebar .sidebar-sync-block {
    display: flex;
    justify-content: center;
}

html.sidebar-persist-collapsed .sidebar .sidebar-sync-block .sidebar-update-btn {
    width: auto;
    min-width: auto;
}

/* Ocultar background, border e box-shadow do ÍCONE do nav_item--overview quando menu recolhido */
.sidebar--collapsed .nav__item--overview .nav__icon,
html.sidebar-persist-collapsed .sidebar .nav__item--overview .nav__icon {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.sidebar--collapsed .nav__item--overview .nav__icon::after,
html.sidebar-persist-collapsed .sidebar .nav__item--overview .nav__icon::after {
    display: none !important;
}













/* ---------------------------
   MOBILE TOP BAR PREMIUM
----------------------------*/
.mobile-topbar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9000;
    background: linear-gradient(140deg, rgba(20,20,20,0.92), rgba(10,10,10,0.9));
    backdrop-filter: blur(18px);
    padding: 1rem 1.4rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 18px 40px rgba(0,0,0,0.45);
    justify-content: space-between;
    align-items: center;
}

.mobile-topbar__left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-logo {
    width: 3rem !important;
    height: 3rem !important;
    font-size: 1.2rem;
}

.mobile-menu-btn {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.05);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ---------------------------
   SIDEBAR OFFCANVAS
----------------------------*/
/* Menu mobile fechado */
.sidebar--mobile {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    z-index: 99999;
    background: linear-gradient(160deg, rgba(20,20,20,0.97), rgba(10,10,10,0.92));
    backdrop-filter: blur(18px);
    transition: transform .35s ease, left .35s ease;
    padding-top: 6rem;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch; /* Scroll suave no iOS */
}

/* Menu aberto */
.sidebar--mobile.open {
    left: 0;
}

/* Backdrop */
.mobile-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(3px);
    opacity: 0;
    pointer-events: none;
    z-index: 99998;
    transition: opacity .3s ease;
}

/* Backdrop visível */
.mobile-backdrop.show {
    opacity: 1;
    pointer-events: auto;
}


/* ------------ HIDE ORIGINAL SIDEBAR IN MOBILE ----------- */
@media (max-width: 1024px) {

    .main-area {
        margin-top: 7rem; /* empurra o conteúdo pra baixo */
    }

    .sidebar:not(.sidebar--mobile) {
        display: none;
    }
    .mobile-topbar {
        display: flex;
    }

    /* Remover grid fixo do desktop */
    .app-shell {
        grid-template-columns: 1fr !important;
    }

    .sidebar--mobile {
        height: 100vh !important;
        max-height: 100vh !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
    }


}


/* -----------------------------------------------------
   STATUS CARDS – VISÃO PREMIUM
------------------------------------------------------ */

.status-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.status-card {
    padding: 1.2rem 1.4rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 14px 32px rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.status-card h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.status-card span {
    font-size: 1.6rem;
    font-weight: 700;
}

/* Cores */
.status-paid {
    border-color: rgba(22, 255, 115, 0.35);
    background: rgba(22, 255, 115, 0.12);
    color: #16FF73;
}

.status-pending {
    border-color: rgba(249, 168, 37, 0.35);
    background: rgba(249, 168, 37, 0.12);
    color: #F9A825;
}

.status-overdue {
    border-color: rgba(255, 77, 79, 0.35);
    background: rgba(255, 77, 79, 0.12);
    color: #FF4D4F;
}


.badge-paid {
    background: rgba(22,255,115,0.15);
    border: 1px solid rgba(22,255,115,0.35);
    color: #16FF73 !important;
}

.badge-pending {
    background: rgba(249,168,37,0.15);
    border: 1px solid rgba(249,168,37,0.35);
    color: #F9A825 !important;
}

.badge-overdue {
    background: rgba(255,77,79,0.15);
    border: 1px solid rgba(255,77,79,0.35);
    color: #FF4D4F !important;
}

/* ===============================
   UNIVERSAL FIX: TODOS OS CARDS
   Permite quebra de linha SEM estourar colunas
================================ */

.calendar-week__card,
.calendar-day,
.kanban-card,
.list-card,
.project-mini-card,
.highlight-card,
.finance-card__item {
    min-width: 0 !important; /* impede overflow lateral */
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    white-space: normal !important; /* garante quebra real */
}

/* Todo texto interno pode quebrar */
/* Valores e badges nunca quebram */
.finance-card__item-value,
.kanban-card__footer .value,
.calendar-tag strong,
.calendar-week__card strong,
.badge {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    min-width: fit-content !important;
    overflow: visible !important;
}

/* Botões nunca quebram */
.finance-card__item-buttons .btn,
.kanban-card__footer .btn,
.calendar-tag .btn {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    min-width: fit-content !important;
    overflow: visible !important;
}

/* Títulos podem quebrar mas valores não */
.finance-card__item-body h4,
.kanban-card__head h5,
.calendar-tag span:not(strong),
.calendar-week__card h4 {
    min-width: 0 !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    white-space: normal !important;
}

/* ============================================
   ESTILOS PARA ANEXOS DE MENSAGENS (SUPORTE)
   ============================================ */

.message-attachments {
    margin-top: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.attachment-item {
    margin-top: 0.5rem;
}

.attachment-preview {
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.attachment-preview__image {
    width: 100%;
    max-width: 500px;
    max-height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
}

.attachment-preview__image img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    display: block;
}

.attachment-preview__pdf {
    width: 100%;
    max-width: 600px;
    background: rgba(0, 0, 0, 0.2);
}

.attachment-preview__pdf iframe {
    width: 100%;
    min-height: 400px;
    border: none;
    background: #fff;
}

.attachment-preview__actions {
    padding: 0.75rem;
    display: flex;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.attachment-file {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.2s ease;
}

.attachment-file:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

.attachment-file__icon {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
}

.attachment-file__info {
    flex: 1;
    min-width: 0;
}

.attachment-file__name {
    display: block;
    font-weight: 500;
    color: var(--color-text-primary);
    word-break: break-word;
}

.attachment-file__actions {
    display: flex;
    gap: 0.5rem;
}

/* ============================================
   ESTILOS DO FORMULÁRIO DE CRIAÇÃO DE TICKET
   ============================================ */

/* Modal específico para criação de ticket */
.modal--ticket-create {
    width: min(700px, 90vw);
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
}

.modal--ticket-create .modal__header {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 0;
}

.modal--ticket-create .modal__header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin: 0;
}

.modal--ticket-create .modal__header .badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background: rgba(255, 30, 30, 0.15);
    border: 1px solid rgba(255, 30, 30, 0.3);
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 200, 200, 0.9);
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.modal--ticket-create .modal__body {
    padding: 0;
    gap: 1.5rem;
}

/* Form Groups */
#create-ticket-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

#create-ticket-form .form-group:last-of-type {
    margin-bottom: 0;
}

#create-ticket-form label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#create-ticket-form label::after {
    content: "";
}

/* Campos de formulário */
#create-ticket-form .form-control,
#create-ticket-form .form-select {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(15, 15, 15, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--color-text-primary);
    font-size: 0.9375rem;
    font-family: inherit;
    transition: all 0.3s ease;
    outline: none;
}

#create-ticket-form .form-control:hover,
#create-ticket-form .form-select:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(20, 20, 20, 0.7);
}

#create-ticket-form .form-control:focus,
#create-ticket-form .form-select:focus {
    border-color: rgba(255, 30, 30, 0.5);
    background: rgba(25, 25, 25, 0.8);
    box-shadow: 0 0 0 3px rgba(255, 30, 30, 0.1);
}

#create-ticket-form .form-control:disabled,
#create-ticket-form .form-select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(10, 10, 10, 0.4);
}

#create-ticket-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Select específico */
#create-ticket-form select.form-control,
#create-ticket-form select.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
    padding-right: 2.5rem;
}

#create-ticket-form select.form-control option,
#create-ticket-form select.form-select option {
    background: rgba(20, 20, 20, 0.95);
    color: var(--color-text-primary);
    padding: 0.5rem;
}

/* Textarea */
#create-ticket-form textarea.form-control {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
    font-family: inherit;
}

/* File input */
#create-ticket-form input[type="file"] {
    padding: 0.75rem;
    cursor: pointer;
}

#create-ticket-form input[type="file"]::-webkit-file-upload-button {
    padding: 0.5rem 1rem;
    background: rgba(255, 30, 30, 0.2);
    border: 1px solid rgba(255, 30, 30, 0.4);
    border-radius: 8px;
    color: rgba(255, 200, 200, 0.9);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    margin-right: 1rem;
    transition: all 0.3s ease;
}

#create-ticket-form input[type="file"]::-webkit-file-upload-button:hover {
    background: rgba(255, 30, 30, 0.3);
    border-color: rgba(255, 30, 30, 0.6);
}

/* Badge de arquivo selecionado */
#create-ticket-form .badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 30, 30, 0.15);
    border: 1px solid rgba(255, 30, 30, 0.3);
    border-radius: 8px;
    color: rgba(255, 200, 200, 0.9);
    font-size: 0.8125rem;
    font-weight: 500;
}

#create-ticket-form .badge i {
    font-size: 0.875rem;
}

/* Texto de ajuda */
#create-ticket-form .form-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.25rem;
}

/* Botão de submit */
#create-ticket-form button[type="submit"] {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, rgba(255, 30, 30, 0.9), rgba(180, 0, 0, 0.9));
    border: 1px solid rgba(255, 30, 30, 0.4);
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 30, 30, 0.2);
    margin-top: 0.5rem;
}

#create-ticket-form button[type="submit"]:hover:not(:disabled) {
    background: linear-gradient(135deg, rgba(255, 50, 50, 1), rgba(200, 0, 0, 1));
    border-color: rgba(255, 30, 30, 0.6);
    box-shadow: 0 6px 20px rgba(255, 30, 30, 0.3);
    transform: translateY(-2px);
}

#create-ticket-form button[type="submit"]:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(255, 30, 30, 0.2);
}

#create-ticket-form button[type="submit"]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Transições para campos condicionais */
#create-ticket-form .form-group[x-show] {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#create-ticket-form .form-group[x-show="false"] {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    max-height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

/* Indicadores visuais de progresso do formulário */
#create-ticket-form .form-group::before {
    content: "";
    position: absolute;
    left: -1.5rem;
    top: 0.5rem;
    width: 4px;
    height: calc(100% - 1rem);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#create-ticket-form .form-group:has(input:focus, select:focus, textarea:focus)::before {
    opacity: 1;
    background: linear-gradient(180deg, rgba(255, 30, 30, 0.6), rgba(180, 0, 0, 0.6));
}

/* Responsividade */
@media (max-width: 768px) {
    .modal--ticket-create {
        width: 95vw;
        max-height: 95vh;
        padding: 1.5rem;
    }
    
    .modal--ticket-create .modal__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    #create-ticket-form .form-group {
        margin-bottom: 1.25rem;
    }
    
    #create-ticket-form .form-control,
    #create-ticket-form .form-select {
        padding: 0.75rem;
        font-size: 0.875rem;
    }
    
    #create-ticket-form button[type="submit"] {
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
    }
}

/* Animações suaves */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#create-ticket-form .form-group {
    animation: slideIn 0.3s ease backwards;
}

#create-ticket-form .form-group:nth-child(1) { animation-delay: 0.05s; }
#create-ticket-form .form-group:nth-child(2) { animation-delay: 0.1s; }
#create-ticket-form .form-group:nth-child(3) { animation-delay: 0.15s; }
#create-ticket-form .form-group:nth-child(4) { animation-delay: 0.2s; }
#create-ticket-form .form-group:nth-child(5) { animation-delay: 0.25s; }
#create-ticket-form .form-group:nth-child(6) { animation-delay: 0.3s; }
#create-ticket-form .form-group:nth-child(7) { animation-delay: 0.35s; }
#create-ticket-form .form-group:nth-child(8) { animation-delay: 0.4s; }

/* Melhorias visuais para campos obrigatórios */
#create-ticket-form label:has(+ input[required], + select[required], + textarea[required])::after {
    content: "*";
    color: rgba(255, 30, 30, 0.8);
    margin-left: 0.25rem;
    font-weight: 600;
}

/* Estados de validação */
#create-ticket-form .form-control:invalid:not(:placeholder-shown),
#create-ticket-form .form-select:invalid:not(:placeholder-shown) {
    border-color: rgba(255, 87, 51, 0.5);
    background: rgba(255, 87, 51, 0.05);
}

#create-ticket-form .form-control:valid:not(:placeholder-shown),
#create-ticket-form .form-select:valid:not(:placeholder-shown) {
    border-color: rgba(22, 255, 115, 0.3);
}

/* Estilo para o campo de projeto quando aparece */
#create-ticket-form .form-group[x-show="createModal.has_existing_project === 'sim'"] {
    animation: slideIn 0.3s ease;
}

/* Melhorias no select quando desabilitado */
#create-ticket-form select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888888' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
}

/* ============================================
   LANDING HERO CARD - Design Premium
   ============================================ */
.landing-hero-card {
    position: relative;
    background: linear-gradient(135deg, 
        rgba(20, 20, 25, 0.95) 0%,
        rgba(15, 15, 20, 0.98) 50%,
        rgba(20, 20, 25, 0.95) 100%
    );
    border-radius: 24px;
    padding: 3rem 2.5rem;
    border: 1.5px solid rgba(139, 92, 246, 0.2);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset,
        0 8px 32px rgba(139, 92, 246, 0.15);
    backdrop-filter: blur(20px);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.landing-hero-card:hover {
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 
        0 24px 80px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.08) inset,
        0 12px 48px rgba(139, 92, 246, 0.25);
    transform: translateY(-2px);
}

.landing-hero-card__glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(139, 92, 246, 0.15) 0%,
        rgba(99, 102, 241, 0.08) 30%,
        transparent 70%
    );
    animation: glowRotate 20s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes glowRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.landing-hero-card__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Wrapper para ícone e título na mesma linha - TODAS AS TELAS */
.landing-hero-card__title-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0;
    flex-wrap: nowrap;
}

/* Garantir que funcione em todas as resoluções */
@media (max-width: 480px) {
    .landing-hero-card__title-wrapper {
        gap: 0.5rem;
    }
}

.landing-hero-card__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(99, 102, 241, 0.2));
    border-radius: 12px;
    border: 1.5px solid rgba(139, 92, 246, 0.4);
    box-shadow: 
        0 6px 20px rgba(99, 102, 241, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.landing-hero-card__icon i {
    font-size: 1.5rem;
    color: #c4b5fd;
    text-shadow: 0 0 15px rgba(139, 92, 246, 0.8);
    animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.9;
    }
}

.landing-hero-card__title {
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, #f3e8ff, #e9d5ff, #ddd6fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.3;
    flex: 1;
}

.landing-hero-card__description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.landing-hero-card__description strong {
    color: #e9d5ff;
    font-weight: 600;
}

.landing-hero-card__features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.feature-badge:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-1px);
}

.feature-badge i {
    color: #c4b5fd;
    font-size: 0.875rem;
}

.landing-hero-card__actions {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.btn--landing-primary {
    flex: 1;
    min-width: 160px;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    background: linear-gradient(135deg, rgba(255, 30, 30, 0.9), rgba(200, 0, 0, 0.85));
    border: 1.5px solid rgba(255, 30, 30, 0.4);
    box-shadow: 
        0 8px 24px rgba(255, 30, 30, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn--landing-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn--landing-primary:hover::before {
    left: 100%;
}

.btn--landing-primary:hover {
    background: linear-gradient(135deg, rgba(255, 45, 45, 1), rgba(220, 0, 0, 0.95));
    border-color: rgba(255, 30, 30, 0.6);
    box-shadow: 
        0 12px 32px rgba(255, 30, 30, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn--landing-primary i {
    font-size: 1rem;
}

.btn--landing-ghost {
    flex: 1;
    min-width: 160px;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn--landing-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    color: #fff;
}

.btn--landing-ghost i {
    font-size: 1rem;
}

.landing-hero-card__particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    border-radius: 24px;
}

.landing-hero-card__particles .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(139, 92, 246, 0.4);
    border-radius: 50%;
    box-shadow: 
        0 0 8px rgba(139, 92, 246, 0.6),
        50px 30px 0 rgba(99, 102, 241, 0.3),
        -40px 50px 0 rgba(168, 85, 247, 0.25);
    animation: particleFloat 8s ease-in-out infinite;
}

.landing-hero-card__particles .particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.landing-hero-card__particles .particle:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.landing-hero-card__particles .particle:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes particleFloat {
    0%, 100% {
        opacity: 0.3;
        transform: translate(0, 0) scale(1);
    }
    50% {
        opacity: 0.7;
        transform: translate(10px, -15px) scale(1.2);
    }
}

/* Responsividade */
/* Landing page para tablets - DESIGN RESPONSIVO COM SCROLL E VISUAL PREMIUM */
@media (max-width: 1024px) and (min-width: 769px) {
    /* Body com scroll suave e elegante */
    .auth-body:has(.landing-hero-card) {
        padding: 1.5rem;
        overflow-y: auto;
        overflow-x: hidden;
        min-height: 100vh;
        height: auto;
        background: linear-gradient(135deg, 
            rgba(10, 10, 15, 0.98) 0%,
            rgba(15, 15, 20, 0.98) 50%,
            rgba(10, 10, 15, 0.98) 100%
        );
    }
    
    /* Scrollbar customizada e bonita para tablets */
    .auth-body:has(.landing-hero-card)::-webkit-scrollbar {
        width: 12px;
    }
    
    .auth-body:has(.landing-hero-card)::-webkit-scrollbar-track {
        background: rgba(20, 20, 25, 0.5);
        border-radius: 10px;
    }
    
    .auth-body:has(.landing-hero-card)::-webkit-scrollbar-thumb {
        background: linear-gradient(180deg, 
            rgba(139, 92, 246, 0.6), 
            rgba(99, 102, 241, 0.5),
            rgba(139, 92, 246, 0.6)
        );
        border-radius: 10px;
        border: 2px solid rgba(20, 20, 25, 0.5);
        box-shadow: inset 0 0 6px rgba(139, 92, 246, 0.3);
    }
    
    .auth-body:has(.landing-hero-card)::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(180deg, 
            rgba(139, 92, 246, 0.8), 
            rgba(99, 102, 241, 0.7),
            rgba(139, 92, 246, 0.8)
        );
    }
    
    /* Layout centralizado e responsivo */
    .auth-layout:has(.landing-hero-card) {
        max-width: 700px;
        width: 100%;
        margin: 0 auto;
        min-height: calc(100vh - 3rem);
        padding: 1rem 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    /* Panel com padding generoso e scroll interno */
    .auth-panel:has(.landing-hero-card) {
        max-width: 100%;
        width: 100%;
        padding: 2rem 2.5rem;
        border-radius: 28px;
        box-shadow: 
            0 24px 80px rgba(0, 0, 0, 0.6),
            0 0 0 1px rgba(255, 255, 255, 0.08) inset,
            0 12px 48px rgba(139, 92, 246, 0.2);
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        overflow: visible;
        margin-bottom: 2rem;
    }
    
    /* Header compacto mas elegante */
    .auth-header:has(+ .auth-content .landing-hero-card) {
        margin-bottom: 0.5rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid rgba(139, 92, 246, 0.15);
    }
    
    .auth-header:has(+ .auth-content .landing-hero-card) img {
        height: 2.5rem !important;
        filter: drop-shadow(0 4px 12px rgba(139, 92, 246, 0.3));
    }
    
    .auth-title:has(+ .auth-subtitle) {
        font-size: 1.6rem;
        background: linear-gradient(135deg, #f3e8ff, #e9d5ff);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    .auth-subtitle {
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.7);
    }
    
    /* Ocultar subtitle na landing page para tablets */
    .auth-panel:has(.landing-hero-card) .auth-subtitle {
        display: none !important;
    }
    
    /* Content com scroll interno quando necessário */
    .auth-content:has(.landing-hero-card) {
        overflow: visible;
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    
    /* Card principal com design premium */
    .landing-hero-card {
        padding: 2.5rem 2rem;
        width: 100%;
        border-radius: 24px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        gap: 1.75rem;
        position: relative;
        overflow: visible;
        background: linear-gradient(135deg, 
            rgba(20, 20, 25, 0.95) 0%,
            rgba(15, 15, 20, 0.98) 50%,
            rgba(20, 20, 25, 0.95) 100%
        );
        border: 1.5px solid rgba(139, 92, 246, 0.25);
        box-shadow: 
            0 20px 60px rgba(0, 0, 0, 0.5),
            0 0 0 1px rgba(255, 255, 255, 0.05) inset,
            0 8px 32px rgba(139, 92, 246, 0.15);
    }
    
    /* Glow effect mais sutil mas visível */
    .landing-hero-card__glow {
        opacity: 0.6;
        animation: glowRotate 25s linear infinite;
    }
    
    /* Particles visíveis mas discretas */
    .landing-hero-card__particles {
        opacity: 0.7;
    }
    
    /* Content com espaçamento adequado */
    .landing-hero-card__content {
        gap: 1.75rem;
        display: flex;
        flex-direction: column;
        position: relative;
        z-index: 1;
    }
    
    /* Título wrapper elegante */
    .landing-hero-card__title-wrapper {
        gap: 1rem;
        margin-bottom: 0;
        align-items: center;
    }
    
    .landing-hero-card__icon {
        width: 52px;
        height: 52px;
        border-radius: 14px;
        box-shadow: 
            0 8px 24px rgba(99, 102, 241, 0.35),
            inset 0 1px 0 rgba(255, 255, 255, 0.25);
    }
    
    .landing-hero-card__icon i {
        font-size: 1.6rem;
    }
    
    .landing-hero-card__title {
        font-size: 1.85rem;
        line-height: 1.3;
    }
    
    /* Descrição com tamanho legível - OCULTA EM TABLETS */
    .landing-hero-card__description {
        display: none !important;
    }
    
    .landing-hero-card__description strong {
        color: #e9d5ff;
        font-weight: 600;
        text-shadow: 0 0 10px rgba(139, 92, 246, 0.3);
    }
    
    /* Features com layout responsivo - OCULTA EM TABLETS */
    .landing-hero-card__features {
        display: none !important;
    }
    
    .feature-badge {
        padding: 0.6rem 1.1rem;
        font-size: 0.875rem;
        border-radius: 14px;
        background: rgba(139, 92, 246, 0.12);
        border: 1px solid rgba(139, 92, 246, 0.25);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 
            0 4px 12px rgba(139, 92, 246, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.05);
    }
    
    .feature-badge:hover {
        background: rgba(139, 92, 246, 0.18);
        border-color: rgba(139, 92, 246, 0.35);
        transform: translateY(-2px);
        box-shadow: 
            0 6px 16px rgba(139, 92, 246, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.08);
    }
    
    .feature-badge i {
        font-size: 0.9rem;
        color: #c4b5fd;
    }
    
    /* Actions com layout responsivo */
    .landing-hero-card__actions {
        display: flex;
        gap: 1rem;
        margin-top: 0.75rem;
        flex-wrap: wrap;
    }
    
    .btn--landing-primary,
    .btn--landing-ghost {
        flex: 1;
        min-width: 180px;
        padding: 1rem 2rem;
        font-size: 0.95rem;
        font-weight: 600;
        border-radius: 16px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .btn--landing-primary {
        box-shadow: 
            0 8px 24px rgba(255, 30, 30, 0.35),
            inset 0 1px 0 rgba(255, 255, 255, 0.25);
    }
    
    .btn--landing-primary:hover {
        box-shadow: 
            0 12px 32px rgba(255, 30, 30, 0.45),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
        transform: translateY(-3px);
    }
    
    .btn--landing-ghost {
        box-shadow: 
            0 4px 16px rgba(0, 0, 0, 0.25),
            inset 0 1px 0 rgba(255, 255, 255, 0.12);
    }
    
    .btn--landing-ghost:hover {
        box-shadow: 
            0 8px 24px rgba(0, 0, 0, 0.35),
            inset 0 1px 0 rgba(255, 255, 255, 0.18);
        transform: translateY(-3px);
    }
    
    /* Landscape - layout otimizado */
    @media (orientation: landscape) and (min-height: 600px) {
        .auth-body:has(.landing-hero-card) {
            padding: 1rem;
        }
        
        .auth-layout:has(.landing-hero-card) {
            max-width: 800px;
            padding: 0.5rem 0;
        }
        
        .auth-panel:has(.landing-hero-card) {
            padding: 1.75rem 2.25rem;
        }
        
        .landing-hero-card {
            padding: 2rem 2.25rem;
            gap: 1.5rem;
        }
        
        .landing-hero-card__actions {
            flex-direction: row;
        }
        
        .btn--landing-primary,
        .btn--landing-ghost {
            flex: 1;
        }
    }
    
    /* Portrait - layout vertical otimizado */
    @media (orientation: portrait) {
        .auth-body:has(.landing-hero-card) {
            padding: 1.25rem;
        }
        
        .auth-layout:has(.landing-hero-card) {
            max-width: 650px;
        }
        
        .auth-panel:has(.landing-hero-card) {
            padding: 1.75rem 2rem;
        }
        
        .landing-hero-card {
            padding: 2rem 1.75rem;
        }
        
        .landing-hero-card__features {
            justify-content: center;
        }
        
        .landing-hero-card__actions {
            flex-direction: column;
        }
        
        .btn--landing-primary,
        .btn--landing-ghost {
            width: 100%;
            min-width: 100%;
        }
    }
    
    /* Altura pequena - mais compacto mas ainda bonito */
    @media (max-height: 700px) {
        .auth-panel:has(.landing-hero-card) {
            padding: 1.5rem 2rem;
        }
        
        .landing-hero-card {
            padding: 1.75rem 1.75rem;
            gap: 1.25rem;
        }
        
        .landing-hero-card__title-wrapper {
            gap: 0.85rem;
        }
        
        .landing-hero-card__icon {
            width: 46px;
            height: 46px;
        }
        
        .landing-hero-card__icon i {
            font-size: 1.4rem;
        }
        
        .landing-hero-card__title {
            font-size: 1.65rem;
        }
        
        .landing-hero-card__description {
            font-size: 0.95rem;
            line-height: 1.6;
        }
        
        .landing-hero-card__features {
            gap: 0.7rem;
        }
        
        .feature-badge {
            padding: 0.5rem 0.95rem;
            font-size: 0.8rem;
        }
        
        .btn--landing-primary,
        .btn--landing-ghost {
            padding: 0.9rem 1.75rem;
            font-size: 0.9rem;
        }
    }
}

@media (max-width: 768px) {
    .landing-hero-card {
        padding: 1.5rem 1.25rem;
    }
    
    .landing-hero-card__title-wrapper {
        gap: 0.5rem;
    }
    
    .landing-hero-card__icon {
        width: 36px;
        height: 36px;
        border-radius: 8px;
    }
    
    .landing-hero-card__icon i {
        font-size: 1.1rem;
    }
    
    .landing-hero-card__title {
        font-size: 1.3rem;
    }
    
    /* Oculta descrição e features no mobile */
    .landing-hero-card__description {
        display: none !important;
    }
    
    .landing-hero-card__features {
        display: none !important;
    }
    
    .landing-hero-card__actions {
        flex-direction: column;
        margin-top: 1rem;
        gap: 0.75rem;
    }
    
    .btn--landing-primary,
    .btn--landing-ghost {
        width: 100%;
        padding: 0.85rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* ============================================
   MOBILE - SCROLL NA PÁGINA (NÃO NOS CARDS)
   ============================================ */
@media (max-width: 768px) {
    /* Mobile - scroll na página, não nos cards */
    body.auth-body:not(:has(.landing-hero-card)) {
        overflow-y: auto !important;
        overflow-x: hidden !important;
        height: auto !important;
        min-height: 100vh !important;
        max-height: none !important;
        position: relative !important;
    }
    
    .auth-body:not(:has(.landing-hero-card)) {
        height: auto;
        min-height: 100vh;
        max-height: none;
        overflow-y: auto;
        overflow-x: hidden;
    }
    
    /* Cards sem scroll interno no mobile */
    .auth-panel:not(:has(.landing-hero-card)) {
        overflow-y: visible !important;
        overflow-x: visible !important;
        max-height: none !important;
        height: auto !important;
        padding-right: 2.5rem; /* Padding normal sem espaço extra */
    }
    
    /* Content sem scroll interno no mobile */
    .auth-content:not(:has(.landing-hero-card)) {
        overflow-y: visible !important;
        overflow-x: visible !important;
    }
    
    /* Form wrapper sem scroll interno no mobile */
    .auth-form-wrapper:not(:has(.landing-hero-card)) {
        overflow-y: visible !important;
        overflow-x: visible !important;
    }
    
    /* Form sem scroll interno no mobile */
    .auth-form:not(:has(.landing-hero-card)) {
        overflow-y: visible !important;
        overflow-x: visible !important;
    }
    
    /* Scrollbar customizada na página para mobile */
    body.auth-body:not(:has(.landing-hero-card))::-webkit-scrollbar {
        width: 10px;
    }
    
    body.auth-body:not(:has(.landing-hero-card))::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.3);
    }
    
    body.auth-body:not(:has(.landing-hero-card))::-webkit-scrollbar-thumb {
        background: linear-gradient(180deg, rgba(255, 30, 30, 0.6), rgba(114, 0, 0, 0.8));
        border-radius: 5px;
    }
    
    body.auth-body:not(:has(.landing-hero-card))::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(180deg, rgba(255, 30, 30, 0.8), rgba(114, 0, 0, 1));
    }
}

@media (max-width: 480px) {
    /* Mobile pequeno - mesmo comportamento */
    .auth-panel:not(:has(.landing-hero-card)) {
        padding-right: 1.5rem; /* Padding normal sem espaço extra */
    }
}




