/* Estilos Corporativos para Mesa de Ayuda */
:root {
    --bs-primary-rgb: 13, 110, 253;
    --primary-color: #0d6efd;
    --sidebar-bg: #1e293b;
    --body-bg: #f8fafc;
}

body {
    background-color: var(--body-bg);
    color: #1e293b;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Doble Branding en Navbar */
.navbar-brand-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo-left {
    height: 42px;
    width: auto;
    object-fit: contain;
}

.brand-logo-right {
    height: 38px;
    width: auto;
    object-fit: contain;
    background-color: #ffffff;
    padding: 2px 6px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.brand-divider {
    height: 28px;
    width: 1px;
    background-color: #cbd5e1;
}

/* Cards & Contenedores */
.card-corporate {
    border: 1px solid #e2e8f0;
    border-radius: 0.6rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.05);
    background-color: #ffffff;
}

.card-header-corporate {
    background-color: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    font-weight: 600;
}

/* KPI Cards */
.kpi-card {
    border: none;
    border-radius: 0.75rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.kpi-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
}

/* SLA Badges */
.sla-badge {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.35em 0.65em;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.sla-vencido {
    background-color: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fca5a5;
}

.sla-proximo {
    background-color: #fef3c7;
    color: #92400e;
    border: 1px solid #fcd34d;
}

.sla-atiempo {
    background-color: #dcfce7;
    color: #15803d;
    border: 1px solid #86efac;
}

/* Timeline de Seguimientos */
.timeline {
    position: relative;
    padding-left: 2rem;
    list-style: none;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 15px;
    width: 2px;
    background: #e2e8f0;
}

.timeline-item {
    position: relative;
    margin-bottom: 1.5rem;
}

.timeline-point {
    position: absolute;
    left: -2rem;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #0d6efd;
    border: 3px solid #ffffff;
    box-shadow: 0 0 0 2px #bfdbfe;
}

.timeline-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 1rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

/* Tablas */
.table-custom th {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    background-color: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
}

.table-custom td {
    vertical-align: middle;
    font-size: 0.92rem;
}

/* Evidencias */
.evidence-card {
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 10px 14px;
    background-color: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background-color 0.15s ease;
}

.evidence-card:hover {
    background-color: #f1f5f9;
}

