:root {
    --primary: #0f172a;      /* Slate 900 - Profissional */
    --primary-light: #334155;
    --secondary: #10b981;    /* Emerald 500 - Acolhimento */
    --accent: #f59e0b;
    --danger: #ef4444;
    --dark: #0f172a;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --bg-body: #f1f5f9;      /* Slate 100 - Fundo Limpo */
    --card-bg: #ffffff;
    --sidebar-bg: #ffffff;
    --glass-border: #e2e8f0;
    --glass-bg: rgba(255, 255, 255, 0.9); /* Menos transparência para ser mais leve */
    --glass-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --transition: 0.2s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: var(--bg-body);
    color: var(--text-main);
    overflow-x: hidden;
    height: 100vh;
}

/* Remover formas pesadas de fundo */
.background-shapes {
    display: none !important;
}

/* Glassmorphism Utilities */
.glass-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.glass-panel {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
}

/* Sidebar Otimizada */
.sidebar {
    width: 280px;
    height: 100vh;
    background: var(--sidebar-bg);
    border-right: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    padding: 20px;
    z-index: 100;
}

/* Visibility toggles */
.hidden { display: none !important; }
.active { display: flex !important; }

/* Login Section */
#login-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: transparent;
    border: none;
    box-shadow: none;
}

.login-box {
    background: var(--glass-bg);
    backdrop-filter: blur(4px);
    padding: 40px;
    border-radius: 24px;
    width: 100%;
    max-width: 450px;
    box-shadow: var(--glass-shadow);
    border: 1px solid var(--glass-border);
    text-align: center;
}

.logo-area img {
    width: 140px;
    height: auto;
    margin-bottom: 10px;
}

.logo-area h1 {
    font-size: 1.8rem;
    color: var(--dark);
    font-weight: 700;
}

.logo-area p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.logo-area {
    margin-bottom: 30px;
}

.logo-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.logo-area h1 {
    font-size: 1.8rem;
    color: var(--dark);
    font-weight: 700;
}

.logo-area p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.input-group input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border-radius: 12px;
    border: 1px solid #cbd5e1; /* Borda nítida */
    background: #ffffff;
    outline: none;
    transition: border-color 0.15s;
}

.input-group input:focus {
    border-color: var(--primary);
}

.options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.options a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.btn-primary {
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
}

.btn-secondary {
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, var(--secondary), #34d399);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}

.btn-danger {
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, var(--danger), #f87171);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(239, 68, 68, 0.3);
}

.demo-info {
    margin-top: 20px;
    padding: 10px;
    background: rgba(245, 158, 11, 0.1);
    border-left: 4px solid var(--accent);
    border-radius: 4px;
    font-size: 0.85rem;
    color: #b45309;
}

/* Dashboard Layout */
.dashboard-layout {
    display: flex;
    height: 100vh;
    padding: 20px;
    gap: 20px;
}

/* Sidebar */
.sidebar {
    width: 280px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.logo-icon-small {
    font-size: 1.8rem;
    color: var(--primary);
}

.sidebar-header h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.avatar i {
    font-size: 2.5rem;
    color: var(--primary-light);
}

.user-info h3 {
    font-size: 1rem;
    color: var(--dark);
}

.badge {
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
}

.badge.admin { background: #e0e7ff; color: var(--primary); }
.badge.educador { background: #dcfce7; color: var(--secondary); }
.badge.pai { background: #fef3c7; color: var(--accent); }

.sidebar-nav {
    flex: 1;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
    overflow-y: auto;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 10px;
    margin-bottom: 5px;
    transition: all 0.1s;
    border: 1px solid transparent; /* Reserva espaço para a borda */
}

.nav-item span {
    flex: 1;
}

.nav-badge {
    background: var(--danger);
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: bold;
    min-width: 18px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(239, 68, 68, 0.4);
}

.nav-item:hover, .nav-item.active {
    background: rgba(15, 23, 42, 0.05); /* Destaque suave Slate */
    color: var(--primary);
    font-weight: 600;
}

.nav-item i {
    width: 20px;
    text-align: center;
}

.sidebar-footer {
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.btn-logout {
    width: 100%;
    padding: 12px;
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
}

.btn-logout:hover {
    background: var(--danger);
    color: white;
}

/* Main Content Area */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow: hidden;
}

.topbar {
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.search-bar {
    position: relative;
    width: 300px;
}

.search-bar i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.search-bar input {
    width: 100%;
    padding: 10px 10px 10px 40px;
    border-radius: 20px;
    border: none;
    background: rgba(255,255,255,0.5);
    outline: none;
    transition: all 0.3s;
}

.search-bar input:focus {
    background: rgba(255,255,255,0.9);
}

.notification-icon {
    position: relative;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-muted);
}

.notification-badge {
    position: absolute;
    top: -5px; right: -5px;
    background: var(--danger);
    color: white;
    font-size: 0.6rem;
    padding: 2px 5px;
    border-radius: 10px;
    font-weight: bold;
}

.content-area {
    flex: 1;
    border-radius: 20px;
    overflow-y: auto;
    padding-right: 5px;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.2);
    border-radius: 10px;
}

/* Dashboard Cards Components */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.stat-card {
    padding: 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.1s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.chart-card {
    padding: 20px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: white;
    box-shadow: var(--shadow);
    transition: transform 0.2s;
}

.chart-card:hover {
    transform: translateY(-5px);
}

.chart-card h4 {
    font-size: 0.95rem;
    color: var(--dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.chart-container {
    width: 140px;
    height: 140px;
    position: relative;
    margin-bottom: 15px;
}

.chart-data {
    width: 100%;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-align: left;
    font-size: 0.85rem;
}

.chart-data div {
    display: flex;
    justify-content: space-between;
}

.chart-data .label {
    color: var(--text-muted);
}

.chart-data .value {
    font-weight: 700;
    color: var(--dark);
}

.stat-icon {
    width: 50px; height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-icon.blue { background: rgba(79, 70, 229, 0.1); color: var(--primary); }
.stat-icon.green { background: rgba(16, 185, 129, 0.1); color: var(--secondary); }
.stat-icon.orange { background: rgba(245, 158, 11, 0.1); color: var(--accent); }
.stat-icon.red { background: rgba(239, 68, 68, 0.1); color: var(--danger); }

.stat-info h4 {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.stat-info h2 {
    font-size: 1.8rem;
    color: var(--dark);
}

/* Sections */
.section-title {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card {
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
}

/* Botão Menu Mobile */
.mobile-menu-btn {
    display: none !important;
    background: var(--primary);
    border: none;
    font-size: 1.2rem;
    color: white;
    cursor: pointer !important;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
    align-items: center;
    justify-content: center;
    pointer-events: auto !important;
}

/* Camada de Sombra Mobile */
.mobile-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-overlay.active {
    display: block;
    opacity: 1;
}

@media (max-width: 768px) {
    .dashboard-layout {
        padding: 10px;
        position: relative;
    }
    
    .sidebar {
        position: fixed;
        left: -300px;
        top: 0;
        height: 100vh;
        z-index: 2000;
        width: 280px;
        transition: left 0.3s ease;
        background: white;
        box-shadow: 10px 0 30px rgba(0,0,0,0.1);
    }
    
    .sidebar.active {
        left: 0;
    }
    
    .topbar {
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        padding: 15px !important;
        gap: 12px !important;
        align-items: stretch !important;
    }
    
    .mobile-menu-btn {
        display: flex !important;
        padding: 0;
        font-size: 1.2rem;
        z-index: 3000 !important; /* Valor bem alto para garantir visibilidade */
        position: relative;
    }
    
    #welcome-message {
        font-size: 0.9rem !important; /* Texto menor e mais suave */
    }
    
    #welcome-message span {
        display: inline-block; /* Mostrar um pouco do texto se couber */
        max-width: 150px; /* Um pouco maior já que tem espaço vertical */
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    #welcome-message i {
        display: none;
    }
    
    .topbar-actions {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        width: 100% !important;
        gap: 8px !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .topbar-actions .btn-primary {
        flex: 1 1 30% !important; /* Divide o espaço igualmente entre os botões */
        font-size: 0.75rem !important;
        padding: 10px 4px !important;
        height: 38px !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 5px !important;
        border-radius: 8px !important;
        min-width: 80px !important;
        white-space: nowrap !important;
    }
    
    .topbar-actions .btn-primary[style*="display: none"],
    .topbar-actions .btn-primary[style*="display:none"] {
        display: none !important;
    }
    
    .topbar-actions .btn-primary .btn-text {
        display: inline !important; /* Exibe o texto de volta */
    }
    
    .topbar-actions .btn-primary i {
        font-size: 0.85rem !important;
        margin: 0 !important;
    }
    
    #session-countdown-wrapper {
        width: 100% !important; /* Linha cheia para o temporizador */
        justify-content: center !important;
        padding: 8px 12px !important;
        border-radius: 8px !important;
        margin-bottom: 2px !important;
        display: none; /* Deixa ser controlado pelo javascript */
    }
    
    .countdown-label {
        display: inline !important; /* Exibe "Sessão:" de volta */
    }
    
    #current-date-time {
        display: none !important; /* Esconde data/hora no mobile para ganhar espaço */
    }
    
    .main-content {
        gap: 10px;
    }
}

/* Modals / Janelas Flutuantes */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    transform: none; /* Remover animação de escala para ser mais rápido */
    transition: opacity var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.1s;
    width: 100%;
}

.btn-primary:hover {
    background: var(--primary-light);
}

.modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 1.25rem;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s;
}

.btn-close:hover {
    color: var(--danger);
}

.modal-body {
    padding: 25px;
    overflow-y: auto;
}

.modal-footer {
    padding: 20px 25px;
    border-top: 1px solid rgba(0,0,0,0.05);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* Formulário em Grid */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-grid.full {
    grid-template-columns: 1fr;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 15px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #cbd5e1; /* Borda fina e nítida */
    background: #ffffff;
    font-size: 0.95rem;
    color: var(--text-main);
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.1);
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
    background: rgba(255,255,255,0.4);
    padding: 15px;
    border-radius: 10px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
}

/* Print Layout */
.print-only {
    display: none;
}

@media print {
    @page {
        size: A4;
        margin: 0.3cm;
    }

    body * {
        visibility: hidden;
    }
    
    body {
        background: white !important;
        background-image: none !important;
    }

    .background-shapes {
        display: none !important;
    }

    #print-area, #print-area * {
        visibility: visible;
    }
    
    #print-area {
        display: block !important;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        color: black !important;
        font-family: 'Poppins', sans-serif;
        padding: 5px;
    }

    .print-header {
        text-align: center;
        margin-bottom: 6px;
        border-bottom: 2px solid #000;
        padding-bottom: 5px;
    }

    .print-header h1 {
        font-size: 15px;
        margin: 0;
    }

    .print-header h2 {
        font-size: 12px;
        color: #000;
        margin: 2px 0 0 0;
    }

    .print-section {
        margin-bottom: 6px;
        page-break-inside: avoid;
    }

    .print-section h3 {
        font-size: 12.5px;
        background: #e0f2fe !important;
        color: #0369a1;
        padding: 3px 10px;
        margin-bottom: 6px;
        text-transform: uppercase;
        font-weight: bold;
        letter-spacing: 0.5px;
        border-left: 4px solid #0369a1;
        text-align: center;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .print-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4px 20px;
    }

    .print-field {
        font-size: 10.5px;
        line-height: 1.2;
        display: flex;
        align-items: flex-start;
        gap: 4px;
        border-bottom: 0.5px solid #eee;
        padding-bottom: 1px;
    }

    .print-field strong {
        color: #475569;
        white-space: nowrap;
        font-weight: 600;
    }

    .print-field span {
        color: #000;
        word-break: break-word;
    }

    .print-section p strong {
        color: #000;
    }

    .signatures {
        display: flex;
        justify-content: space-between;
        margin-top: 10px;
        page-break-inside: avoid;
    }

    .signature-line {
        text-align: center;
        width: 32%;
    }

    .signature-line .line {
        border-top: 1px solid #000;
        margin-bottom: 3px;
        width: 100%;
    }

    .signature-line p {
        margin: 0 !important;
        font-size: 11px;
        display: block;
        width: 100%;
        line-height: 1.1; /* Aproxima as linhas */
        padding: 0;
    }
    
    .print-footer p {
        font-size: 12px;
        margin-bottom: 10px;
    }
}

/* Estilo do Histórico de Avisos */
.notices-history-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.notice-history-item {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 15px;
}

.notice-history-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 8px;
}

.notice-history-info h4 {
    color: var(--primary);
    font-size: 1rem;
    margin: 0;
}

.notice-history-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

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

.btn-icon-sm {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    background: white;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.1s;
    position: relative; /* Para o contador de documentos */
}

.btn-icon-sm:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #f1f5f9;
}

.btn-icon-sm.delete:hover {
    border-color: var(--danger);
    color: var(--danger);
}

.notice-history-body {
    font-size: 0.9rem;
    color: var(--text-main);
    white-space: pre-wrap;
}

/* Sistema de Notificao App (Toast) */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: white;
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 15px;
    border-left: 5px solid var(--primary);
    animation: slideInRight 0.5s ease forwards;
    min-width: 300px;
}

.toast i {
    font-size: 1.5rem;
    color: var(--primary);
}

.toast.success { border-left-color: var(--secondary); }
.toast.success i { color: var(--secondary); }

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }

}

/* Estilos para Botões de Ação em Tabelas */
.btn-action {
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid #0f172a;
    background: #0f172a !important;
    color: white !important;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-action:hover {
    background: #1e293b !important;
    border-color: #1e293b;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 12px rgba(15, 23, 42, 0.15);
}

.btn-action.delete {
    background: transparent !important;
    color: #ef4444 !important;
    border: 1px solid #ef4444 !important;
    box-shadow: none;
}

.btn-action.delete:hover {
    background: #ef4444 !important;
    color: white !important;
    border-color: #ef4444 !important;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 12px rgba(239, 68, 68, 0.2);
}

/* Novos Botões de Ação para Atestados Médicos */
.btn-action-atestado {
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.75rem;
    border: 1px solid transparent;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease-in-out;
}

.btn-action-atestado.approve {
    background: #0f172a !important;
    color: white !important;
    border-color: #0f172a !important;
}

.btn-action-atestado.approve:hover {
    background: #1e293b !important;
    border-color: #1e293b !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(15, 23, 42, 0.1);
}

.btn-action-atestado.reject {
    background: transparent !important;
    color: #ef4444 !important;
    border-color: #ef4444 !important;
}

.btn-action-atestado.reject:hover {
    background: #ef4444 !important;
    color: white !important;
    border-color: #ef4444 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(239, 68, 68, 0.15);
}

