/* Layout de Capa RESPONSIVO - Imagens diferentes para PC/Mobile */
#layout-capa {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    z-index: 1000;
    transition: opacity 0.8s ease;
    padding: 30px 40px;
    overflow: hidden;
}

/* Imagem de fundo responsiva */
#layout-capa::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* Desktop - imagem PC (acima de 768px) */
@media (min-width: 769px) {
    #layout-capa::before {
        background-image: url('/layouts/img/capa/capa-pc.png');
    }
}

/* Mobile - imagem Mobile (até 768px) */
@media (max-width: 768px) {
    #layout-capa::before {
        background-image: url('/layouts/img/capa/capa-mobile.png');
    }
    #layout-capa {
        padding: 20px;
        justify-content: center;
        align-items: center;
    }
}

.botoes-capa {
    display: flex;
    gap: 20px;
    margin-top: 0;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    margin-left: 0;
    position: relative;
    z-index: 2;
}

/* Desktop - botões no canto superior esquerdo */
@media (min-width: 769px) {
    .botoes-capa {
        justify-content: flex-start;
        align-items: flex-start;
    }
}

/* Mobile - centraliza botões */
@media (max-width: 768px) {
    .botoes-capa {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
        gap: 15px;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
    }
}

.btn-capa {
    padding: 15px 25px;
    font-size: 1.1rem;
    font-weight: bold;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    position: relative;
    z-index: 3;
}

.btn-carteira {
    background: linear-gradient(to right, var(--secondary), #ff8a00);
    color: white;
}

.btn-boletim {
    background: linear-gradient(to right, var(--accent), #5a75b5);
    color: white;
}

.btn-capa:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.5);
}

.btn-capa i {
    margin-right: 10px;
    font-size: 1.3rem;
}

/* ========== CORREÇÃO DOS CONTAINERS ========== */

/* Conteúdo Principal - CORREÇÃO: display none por padrão */
.page {
    width: 100%;
    max-width: 820px;
    margin: 16px auto;
    padding: 0 12px 40px;
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 8px 22px var(--shadow);
    display: none;
}

.page.active {
    display: block;
}

/* Containers - CORREÇÃO: display none por padrão */
.container {
    display: none;
    width: 100%;
    background: var(--card-bg);
    border-radius: 10px;
    padding: 12px 14px;
    box-shadow: 0 8px 22px var(--shadow);
    margin-bottom: 12px;
}

.container.active {
    display: block;
}

/* Carteirinha Wrapper - CORREÇÃO: display none por padrão */
.carteirinha-wrapper {
    display: none;
    flex-direction: column;
    align-items: stretch;
    margin-top: 6px;
    margin-bottom: 16px;
}

.carteirinha-wrapper.active {
    display: flex;
}

/* ========== ESTILOS EXISTENTES ========== */

.top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--primary-color), #2980b9);
    color: var(--text-light);
    padding: 15px 20px;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    box-shadow: var(--box-shadow);
}

h2 {
    margin: 0;
    font-size: 18px;
}

.row {
    margin-bottom: 10px;
    position: relative;
}

.label {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
    font-size: 13px;
    color: var(--muted);
}

.password-container {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--muted);
}

/* Filtro e pesquisa */
.filtro-pesquisa {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.filtro-pesquisa > * {
    flex: 1 1 120px;
    min-width: 120px;
}

/* Registro de itens */
.registro {
    margin-top: 10px;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #e6eef7;
    background: #fff;
    max-height: 260px;
    overflow: auto;
}

.registro .item {
    padding: 12px 15px;
    border-radius: var(--border-radius);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    background-color: white;
    box-shadow: var(--box-shadow);
    border-left: 4px solid var(--primary-color);
    transition: all 0.2s ease;
    position: relative;
}

/* Estilos para divergências */
.registro .item.aluno {
    border-left-color: var(--divergencia-aluno);
}

.registro .item.neurodivergente {
    border-left-color: var(--divergencia-neurodivergente);
    background: linear-gradient(90deg, #FF1744 0%, #FF4081 15%, #FFD54F 35%, #42A5F5 60%, #1565C0 80%, #FF1744 100%);
    background-size: 300% 300%;
    animation: flow 8s ease infinite;
    color: white;
}

.registro .item.prevest {
    border-left-color: var(--divergencia-prevest);
}

.registro .item.indisciplinado {
    border-left-color: var(--divergencia-indisciplinado);
}

.registro .item:hover {
    background: #f1f5f9;
    transform: translateX(5px);
}

.registro .left {
    display: flex;
    gap: 12px;
    align-items: center;
}

.registro .nome {
    font-weight: 600;
    color: #000 !important;
}

.registro .mat {
    color: var(--muted);
    font-size: 13px;
}

.registro .actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.del-btn {
    background: transparent;
    border: none;
    color: var(--danger);
    font-weight: 700;
    padding: 6px 8px;
    border-radius: 6px;
    cursor: pointer;
}

.del-btn:hover {
    background: rgba(239, 68, 68, 0.08);
}

/* === MENU HAMBURGUER PROFISSIONAL === */
.menu-hamburguer {
    position: relative;
    z-index: 1000;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    box-shadow: 0 4px 15px rgba(11, 121, 208, 0.3);
    transition: all 0.3s ease;
    margin-right: 15px;
}

.menu-hamburguer:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(11, 121, 208, 0.4);
}

.menu-hamburguer span {
    display: block;
    width: 20px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.menu-hamburguer.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-hamburguer.active span:nth-child(2) {
    opacity: 0;
}

.menu-hamburguer.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ========== MENU HAMBURGUER PROFISSIONAL ========== */

/* Overlay do Menu */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Conteúdo do Menu */
.menu-content {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    height: 100%;
    background: linear-gradient(135deg, #1a237e 0%, #283593 50%, #3949ab 100%);
    box-shadow: 5px 0 25px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.menu-content.active {
    transform: translateX(0);
}

/* Header do Menu */
.menu-header {
    padding: 25px 20px 15px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.menu-header h3 {
    color: white;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.menu-close-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.menu-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.menu-school-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    font-weight: 500;
}

/* Informações do Usuário */
.menu-user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-user-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0b79d0, #0a6abd);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.menu-user-details {
    flex: 1;
}

.menu-user-name {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.menu-user-role {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.menu-user-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-indicator.online {
    background: #10b981;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.3);
}

.status-indicator.offline {
    background: #6b7280;
    box-shadow: 0 0 0 2px rgba(107, 114, 128, 0.3);
}

/* Seções do Menu */
.menu-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 15px 0;
}

.menu-section {
    margin-bottom: 20px;
    padding: 0 15px;
}

.menu-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    padding: 0 5px;
}

/* Itens do Menu */
.menu-item {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    padding: 12px 15px;
    background: transparent;
    border: none;
    border-radius: 10px;
    color: white;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 5px;
}

.menu-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.menu-item:active {
    transform: translateX(5px) scale(0.98);
}

.menu-item-icon {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
}

.menu-item:hover .menu-item-icon {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.menu-item-icon.warning {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.menu-item-icon.danger {
    background: rgba(220, 38, 38, 0.2);
    color: #dc2626;
}

.menu-item-text {
    flex: 1;
}

.menu-item-text span {
    display: block;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 3px;
}

.menu-item-text small {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.menu-item-badge {
    font-size: 14px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.menu-item:hover .menu-item-badge {
    opacity: 1;
}

.badge-time {
    color: #f59e0b;
}

.badge-photo {
    color: #8b5cf6;
}

.badge-excel {
    color: #10b981;
}

.badge-warning {
    color: #f59e0b;
}

.badge-logout {
    color: #ef4444;
}

/* Divisores */
.menu-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 15px 20px;
}

/* Rodapé do Menu */
.menu-footer {
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-version {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    margin-bottom: 5px;
}

.menu-copyright {
    color: rgba(255, 255, 255, 0.4);
    font-size: 11px;
    text-align: center;
}

/* Botão Hamburguer (Estilizado) */
.menu-hamburguer {
    width: 40px;
    height: 40px;
    background: #0b79d0;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 100;
}

.menu-hamburguer:hover {
    background: #0a6abd;
    transform: scale(1.05);
}

.menu-hamburguer:active {
    transform: scale(0.95);
}

.menu-hamburguer span {
    display: block;
    width: 20px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-hamburguer:hover span {
    transform: scaleX(1.1);
}

/* Scrollbar personalizada */
.menu-scroll::-webkit-scrollbar {
    width: 4px;
}

.menu-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
}

.menu-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

.menu-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Responsividade */
@media (max-width: 768px) {
    .menu-content {
        width: 280px;
    }

    .menu-item {
        padding: 10px 12px;
    }

    .menu-item-text span {
        font-size: 14px;
    }

    .menu-item-text small {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .menu-content {
        width: 100%;
    }

    .menu-overlay.active {
        background: rgba(0, 0, 0, 0.9);
    }
}
/* ========== MODAL DE EXCLUSÃO PROFISSIONAL ========== */

.exclusao-modal-profissional {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.exclusao-modal-content {
    background: white;
    border-radius: 15px;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    animation: modalSlideIn 0.4s ease;
}

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

/* Passos da exclusão */
.exclusao-step {
    display: none;
    flex-direction: column;
    height: 100%;
}

.exclusao-step.active {
    display: flex;
}

/* Header dos passos */
.exclusao-step-header {
    padding: 25px 30px 15px;
    border-bottom: 1px solid #e5e7eb;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
}

.exclusao-step-header h3 {
    margin: 0;
    color: #dc2626;
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.step-indicator {
    background: #dc2626;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 5px;
    display: inline-block;
}

/* Alerta de warning */
.exclusao-warning-alert {
    background: #fef3c7;
    border: 2px solid #f59e0b;
    border-radius: 10px;
    padding: 20px;
    margin: 25px 30px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.alert-icon {
    background: #f59e0b;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.alert-content h4 {
    margin: 0 0 10px 0;
    color: #92400e;
    font-size: 18px;
}

.alert-content p {
    margin: 0 0 10px 0;
    color: #78350f;
    line-height: 1.5;
}

.warning-list {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
}

.warning-list li {
    margin: 8px 0;
    color: #78350f;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.warning-list li i {
    color: #059669;
    font-size: 14px;
    margin-top: 3px;
}

/* Filtros da exclusão */
.exclusao-filters-container {
    padding: 20px 30px;
    flex: 1;
    overflow-y: auto;
}

.filter-info-box {
    background: #dbeafe;
    border: 1px solid #3b82f6;
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1e40af;
    font-size: 14px;
}

.filter-info-box i {
    font-size: 16px;
    flex-shrink: 0;
}

.filtro-pesquisa-exclusao {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.filtro-pesquisa-exclusao input,
.filtro-pesquisa-exclusao select {
    padding: 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.filtro-pesquisa-exclusao input:focus,
.filtro-pesquisa-exclusao select:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.filtro-actions-exclusao {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

/* Lista de alunos para exclusão */
.exclusao-alunos-list {
    border: 2px solid #fecaca;
    border-radius: 10px;
    overflow: hidden;
}

.list-header-exclusao {
    background: #fee2e2;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #fecaca;
}

.list-header-exclusao h4 {
    margin: 0;
    color: #991b1b;
    font-size: 16px;
}

.list-subtitle {
    color: #b91c1c;
    font-size: 12px;
    margin-top: 3px;
}

.list-actions {
    display: flex;
    gap: 8px;
}

.registro-compacto-exclusao {
    max-height: 300px;
    overflow-y: auto;
    padding: 10px;
    background: #fafafa;
}

.registro-compacto-exclusao .item {
    background: white;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 8px;
    transition: all 0.2s ease;
}

.registro-compacto-exclusao .item:hover {
    background: #fef2f2;
    border-color: #f87171;
    transform: translateX(5px);
}

/* Confirmação final */
.exclusao-confirmation-container {
    padding: 25px 30px;
    flex: 1;
    overflow-y: auto;
}

.confirmation-alert {
    background: #fee2e2;
    border: 2px solid #dc2626;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.confirmation-alert.danger .alert-icon {
    background: #dc2626;
}

.confirmation-alert.danger h4 {
    color: #7f1d1d;
}

.confirmation-alert.danger p {
    color: #991b1b;
}

.warning-text {
    color: #b91c1c !important;
    font-weight: 600;
    margin-top: 10px !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Resumo da exclusão */
.exclusao-summary {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
}

.exclusao-summary h4 {
    margin: 0 0 15px 0;
    color: #1e293b;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.summary-details-exclusao {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
}

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

.summary-label {
    color: #64748b;
    font-weight: 500;
}

.summary-value {
    color: #1e293b;
    font-weight: 600;
}

/* Confirmação final */
.final-confirmation {
    margin-bottom: 20px;
}

.final-confirmation label {
    display: block;
    margin-bottom: 10px;
    color: #1e293b;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.final-confirmation input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    text-align: center;
    transition: all 0.3s ease;
}

.final-confirmation input:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.confirmation-hint {
    color: #6b7280;
    font-size: 12px;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.backup-reminder {
    background: #dbeafe;
    border: 1px solid #3b82f6;
    border-radius: 8px;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1e40af;
    font-size: 14px;
}

/* Footer dos passos */
.exclusao-step-footer {
    padding: 20px 30px;
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

/* Botões específicos para exclusão */
.btn-danger {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.btn-danger:hover:not(:disabled) {
    background: linear-gradient(135deg, #b91c1c, #991b1b);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 38, 38, 0.3);
}

.btn-danger:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-secondary {
    background: #6b7280;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #4b5563;
    transform: translateY(-2px);
}

/* Responsividade */
@media (max-width: 768px) {
    .exclusao-modal-content {
        max-width: 95%;
        max-height: 95vh;
    }

    .exclusao-step-header {
        padding: 20px;
    }

    .exclusao-filters-container,
    .exclusao-confirmation-container {
        padding: 20px;
    }

    .filtro-pesquisa-exclusao {
        grid-template-columns: 1fr;
    }

    .filtro-actions-exclusao {
        flex-direction: column;
    }

    .list-header-exclusao {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .exclusao-step-footer {
        flex-direction: column;
    }

    .summary-details-exclusao {
        grid-template-columns: 1fr;
    }
}
/* Botão de reset nos filtros */
.filtro-pesquisa {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
    align-items: center;
    position: relative;
}

.filtro-pesquisa .btn-reset-filtros {
    background: #6b7280;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background 0.3s;
    white-space: nowrap;
    height: 42px; /* Mesma altura dos selects */
}

.filtro-pesquisa .btn-reset-filtros:hover {
    background: #4b5563;
}

/* Ajuste para os filtros terem espaço para o botão */
.filtro-pesquisa > * {
    flex: 1 1 120px;
    min-width: 120px;
}
/* Botão de reset nos filtros - ESTILO MELHORADO */
.filtro-pesquisa {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
    align-items: center;
    position: relative;
}

.filtro-pesquisa .btn-reset-filtros {
    background: #6b7280;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    white-space: nowrap;
    height: 42px; /* Mesma altura dos selects */
    min-width: 80px;
    justify-content: center;
}

.filtro-pesquisa .btn-reset-filtros:hover {
    background: #4b5563;
    transform: translateY(-1px);
}

.filtro-pesquisa .btn-reset-filtros:active {
    transform: translateY(0);
}

/* Ajuste para os filtros terem espaço para o botão */
.filtro-pesquisa > * {
    flex: 1 1 120px;
    min-width: 120px;
}

/* Estilo para container de busca de turmas */
.busca-turmas-container {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.busca-turmas-container h3 {
    color: #1e293b;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.1rem;
    border-bottom: 2px solid #cbd5e1;
    padding-bottom: 10px;
}

.busca-turmas-container input[type="text"] {
    border: 2px solid #cbd5e1;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
}

.busca-turmas-container input[type="text"]:focus {
    outline: none;
    border-color: #246DA7;
    box-shadow: 0 0 0 3px rgba(36, 109, 167, 0.1);
}

.busca-turmas-container .btn-primary {
    background: linear-gradient(135deg, #246DA7, #1D5A8A);
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.busca-turmas-container .btn-primary:hover {
    background: linear-gradient(135deg, #1D5A8A, #164973);
    transform: translateY(-2px);
}

.busca-turmas-container .btn-reset-filtros {
    background: #6b7280;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.busca-turmas-container .btn-reset-filtros:hover {
    background: #4b5563;
    transform: translateY(-2px);
}
