:root {
    --sidebar-bg: #1e2632;
    --sidebar-hover: #2c3748;
    --sidebar-active: #0d6efd;
    --topbar-height: 60px;
    --sidebar-width: 260px;
    --sidebar-collapsed-width: 70px;
    --bg-light: #f8f9fa;
    --primary-color: #0d6efd;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    margin: 0;
    padding: 0;
}

[v-cloak] {
    display: none;
}

/* Login Screen */
.login-container {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d6efd 0%, #003d99 100%);
}

.login-card {
    width: 100%;
    max-width: 400px;
    background: white;
    border-radius: 12px;
}

/* Dashboard Layout */
.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    background-color: var(--sidebar-bg);
    color: white;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    z-index: 1000;
}

.sidebar-collapsed {
    width: var(--sidebar-collapsed-width);
}

.sidebar-header {
    height: var(--topbar-height);
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-nav {
    padding: 0;
}

.sidebar-nav .nav-link {
    color: rgba(255, 255, 255, 0.7);
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s;
    white-space: nowrap;
    overflow: hidden;
}

.sidebar-collapsed .sidebar-nav .nav-link {
    padding: 12px 0;
    justify-content: center;
}

.sidebar-nav .nav-link i {
    font-size: 1.25rem;
}

.sidebar-nav .nav-link:hover {
    background-color: var(--sidebar-hover);
    color: white;
}

.sidebar-nav .nav-link.active {
    background-color: var(--sidebar-active);
    color: white;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.sidebar-collapsed + .main-content {
    margin-left: var(--sidebar-collapsed-width);
}

/* Topbar */
.topbar {
    height: var(--topbar-height);
    background-color: white;
    border-bottom: 1px solid #dee2e6;
    position: sticky;
    top: 0;
    z-index: 999;
}

/* Stats Cards */
.stat-card {
    transition: transform 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .sidebar {
        margin-left: calc(-1 * var(--sidebar-width));
    }
    
    .sidebar-active-mobile .sidebar {
        margin-left: 0;
    }
    
    .main-content {
        margin-left: 0 !important;
    }
}
