/* ============================================
   GaragePro - Modern SaaS Dashboard Styles
   ============================================ */

/* CSS Variables */
:root {
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --primary-light: #818cf8;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #06b6d4;
    --dark: #1e293b;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --sidebar-width: 280px;
    --sidebar-collapsed: 80px;
    --header-height: 70px;
    --transition: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--gray-100);
    -webkit-font-smoothing: antialiased;
}

/* App Wrapper */
.app-wrapper {
    display: flex;
    min-height: 100vh;
}

/* ============================================
   SIDEBAR
   ============================================ */
.app-sidebar {
    width: var(--sidebar-width);
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    z-index: 100;
    transition: var(--transition);
    overflow: hidden;
}

.app-sidebar .sidebar-nav {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
}

.app-sidebar .sidebar-footer {
    flex-shrink: 0;
}

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

/* Sidebar Header */
.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 18px;
    font-weight: 700;
    color: white;
    letter-spacing: -0.5px;
}

.brand-tagline {
    font-size: 11px;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.app-wrapper.sidebar-collapsed .brand-text,
.app-wrapper.sidebar-collapsed .brand-tagline {
    display: none;
}

/* User Profile */
.user-profile {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.05);
    margin: 15px;
    border-radius: 12px;
}

.user-avatar {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: white;
}

.user-avatar i {
    font-size: 28px;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-size: 14px;
    font-weight: 600;
    color: white;
}

.user-role {
    font-size: 12px;
    color: var(--gray-400);
}

.app-wrapper.sidebar-collapsed .user-info {
    display: none;
}

/* Sidebar Navigation */
.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 10px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--gray-600) transparent;
}

.sidebar-nav::-webkit-scrollbar {
    width: 4px;
}

.sidebar-nav::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: var(--gray-600);
    border-radius: 4px;
}

.sidebar-nav:hover::-webkit-scrollbar-thumb {
    background: var(--gray-400);
}

.nav-section {
    padding: 0 15px;
    margin-bottom: 5px;
}

.nav-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 10px 12px;
    margin-bottom: 4px;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition);
}

.nav-section-title:hover {
    color: var(--gray-200);
    background: rgba(255,255,255,0.05);
}

.nav-section-title.active {
    color: var(--primary-light);
}

.nav-section-title.nav-collapsible {
    cursor: pointer;
}

.nav-section-title.nav-collapsible span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.nav-section-title.collapsed .nav-arrow {
    transform: rotate(-90deg);
}

.nav-collapse-content {
    list-style: none;
    overflow: hidden;
    max-height: 1000px;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 1;
}

.nav-collapse-content.collapsed {
    max-height: 0;
    opacity: 0;
}

.app-wrapper.sidebar-collapsed .nav-section-title span,
.app-wrapper.sidebar-collapsed .nav-section-title.nav-arrow {
    display: none;
}

.app-wrapper.sidebar-collapsed .nav-section-title {
    justify-content: center;
    padding: 10px;
}

.app-wrapper.sidebar-collapsed .nav-collapse-content {
    display: none;
}

.nav-list {
    list-style: none;
}

.nav-item {
    margin-bottom: 4px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: var(--gray-300);
    text-decoration: none;
    border-radius: 10px;
    transition: var(--transition);
    position: relative;
}

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

.nav-link.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
}

.nav-icon {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.nav-text {
    font-size: 14px;
    font-weight: 500;
    flex: 1;
}

.nav-badge {
    background: var(--gray-700);
    color: var(--gray-300);
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 20px;
    min-width: 22px;
    text-align: center;
}

.nav-badge-warning {
    background: var(--warning);
    color: var(--gray-900);
}

.nav-link.active .nav-badge {
    background: rgba(255,255,255,0.2);
    color: white;
}

/* Colorful Sidebar Menu Icons */
.nav-section:nth-child(1) .nav-section-title span i { color: #60a5fa; }
.nav-section:nth-child(2) .nav-section-title span i { color: #fbbf24; }
.nav-section:nth-child(3) .nav-section-title span i { color: #a78bfa; }
.nav-section:nth-child(4) .nav-section-title span i { color: #f472b6; }

.nav-item:nth-child(1) .nav-icon i { color: #60a5fa; }
.nav-item:nth-child(2) .nav-icon i { color: #34d399; }
.nav-item:nth-child(3) .nav-icon i { color: #fbbf24; }
.nav-item:nth-child(4) .nav-icon i { color: #f87171; }
.nav-item:nth-child(5) .nav-icon i { color: #a78bfa; }
.nav-item:nth-child(6) .nav-icon i { color: #22d3ee; }
.nav-item:nth-child(7) .nav-icon i { color: #f472b6; }
.nav-item:nth-child(8) .nav-icon i { color: #fb923c; }

.nav-link:hover .nav-icon i {
    color: white !important;
    transform: scale(1.2);
    transition: all 0.3s ease;
}

.nav-link.active .nav-icon i {
    color: white !important;
}

.nav-section-title:hover span i {
    transform: scale(1.1);
    transition: all 0.3s ease;
}

.app-wrapper.sidebar-collapsed .nav-text,
.app-wrapper.sidebar-collapsed .nav-badge,
.app-wrapper.sidebar-collapsed .nav-section-title {
    display: none;
}

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

/* Sidebar Footer */
.sidebar-footer {
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.currency-display {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-400);
    font-size: 14px;
    font-weight: 600;
}

.currency-display i {
    color: var(--warning);
}

.logout-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-400);
    text-decoration: none;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: var(--transition);
}

.logout-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger);
}

.app-wrapper.sidebar-collapsed .currency-display span,
.app-wrapper.sidebar-collapsed .logout-btn span {
    display: none;
}

/* ============================================
   MAIN CONTENT AREA
   ============================================ */
.app-main {
    flex: 1;
    margin-left: var(--sidebar-width);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    transition: var(--transition);
}

.app-wrapper.sidebar-collapsed .app-main {
    margin-left: var(--sidebar-collapsed);
}

/* Header */
.app-header {
    height: var(--header-height);
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 50%, #1e293b 100%);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 0 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.sidebar-toggle {
    width: 40px;
    height: 40px;
    border: none;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    border-radius: 10px;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
}

.sidebar-toggle:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.6);
}

.page-info {
    display: flex;
    flex-direction: column;
}

.page-title {
    font-size: 22px;
    font-weight: 700;
    background: linear-gradient(90deg, #60a5fa, #34d399, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #94a3b8;
}

.breadcrumb-nav a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb-nav a:hover {
    color: #60a5fa;
}

.breadcrumb-nav i {
    font-size: 10px;
    color: #64748b;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-actions {
    display: flex;
    gap: 8px;
}

.header-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    color: #cbd5e1;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.header-btn:hover {
    background: rgba(255,255,255,0.2);
    color: #fbbf24;
    transform: scale(1.1);
}

.notification-dot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    background: var(--danger);
    border-radius: 50%;
    border: 2px solid #1e293b;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.header-time {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #94a3b8;
    padding: 8px 15px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
}

.header-time i {
    color: #fbbf24;
}

/* Header User Profile */
.header-user {
    position: relative;
}

.user-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 15px;
    background: var(--gray-100);
    border-radius: 10px;
    text-decoration: none;
    color: var(--gray-700);
    transition: var(--transition);
}

.user-dropdown-toggle:hover {
    background: var(--gray-200);
    color: var(--gray-800);
}

.header-user-avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
}

.header-user-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.header-user-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-800);
}

.header-user-role {
    font-size: 11px;
    color: var(--gray-500);
    text-transform: capitalize;
}

.header-user .dropdown-menu {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    padding: 10px;
    min-width: 200px;
}

.header-user .dropdown-item {
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 14px;
}

.header-user .dropdown-item:hover {
    background: var(--gray-100);
}

.header-user .dropdown-item.text-danger:hover {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.header-user .dropdown-divider {
    margin: 8px 0;
    border-color: var(--gray-200);
}

/* Logo in Sidebar */
.logo-image {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    overflow: hidden;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Page Content */
.app-content {
    flex: 1;
    padding: 25px;
}

/* Footer */
.app-footer {
    padding: 20px 25px;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 50%, #1e293b 100%);
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #94a3b8;
}

.footer-left {
    color: #cbd5e1;
    font-weight: 500;
}

.footer-left span {
    background: linear-gradient(90deg, #60a5fa, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-right {
    color: #94a3b8;
}

.footer-right a {
    color: #fbbf24;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-right a:hover {
    color: #f59e0b;
    text-decoration: underline;
}

/* ============================================
   COMPONENTS
   ============================================ */

/* Cards */
.card {
    background: white;
    border-radius: 16px;
    border: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.card:hover {
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.card-header {
    background: transparent;
    border-bottom: 1px solid var(--gray-100);
    padding: 20px 25px;
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-800);
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-body {
    padding: 25px;
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.stat-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
}

.stat-card.primary::before { background: var(--primary); }
.stat-card.success::before { background: var(--success); }
.stat-card.warning::before { background: var(--warning); }
.stat-card.danger::before { background: var(--danger); }

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

.stat-icon {
    width: 55px;
    height: 55px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.stat-card.primary .stat-icon {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(79, 70, 229, 0.2) 100%);
    color: var(--primary);
}

.stat-card.success .stat-icon {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.2) 100%);
    color: var(--success);
}

.stat-card.warning .stat-icon {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(245, 158, 11, 0.2) 100%);
    color: var(--warning);
}

.stat-card.danger .stat-icon {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.2) 100%);
    color: var(--danger);
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-800);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 13px;
    color: var(--gray-500);
    font-weight: 500;
}

.stat-trend {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 8px;
    padding: 4px 8px;
    border-radius: 6px;
}

.stat-trend.up {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.stat-trend.down {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

/* Tables */
.table-wrapper {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.table {
    margin-bottom: 0;
    width: 100%;
}

.table thead th {
    background: var(--gray-50);
    border-bottom: 2px solid var(--gray-200);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-600);
    padding: 15px 20px;
}

.table tbody td {
    padding: 15px 20px;
    vertical-align: middle;
    border-bottom: 1px solid var(--gray-100);
    font-size: 14px;
}

.table tbody tr:hover {
    background: var(--gray-50);
}

.table tbody tr:last-child td {
    border-bottom: none;
}

/* Buttons */
.btn {
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 10px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #3730a3 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
    border: none;
    color: white;
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger) 0%, #dc2626 100%);
    border: none;
    color: white;
}

.btn-outline-secondary {
    border: 2px solid var(--gray-300);
    color: var(--gray-600);
    background: transparent;
}

.btn-outline-secondary:hover {
    background: var(--gray-100);
    border-color: var(--gray-400);
    color: var(--gray-800);
}

.btn-sm {
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 8px;
}

/* Forms */
.form-control, .form-select {
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    font-size: 14px;
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.form-label {
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 8px;
}

/* Badges */
.badge {
    padding: 6px 12px;
    font-weight: 500;
    font-size: 12px;
    border-radius: 6px;
}

.badge-success { background: rgba(16, 185, 129, 0.1); color: var(--success); }
.badge-danger { background: rgba(239, 68, 68, 0.1); color: var(--danger); }
.badge-warning { background: rgba(245, 158, 11, 0.1); color: #d97706; }
.badge-info { background: rgba(6, 182, 212, 0.1); color: var(--info); }
.badge-primary { background: rgba(79, 70, 229, 0.1); color: var(--primary); }
.badge-secondary { background: var(--gray-200); color: var(--gray-600); }

/* Alerts */
.alert {
    border: none;
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-success-modern {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
    border-left: 4px solid var(--success);
    color: #065f46;
}

.alert-danger-modern {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.05) 100%);
    border-left: 4px solid var(--danger);
    color: #991b1b;
}

.alert-close {
    margin-left: auto;
    background: none;
    border: none;
    font-size: 20px;
    color: inherit;
    opacity: 0.5;
    cursor: pointer;
}

.alert-close:hover {
    opacity: 1;
}

/* Animations */
.animate-fade {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   LOGIN PAGE
   ============================================ */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 50%, #1e293b 100%);
    padding: 20px;
}

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

.login-header {
    text-align: center;
    margin-bottom: 35px;
}

.login-logo {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.4);
}

.login-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 8px;
}

.login-subtitle {
    color: var(--gray-500);
    font-size: 14px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .app-sidebar {
        transform: translateX(-100%);
    }
    
    .app-main {
        margin-left: 0;
    }
    
    .app-wrapper.sidebar-open .app-sidebar {
        transform: translateX(0);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .app-content {
        padding: 15px;
    }
    
    .card-body {
        padding: 15px;
    }
}

/* Print Styles */
@media print {
    .app-sidebar, .app-header, .app-footer, .btn, .no-print, .card-header form { 
        display: none !important; 
    }
    .app-main {
        margin-left: 0 !important;
    }
    .app-content {
        padding: 0 !important;
    }
    .card {
        border: none !important;
        box-shadow: none !important;
    }
    .print-header {
        display: block !important;
        margin-bottom: 20px;
        padding-bottom: 10px;
        border-bottom: 2px solid #333;
    }
    .table {
        border: 1px solid #ddd;
    }
    .table thead {
        display: table-header-group;
    }
    .table th, .table td {
        border: 1px solid #ddd !important;
    }
    body {
        font-size: 12px;
    }
    @page {
        margin: 1cm;
    }
}
