/* BDA Logger - Estilos personalizados */

/* Logo y Branding */
.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 1.5rem;
    color: #2563eb !important;
    text-decoration: none;
}

.navbar-brand:hover {
    color: #1d4ed8 !important;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    margin-right: 12px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo-text {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 600;
    letter-spacing: -0.5px;
}

/* Header personalizado */
.custom-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.custom-header .navbar-brand {
    color: white !important;
}

.custom-header .navbar-brand:hover {
    color: #f1f5f9 !important;
}

/* Login page styles */
.login-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 2rem;
    width: 100%;
    max-width: 400px;
}

.login-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.login-logo .logo-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

.login-logo h1 {
    color: #2563eb;
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
}

.login-logo p {
    color: #64748b;
    margin: 0.5rem 0 0 0;
    font-size: 0.9rem;
}

/* Dashboard styles mejorados */
.dashboard-header {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.stat-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
}

/* Títulos de las tarjetas del dashboard - CORREGIDO */
.text-xs {
    font-size: 0.875rem !important; /* Aumentado de 0.75rem */
    font-weight: 700 !important; /* Más bold */
    color: #374151 !important; /* Color más oscuro */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.font-weight-bold {
    font-weight: 700 !important;
}

.text-gray-800 {
    color: #1f2937 !important; /* Más oscuro para mejor contraste */
}

.text-gray-300 {
    color: #d1d5db !important;
}

.text-gray-500 {
    color: #6b7280 !important;
}

/* Colores de severidad mejorados */
.text-primary {
    color: #ffffff !important;
}

.text-danger {
    color: #dc2626 !important;
}

.text-warning {
    color: #d97706 !important;
}

.text-info {
    color: #0891b2 !important;
}

/* Error severity badges */
.severity-critical {
    background: #dc2626;
    color: white;
}

.severity-error {
    background: #ea580c;
    color: white;
}

.severity-warning {
    background: #d97706;
    color: white;
}

.severity-info {
    background: #2563eb;
    color: white;
}

/* Tarjetas con bordes de colores mejoradas */
.border-left-primary {
    border-left: 4px solid #2563eb !important;
}

.border-left-danger {
    border-left: 4px solid #dc2626 !important;
}

.border-left-warning {
    border-left: 4px solid #d97706 !important;
}

.border-left-info {
    border-left: 4px solid #0891b2 !important;
}

/* Íconos en las tarjetas */
.fa-2x {
    color: #9ca3af !important; /* Color más visible para los íconos */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .logo-icon {
        width: 32px;
        height: 32px;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .login-logo .logo-icon {
        width: 50px;
        height: 50px;
    }
    
    .login-logo h1 {
        font-size: 1.5rem;
    }
    
    .text-xs {
        font-size: 0.8rem !important;
    }
}

/* Page background */
body {
    background-color: #f8fafc;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Card improvements */
.card {
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 8px 8px 0 0 !important;
    border: none;
}

/* Button improvements */
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 6px;
    font-weight: 500;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}