/* Unified Luxury UI - Infrastructure Control Design Language */

:root {
    --primary-red: #e11d48;
    /* rose-600 */
    --primary-blue: #e11d48;
    /* fallback to rose-600 */
    --primary-red-glow: rgba(225, 29, 72, 0.4);
    --sidebar-bg: #0f172a;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--slate-50);
}

.dashboard-bg {
    position: fixed;
    bottom: -5%;
    right: -10%;
    width: 500px;
    height: 500px;
    background-image: url('/assets/logo-2-black.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.04;
    pointer-events: none;
    z-index: 0;
    transform: rotate(-15deg);
}



/* Glassmorphism Classes */
.glass-premium {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.glass-header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--slate-200);
}

.glass-card {
    background: white;
    border: 1px solid var(--slate-100);
    border-radius: 1.5rem;
    padding: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(-2px);
}

/* Sidebar Utilities */
.sidebar-link {
    display: flex;
    align-items: center;
    padding: 0.875rem 1rem;
    border-radius: 0.75rem;
    transition: all 0.2s;
    font-weight: 500;
    color: var(--slate-400);
}

.sidebar-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.sidebar-link.active {
    background: var(--primary-red);
    color: white;
    box-shadow: 0 10px 15px -3px var(--primary-red-glow);
}

/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 5px;
}

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

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: var(--slate-200);
    border-radius: 20px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: var(--slate-400);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}