/**
 * Estilos Customizados
 * Sistema de Avaliação do Estágio Probatório - Corumbá/MS
 */

/* Layout Geral */
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #f8f9fa;
}

main {
    flex: 1;
    margin-top: 70px;
}

/* Navbar */
.navbar-brand {
    font-weight: 600;
}

/* Cards */
.card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border: none;
}

.card-header {
    background-color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
    font-weight: 600;
}

/* Dashboard Cards */
.dashboard-card {
    transition: transform 0.2s;
}

.dashboard-card:hover {
    transform: translateY(-2px);
}

.dashboard-card .card-body {
    padding: 1.5rem;
}

.dashboard-card .display-6 {
    font-weight: 700;
}

/* Tabelas */
.table th {
    font-weight: 600;
    background-color: #f8f9fa;
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 123, 255, 0.05);
}

/* Badges de Status */
.badge-status {
    font-size: 0.75rem;
    padding: 0.35em 0.65em;
}

/* Formulários */
.form-label {
    font-weight: 500;
}

.required::after {
    content: " *";
    color: #dc3545;
}

/* Login Page */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
}

.login-card {
    width: 100%;
    max-width: 400px;
    padding: 2rem;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.login-logo {
    text-align: center;
    margin-bottom: 1.5rem;
}

.login-logo i {
    font-size: 3rem;
    color: #0d6efd;
}

/* Avaliação - Tabs */
.nav-tabs .nav-link {
    font-weight: 500;
}

.nav-tabs .nav-link.active {
    background-color: #0d6efd;
    color: #fff;
    border-color: #0d6efd;
}

/* Fator Card */
.fator-card {
    border-left: 4px solid #0d6efd;
}

.fator-card .card-header {
    background-color: #e7f1ff;
}

/* Opções de Resposta */
.opcao-resposta {
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.2s;
}

.opcao-resposta:hover {
    background-color: #f8f9fa;
    border-color: #0d6efd;
}

.opcao-resposta.selected {
    background-color: #e7f1ff;
    border-color: #0d6efd;
}

.opcao-resposta input[type="radio"] {
    margin-right: 0.75rem;
}

/* Conceito Badges */
.conceito-excelente {
    background-color: #198754;
}

.conceito-bom {
    background-color: #0d6efd;
}

.conceito-regular {
    background-color: #ffc107;
    color: #000;
}

.conceito-insatisfatorio {
    background-color: #dc3545;
}

/* Timeline de Avaliações */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #dee2e6;
}

.timeline-item {
    position: relative;
    padding-bottom: 1.5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.65rem;
    top: 0.25rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #0d6efd;
    border: 2px solid #fff;
}

.timeline-item.pending::before {
    background-color: #6c757d;
}

.timeline-item.completed::before {
    background-color: #198754;
}

/* Print Styles */
@media print {
    .navbar, .footer, .btn, .no-print {
        display: none !important;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #000;
    }
    
    main {
        padding: 0 !important;
    }
}

/* Responsivo */
@media (max-width: 768px) {
    .dashboard-card .display-6 {
        font-size: 1.5rem;
    }
    
    .table-responsive {
        font-size: 0.875rem;
    }
}
