/* FRIDAY - Estilos personalizados */

/* Sidebar */
.sidebar {
    transition: width 0.3s ease;
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 0.625rem 1rem;
    border-radius: 0.5rem;
    color: #94a3b8;
    transition: all 0.2s ease;
    text-decoration: none;
    font-size: 0.875rem;
}

.sidebar-link:hover {
    background-color: #1e293b;
    color: #e2e8f0;
}

.sidebar-link.active {
    background-color: #1e293b;
    color: #3b82f6;
    font-weight: 600;
}

.sidebar-link svg {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

/* Cards de estadisticas */
.stat-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1.25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: box-shadow 0.2s ease;
}

.stat-card:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1;
}

.stat-label {
    font-size: 0.8125rem;
    color: #64748b;
    margin-top: 0.25rem;
}

/* Tabla de alertas */
.alert-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.alert-badge.info {
    background-color: #dbeafe;
    color: #1d4ed8;
}

.alert-badge.warning {
    background-color: #fef3c7;
    color: #b45309;
}

.alert-badge.critical {
    background-color: #fee2e2;
    color: #dc2626;
}

/* Login */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}

.login-card {
    background: white;
    border-radius: 1rem;
    padding: 2.5rem;
    width: 100%;
    max-width: 24rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.login-input {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    transition: border-color 0.2s;
    outline: none;
}

.login-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.login-btn {
    width: 100%;
    padding: 0.625rem;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.login-btn:hover {
    background: #2563eb;
}

.login-btn:disabled {
    background: #93c5fd;
    cursor: not-allowed;
}

/* Topbar */
.topbar {
    height: 3.5rem;
    background: white;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    justify-content: space-between;
}

/* Contenido principal */
.main-content {
    padding: 1.5rem;
    background: #f8fafc;
    min-height: calc(100vh - 3.5rem);
}

/* Scrollbar personalizado */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #475569;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}
