/* css/estilos.css */
:root {
    --primary-color: #00529c;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --info-color: #0dcaf0;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #212529;
}

/* Cards */
.card {
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 1.5rem;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,.12);
}

.card-header {
    background-color: white;
    border-bottom: 1px solid rgba(0,0,0,.125);
    font-weight: 600;
    padding: 1rem 1.25rem;
}

.card-body {
    padding: 1.25rem;
}

/* Botões */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: #004080;
    border-color: #004080;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Tabelas */
.table {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
}

.table thead th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
    color: var(--dark-color);
    padding: 1rem;
}

.table tbody td {
    padding: 0.75rem 1rem;
    vertical-align: middle;
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 82, 156, 0.05);
}

/* Alertas */
.alert {
    border: none;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
}

.alert-primary {
    background-color: rgba(0, 82, 156, 0.1);
    color: var(--primary-color);
    border-left: 4px solid var(--primary-color);
}

/* Badges */
.badge {
    padding: 0.35em 0.65em;
    font-weight: 500;
    border-radius: 50px;
}

/* Formulários */
.form-control {
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 82, 156, 0.25);
}

/* Página Inicial */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0066cc 100%);
    color: white;
    padding: 4rem 0;
    margin-bottom: 2rem;
    border-radius: 0 0 20px 20px;
}

.hero-section h1 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-section .lead {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* Cards de Acesso Rápido */
.card-feature {
    border: none;
    border-radius: 12px;
    background: white;
    padding: 2rem;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #0066cc);
}

.card-feature i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: block;
}

.card-feature h3 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.card-feature p {
    color: var(--secondary-color);
    line-height: 1.6;
}

.card-feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,.15);
}

/* Animação de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Utilitários */
.shadow-sm {
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important;
}

.shadow {
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;
}

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175) !important;
}

.rounded-lg {
    border-radius: 12px !important;
}

.rounded-xl {
    border-radius: 20px !important;
}

/* Responsividade */
@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0;
        border-radius: 0 0 15px 15px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .card-feature {
        padding: 1.5rem;
    }
    
    .card-feature i {
        font-size: 2.5rem;
    }
}

/* Print Styles */
@media print {
    .sidebar,
    .header,
    .breadcrumb-container {
        display: none !important;
    }
    
    .main-content {
        margin-left: 0 !important;
        padding: 0 !important;
    }
    
    .card {
        box-shadow: none !important;
        border: 1px solid #dee2e6 !important;
    }
}
/* Adicione estes estilos ao final do arquivo estilos.css */

/* Hero Section Compacta */
.hero-section-compact {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0066cc 100%);
    color: white;
    padding: 1.5rem 0;
    margin-bottom: 1.5rem;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 4px 12px rgba(0, 82, 156, 0.2);
}

.hero-section-compact h1 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.hero-section-compact .lead {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.hero-section-compact .input-group {
    max-width: 400px;
}

.hero-section-compact .input-group .form-control {
    border-radius: 6px 0 0 6px;
    border: none;
    padding: 0.5rem 0.75rem;
}

.hero-section-compact .input-group .btn {
    border-radius: 0 6px 6px 0;
    background-color: white;
    color: var(--primary-color);
    border: none;
    padding: 0.5rem 1rem;
}

/* Cards Compactos */
.card-feature-compact {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    transition: all 0.3s ease;
    height: 100%;
    background: white;
    box-shadow: 0 2px 6px rgba(0,0,0,.05);
}

.card-feature-compact:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,.1);
    border-color: var(--primary-color);
}

.card-feature-compact .card-body {
    padding: 1rem;
}

.card-feature-compact i {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    display: block;
}

.card-feature-compact .card-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-feature-compact .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
    border-radius: 4px;
}

/* Layout Responsivo para os Cards */
@media (max-width: 768px) {
    .card-feature-compact .card-body {
        padding: 0.75rem;
    }
    
    .card-feature-compact i {
        font-size: 2rem !important;
        margin-bottom: 0.5rem;
    }
    
    .card-feature-compact .card-title {
        font-size: 0.8rem;
        height: 2rem;
    }
    
    .hero-section-compact h1 {
        font-size: 1.5rem;
    }
    
    .hero-section-compact .lead {
        font-size: 0.9rem;
    }
}

/* Ajustes para o grid */
.container-fluid.py-3 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

/* Estilo para títulos de seção */
h3.mb-3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-color);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f0f0f0;
}

/* Cards de indicadores compactos */
.card .card-header.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    font-weight: 600;
    background-color: #f8f9fa;
}

.card-body .border.rounded.bg-light {
    background-color: #f8f9fa !important;
    border: 1px solid #e9ecef !important;
    transition: all 0.2s ease;
}

.card-body .border.rounded.bg-light:hover {
    background-color: #e9ecef !important;
    transform: translateY(-2px);
}

/* Ajustes para lista de atividades */
.list-group-item {
    border-left: none;
    border-right: none;
    border-radius: 0 !important;
}

.list-group-item:first-child {
    border-top: none;
}

.list-group-item:last-child {
    border-bottom: none;
}

.list-group-item:hover {
    background-color: #f8f9fa;
}