:root {
    --primary: #1565c0;
    --primary-dark: #0d47a1;
    --primary-light: #e3f2fd;
    --accent: #00bcd4;
    --secondary: #6c757d;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --info: #17a2b8;
    --dark: #212529;
    --light: #f8f9fa;
    --white: #ffffff;
    --glass-bg: rgba(30, 30, 30, 0.85);
    --glass-border: rgba(255, 255, 255, 0.1);
    --sidebar-width: 260px;
    --header-height: 70px;
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-family);
    background-color: #f4f7f9;
    color: var(--dark);
}

.login-input {
    background: white !important;
    border: 2px solid transparent !important;
    border-radius: 6px !important;
    color: #333 !important;
    padding: 10px 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.login-input:focus {
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 188, 212, 0.25) !important;
}

.btn-fixween {
    background-color: var(--primary) !important;
    border: none !important;
    color: white !important;
    font-weight: 500 !important;
    padding: 12px !important;
    border-radius: 6px !important;
    transition: background 0.2s !important;
}

.btn-fixween:hover {
    background-color: var(--primary-dark) !important;
}

.page {
    display: flex;
    flex-direction: row;
}

.sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    background: var(--white);
    border-right: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.sidebar nav {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 2rem;
}

/* Custom Scrollbar for Sidebar */
.sidebar nav::-webkit-scrollbar {
    width: 4px;
}

.sidebar nav::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar nav::-webkit-scrollbar-thumb {
    background: #e0e0e0;
    border-radius: 10px;
}

.sidebar nav::-webkit-scrollbar-thumb:hover {
    background: #ccc;
}

.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-header {
    height: var(--header-height);
    background: var(--white);
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    justify-content: space-between;
}

.main-content {
    padding: 2rem;
    flex: 1;
}

/* Card Styles */
.fx-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #f0f0f0;
}

.fx-glass-card {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.login-page .fx-glass-card {
    background: var(--glass-bg) !important;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 600;
    color: #1a1a1a;
}

/* Sidebar Nav */
.nav-item {
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    color: var(--secondary);
    text-decoration: none;
    transition: all 0.2s;
    border-radius: 8px;
    margin: 0.25rem 0.75rem;
}

.nav-item:hover,
.nav-item.active {
    background-color: var(--primary-light);
    color: var(--primary);
}

.nav-item i {
    margin-right: 0.75rem;
    font-size: 1.25rem;
}

/* Dashboard Widgets */
.stat-card {
    display: flex;
    align-items: center;
    padding: 1rem;
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.5rem;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.stat-label {
    color: var(--secondary);
    font-size: 0.875rem;
    margin: 0;
}

/* Google Maps Autocomplete Fix */
.pac-container {
    z-index: 9999 !important;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid #ddd;
    margin-top: 5px;
}