/* ============================================================================
   SISTEMA WEB DE GESTÃO E CADASTRO DE AGENDAMENTOS HOSPITALARES
   FULLTECH Stack - Stylesheet Customizado
   ============================================================================ */

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --info-color: #0dcaf0;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --dark-bg: #1a2332;
    --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

body {
    background-color: #f4f6f9;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: #333;
}

/* Header & Navbar */
.navbar-custom {
    background-color: var(--dark-bg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Cards de Métricas */
.card-metric {
    border: none;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-metric:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.card-metric .metric-icon {
    font-size: 2.2rem;
    opacity: 0.85;
}

/* Badges e Tipos de Procedimento */
.badge-exame {
    background-color: #e3f2fd;
    color: #0d6efd;
    border: 1px solid #90caf9;
    font-weight: 600;
}

.badge-consulta {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
    font-weight: 600;
}

/* Tabelas e DataTables */
.card-table {
    border: none;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
}

.table th {
    background-color: #f8f9fa;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    color: #555;
    border-bottom: 2px solid #dee2e6;
}

.table-hover tbody tr:hover {
    background-color: #f1f5f9;
}

/* Modal e Formulários */
.modal-header-custom {
    background-color: var(--dark-bg);
    color: #fff;
}

.form-label {
    font-weight: 600;
    font-size: 0.88rem;
    color: #495057;
}

/* Estilos de Impressão */
@media print {
    body {
        background-color: #fff !important;
        color: #000 !important;
    }

    .no-print {
        display: none !important;
    }

    .print-container {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Suporte para Cupom Térmico 80mm */
    .print-thermal {
        width: 78mm !important;
        margin: 0 auto !important;
        font-family: 'Courier New', Courier, monospace;
        font-size: 11px;
        line-height: 1.2;
    }

    .print-thermal .receipt-header {
        text-align: center;
        border-bottom: 1px dashed #000;
        padding-bottom: 5px;
        margin-bottom: 8px;
    }

    .print-thermal .receipt-divider {
        border-top: 1px dashed #000;
        margin: 8px 0;
    }
}
