/* HIT SOLUTIONS - Estilos generales */

:root {
    --hit-azul:    #1565C0;
    --hit-oscuro:  #0D47A1;
    --hit-claro:   #E3F2FD;
    --sidebar-w:   230px;
}

/* Navbar */
.bg-hit {
    background-color: var(--hit-azul) !important;
}

/* Sidebar */
#sidebar {
    width: var(--sidebar-w);
    min-height: calc(100vh - 56px);
    transition: width 0.2s;
    flex-shrink: 0;
}

#sidebar .nav-link {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    border-radius: 0;
    transition: background 0.15s;
}

#sidebar .nav-link:hover,
#sidebar .nav-link.active {
    background-color: var(--hit-azul);
}

#sidebar .nav-link i {
    margin-right: 8px;
    width: 18px;
    text-align: center;
}

/* Sidebar oculto en móvil */
@media (max-width: 991px) {
    #sidebar {
        width: 0;
        overflow: hidden;
    }
    #sidebar.show {
        width: var(--sidebar-w);
    }
}

/* Contenido */
#content {
    min-height: calc(100vh - 56px);
    background-color: #F5F7FA;
}

/* Tarjetas del dashboard */
.card-stat {
    border-left: 4px solid var(--hit-azul);
    transition: transform 0.15s;
}
.card-stat:hover {
    transform: translateY(-2px);
}

/* Badges de estado */
.badge-abierto      { background-color: #2196F3; }
.badge-proceso      { background-color: #FF9800; }
.badge-espera       { background-color: #9C27B0; }
.badge-cerrado      { background-color: #4CAF50; }
.badge-cancelado    { background-color: #F44336; }

/* Prioridades */
.prioridad-baja     { color: #8BC34A; }
.prioridad-normal   { color: #2196F3; }
.prioridad-alta     { color: #FF9800; }
.prioridad-urgente  { color: #F44336; font-weight: bold; }

/* Tabla responsiva */
.table-hit thead {
    background-color: var(--hit-azul);
    color: white;
}
.table-hit tbody tr:hover {
    background-color: var(--hit-claro);
    cursor: pointer;
}

/* Login */
.login-wrapper {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--hit-oscuro) 0%, var(--hit-azul) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    width: 100%;
    max-width: 420px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

/* Sección de campos sensibles */
.campo-sensible {
    background-color: #FFF8E1;
    border-left: 3px solid #FFC107;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 1rem;
}

/* Etiqueta de inventario */
.etiqueta-preview {
    border: 2px dashed #ccc;
    padding: 12px;
    text-align: center;
    font-family: monospace;
    background: white;
}
