/* PREMIUM UI OVERHAUL v5 (Glass & Floating) - FORCED UPDATE */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #4f46e5;
    --primary-hover: #4338ca;
    --secondary-color: #64748b;
    --accent-color: #8b5cf6;
    --bg-body: #f1f5f9;
    --bg-surface: rgba(255, 255, 255, 0.9);
    --glass-border: 1px solid rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    --sidebar-width: 260px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-body);
    color: #1e293b;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
}

/* Floating Sidebar (Premium Gradient) */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--sidebar-width);
    /* PREMIUM INDIGO GRADIENT */
    background: linear-gradient(180deg, #3730a3 0%, #1e1b4b 100%) !important;
    background-color: #1e1b4b !important; /* Fallback */
    color: #fff !important;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1rem;
    overflow-y: auto;
}

.main-content {
    margin-left: var(--sidebar-width);
    padding: 2rem;
    min-height: 100vh;
    transition: all 0.3s ease;
}

.nav-link {
    color: #94a3b8;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    font-weight: 500;
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateX(2px);
}

.nav-link.active {
    background-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.nav-link i {
    font-size: 1.1rem;
    margin-right: 0.75rem;
    width: 20px;
    text-align: center;
    opacity: 0.9;
}

/* Cards */
.card {
    background: var(--bg-surface);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Profile */
.profile-cover {
    height: 180px;
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    border-radius: 1.5rem 1.5rem 0 0;
    position: relative;
    overflow: hidden;
}

.profile-avatar-container {
    margin-top: -75px;
    position: relative;
    z-index: 2;
}

.profile-avatar {
    width: 150px;
    height: 150px;
    border: 5px solid #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    background: #fff;
}

/* Utilities */
.bg-indigo-subtle { background-color: #e0e7ff; }
.bg-success-subtle { background-color: #dcfce7; }
.bg-purple-subtle { background-color: #f3e8ff; }
.text-purple { color: #7e22ce; }
.hover-elevate:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .sidebar { transform: translateX(-110%); width: 80%; }
    .sidebar.show { transform: translateX(0); }
    .main-content { margin-left: 0; padding: 1rem; }
}
