/* ========================================
   Modern Seal Car Rental - Custom CSS
   ======================================== */

/* Import Google Fonts & Material Icons */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');

/* ========================================
   CSS Variables (Design System)
   ======================================== */
:root {
    /* Primary Colors */
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    
    /* Secondary Colors */
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --info-color: #06b6d4;
    
    /* Neutral Colors */
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-dark: #f3f4f6;
    --border-color: #e5e7eb;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
}

/* ========================================
   Global Styles
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-secondary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   Modern Layout Structure
   ======================================== */
.page {
    display: flex;
    min-height: 100vh;
    background: var(--bg-secondary);
}

/* ========================================
   Sidebar Styling
   ======================================== */
.sidebar {
    width: 280px;
    background: white;
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    z-index: 1000;
    overflow-y: auto;
}

.sidebar-header {
    border-bottom: 1px solid var(--border-color);
    padding: 0;
}

.logo-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-lg);
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

/* Navigation Menu */
.nav-menu {
    padding: var(--spacing-lg);
    flex: 1;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.nav-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--primary-gradient);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.nav-item:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
    transform: translateX(4px);
}

.nav-item:hover::before {
    transform: translateX(0);
}

.nav-item.active {
    background: var(--primary-gradient);
    color: white;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.nav-item.active .rz-icon {
    color: white !important;
}

.nav-item .rz-icon {
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.nav-divider {
    height: 1px;
    background: var(--border-color);
    margin: var(--spacing-lg) 0;
}

.nav-section-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 0.05em;
    padding: 0 var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

/* ========================================
   Main Content Area
   ======================================== */
.main {
    flex: 1;
    margin-left: 280px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.top-row {
    background: white;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 999;
}

.top-row-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1600px;
    margin: 0 auto;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.content {
    flex: 1;
    padding: var(--spacing-xl);
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
}

/* ========================================
   Radzen Layout Customization (Backup)
   ======================================== */
.rz-layout {
    min-height: 100vh;
}

.rz-header {
    background: var(--primary-gradient) !important;
    box-shadow: var(--shadow-md);
    z-index: 1000;
    border-bottom: none !important;
}

.rz-sidebar {
    background: var(--bg-primary) !important;
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.08) !important;
    border-right: 1px solid var(--border-color) !important;
}

.rz-content-container {
    background: var(--bg-secondary) !important;
    padding: var(--spacing-xl);
}

/* ========================================
   Modern Card Styles
   ======================================== */
.modern-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    overflow: hidden;
}

.modern-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.rz-card {
    border-radius: var(--radius-xl) !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: var(--shadow-md) !important;
}

/* ========================================
   Gradient Cards (Dashboard)
   ======================================== */
.gradient-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    color: white;
    transition: all 0.3s ease;
}

.gradient-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.gradient-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* ========================================
   Button Styles
   ======================================== */
.rz-button {
    border-radius: var(--radius-md) !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    box-shadow: var(--shadow-sm) !important;
}

.rz-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md) !important;
}

.rz-button-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    border: none !important;
}

.rz-button-primary {
    background: var(--primary-gradient) !important;
    border: none !important;
}

.rz-button-info {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%) !important;
    border: none !important;
}

.rz-button-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    border: none !important;
}

.rz-button-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    border: none !important;
}

/* ========================================
   DataGrid Styles
   ======================================== */
.rz-datatable {
    border-radius: var(--radius-lg) !important;
    overflow: hidden;
    box-shadow: var(--shadow-md) !important;
    border: 1px solid var(--border-color) !important;
}

.rz-datatable-header {
    background: var(--bg-dark) !important;
    font-weight: 600 !important;
    border-bottom: 2px solid var(--border-color) !important;
}

.rz-datatable-data tr {
    transition: all 0.2s ease;
}

.rz-datatable-data tr:hover {
    background: var(--bg-secondary) !important;
    transform: scale(1.01);
}

.rz-datatable-striped .rz-datatable-data tr:nth-child(even) {
    background: var(--bg-secondary);
}

/* ========================================
   Badge Styles
   ======================================== */
.rz-badge {
    border-radius: var(--radius-sm) !important;
    font-weight: 600 !important;
    padding: 0.25rem 0.75rem !important;
    font-size: 0.875rem !important;
}

.rz-badge-success {
    background: var(--success-color) !important;
}

.rz-badge-warning {
    background: var(--warning-color) !important;
}

.rz-badge-danger {
    background: var(--danger-color) !important;
}

.rz-badge-info {
    background: var(--info-color) !important;
}

/* ========================================
   Progress Bar (Fuel Level)
   ======================================== */
.rz-progressbar {
    height: 10px !important;
    border-radius: var(--radius-sm) !important;
    background: var(--bg-dark) !important;
    overflow: hidden;
}

.rz-progressbar-value {
    border-radius: var(--radius-sm) !important;
    transition: all 0.5s ease;
}

/* ========================================
   Form Elements
   ======================================== */
.rz-textbox,
.rz-numeric,
.rz-dropdown,
.rz-textarea,
.rz-password {
    border-radius: var(--radius-md) !important;
    border: 2px solid var(--border-color) !important;
    transition: all 0.3s ease !important;
    padding: 0.75rem !important;
}

.rz-textbox:focus,
.rz-numeric:focus,
.rz-dropdown:focus,
.rz-textarea:focus,
.rz-password:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1) !important;
    outline: none !important;
}

.rz-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

/* ========================================
   Slider (Fuel Level)
   ======================================== */
.rz-slider {
    height: 8px !important;
    border-radius: var(--radius-sm) !important;
}

.rz-slider-handle {
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    background: white !important;
    box-shadow: var(--shadow-lg) !important;
    border: 3px solid var(--primary-color) !important;
}

/* ========================================
   Dialog/Modal Styles
   ======================================== */
.rz-dialog {
    border-radius: var(--radius-2xl) !important;
    box-shadow: var(--shadow-xl) !important;
    border: none !important;
}

.rz-dialog-title {
    font-weight: 700 !important;
    font-size: 1.5rem !important;
    color: var(--text-primary) !important;
    padding: var(--spacing-xl) !important;
}

.rz-dialog-content {
    padding: var(--spacing-xl) !important;
}

/* ========================================
   Notification Styles
   ======================================== */
.rz-notification {
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-xl) !important;
    border: none !important;
}

.rz-notification-success {
    background: var(--success-color) !important;
}

.rz-notification-error {
    background: var(--danger-color) !important;
}

.rz-notification-warning {
    background: var(--warning-color) !important;
}

.rz-notification-info {
    background: var(--info-color) !important;
}

/* ========================================
   Alert Styles
   ======================================== */
.rz-alert {
    border-radius: var(--radius-md) !important;
    border: none !important;
    padding: var(--spacing-lg) !important;
}

/* ========================================
   Login Page Specific
   ======================================== */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    padding: var(--spacing-xl);
}

.login-card {
    width: 100%;
    max-width: 450px;
    padding: var(--spacing-2xl);
    border-radius: var(--radius-2xl);
    background: white;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.login-logo {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-lg);
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
}

/* ========================================
   Utility Classes
   ======================================== */
.gradient-bg {
    background: var(--primary-gradient);
}

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-purple {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-out;
}

.animate-slide-in {
    animation: slideIn 0.3s ease-out;
}

/* ========================================
   Scrollbar Styling
   ======================================== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--text-light);
    border-radius: var(--radius-sm);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

/* ========================================
   Dashboard Home Page Styles
   ======================================== */
.dashboard-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Welcome Card */
.welcome-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 2.5rem;
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.welcome-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
}

.welcome-subtitle {
    font-size: 1.125rem;
    margin: 0;
    opacity: 0.95;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    border-radius: 16px;
    padding: 1.75rem;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.stat-card-purple { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.stat-card-green { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
.stat-card-orange { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }
.stat-card-cyan { background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%); }

.stat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
}

.stat-icon svg {
    width: 28px;
    height: 28px;
}

.stat-badge {
    background: rgba(255, 255, 255, 0.3);
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.95;
}

.stat-button {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.625rem 1rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.stat-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(4px);
}

/* Bottom Grid */
.bottom-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
}

.quick-actions-card,
.status-card {
    background: white;
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
}

.section-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 1.25rem 0;
    color: #1f2937;
}

/* Quick Actions */
.action-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.action-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.action-btn-purple { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.action-btn-green { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
.action-btn-orange { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }
.action-btn-cyan { background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%); }

.action-icon {
    font-size: 2rem;
}

.action-text {
    font-size: 0.9375rem;
}

/* Status Items */
.status-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.status-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: #f9fafb;
    border-radius: 8px;
}

.status-label {
    font-weight: 500;
    color: #6b7280;
}

.status-value {
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
}

.status-success {
    background: #d1fae5;
    color: #065f46;
}

.status-muted {
    color: #9ca3af;
}

/* ========================================
   Modern Hero Header
   ======================================== */
.page-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.hero-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.hero-icon {
    font-size: 4rem;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: white;
    margin: 0 0 0.5rem 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.875rem 2rem;
    background: white;
    color: #667eea;
    font-weight: 700;
    font-size: 1.0625rem;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.hero-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.hero-button .material-icons {
    font-size: 1.375rem;
}

/* ========================================
   Stats Mini Cards
   ======================================== */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.stat-mini {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
    border-radius: 18px;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.stat-mini:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.stat-mini-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: white;
}

.stat-mini-icon .material-icons {
    font-size: 2rem;
}

.stat-mini-purple .stat-mini-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.stat-mini-green .stat-mini-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.stat-mini-orange .stat-mini-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.stat-mini-content {
    flex: 1;
}

.stat-mini-value {
    font-size: 2rem;
    font-weight: 800;
    color: #1f2937;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-mini-label {
    font-size: 0.9375rem;
    color: #6b7280;
    font-weight: 500;
}

/* ========================================
   Vehicles Grid
   ======================================== */
.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.75rem;
}

.vehicle-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.vehicle-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.vehicle-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border-bottom: 1px solid #e5e7eb;
}

.vehicle-plate {
    font-size: 1.375rem;
    font-weight: 800;
    color: #1f2937;
    font-family: 'Courier New', monospace;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 2px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.vehicle-status {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.vehicle-status-available {
    background: #d1fae5;
    color: #065f46;
}

.vehicle-status-rented {
    background: #fef3c7;
    color: #92400e;
}

.vehicle-card-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.vehicle-info {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.vehicle-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.vehicle-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.vehicle-detail {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: #6b7280;
    font-size: 0.9375rem;
}

.vehicle-detail .material-icons {
    font-size: 1.125rem;
    color: #9ca3af;
}

.vehicle-fuel {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 1.25rem;
    border-radius: 14px;
    border: 1px solid #bae6fd;
}

.fuel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.875rem;
}

.fuel-label {
    font-weight: 700;
    color: #0c4a6e;
    font-size: 0.9375rem;
}

.fuel-value {
    font-weight: 800;
    color: #0369a1;
    font-size: 1.125rem;
}

.fuel-bar-wrapper {
    display: flex;
    gap: 0.375rem;
    margin-bottom: 0.625rem;
}

.fuel-segment {
    flex: 1;
    height: 14px;
    background: #cbd5e1;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.fuel-segment-high {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.fuel-segment-medium {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.fuel-segment-low {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.fuel-percent {
    text-align: center;
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 600;
}

.vehicle-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 12px;
    border: 1px solid #bbf7d0;
}

.price-label {
    color: #166534;
    font-weight: 600;
    font-size: 0.9375rem;
}

.price-value {
    color: #15803d;
    font-weight: 800;
    font-size: 1.5rem;
}

.vehicle-card-footer {
    display: flex;
    gap: 0.75rem;
    padding: 1.25rem;
    background: #fafafa;
    border-top: 1px solid #e5e7eb;
}

.vehicle-action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.vehicle-action-btn .material-icons {
    font-size: 1.125rem;
}

.vehicle-btn-edit {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

.vehicle-btn-edit:hover {
    background: #dbeafe;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.2);
}

.vehicle-btn-delete {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.vehicle-btn-delete:hover {
    background: #fee2e2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(185, 28, 28, 0.2);
}

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    background: white;
    border-radius: 24px;
    border: 2px dashed #e5e7eb;
}

.empty-icon {
    font-size: 6rem;
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 0.5rem 0;
}

.empty-state p {
    color: #6b7280;
    font-size: 1.125rem;
    margin: 0 0 2rem 0;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .vehicles-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-left {
        flex-direction: column;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .vehicles-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .sidebar {
        width: 240px;
    }
    
    .main {
        margin-left: 240px;
    }
}

@media (max-width: 1200px) {
    .bottom-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        left: -280px;
        transition: left 0.3s ease;
        z-index: 2000;
    }
    
    .sidebar.open {
        left: 0;
    }
    
    .main {
        margin-left: 0;
    }
    
    .content {
        padding: var(--spacing-md);
    }
    
    .modern-card {
        border-radius: var(--radius-md);
    }
    
    .gradient-card {
        padding: var(--spacing-lg);
    }
    
    .top-row-content {
        padding: 1rem;
    }
    
    /* Dashboard Home Page */
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        grid-template-columns: 1fr;
    }
    
    .welcome-card {
        padding: 1.5rem;
    }
    
    .welcome-title {
        font-size: 1.5rem;
    }
}

/* ========================================
   Dark Mode Support (Optional)
   ======================================== */
@media (prefers-color-scheme: dark) {
    :root {
        --text-primary: #f9fafb;
        --text-secondary: #d1d5db;
        --text-light: #9ca3af;
        --bg-primary: #1f2937;
        --bg-secondary: #111827;
        --bg-dark: #374151;
        --border-color: #374151;
    }
}

/* ========================================
   Global Modern Page Styles
   ======================================== */

/* Modern Page Container */
.modern-page {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    animation: fadeIn 0.4s ease;
    padding: 0.5rem;
}

/* Page Container (Legacy) */
.page-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Page Header Card */
.page-header-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    color: white;
}

.page-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.page-title-section {
    flex: 1;
    min-width: 250px;
}

.page-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: white;
}

.page-subtitle {
    font-size: 1rem;
    margin: 0;
    opacity: 0.95;
    color: rgba(255, 255, 255, 0.9);
}

/* Data Card */
.data-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
}

/* Primary Button */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-primary .material-icons {
    font-size: 1.25rem;
}

/* Icon Buttons */
.action-buttons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.btn-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #f3f4f6;
}

.btn-icon .material-icons {
    font-size: 1.125rem;
}

.btn-icon-edit {
    color: #3b82f6;
}

.btn-icon-edit:hover {
    background: #dbeafe;
    transform: scale(1.1);
}

.btn-icon-delete {
    color: #ef4444;
}

.btn-icon-delete:hover {
    background: #fee2e2;
    transform: scale(1.1);
}

.btn-icon-success {
    color: #10b981;
}

.btn-icon-success:hover {
    background: #d1fae5;
    transform: scale(1.1);
}

.btn-icon-info {
    color: #06b6d4;
}

.btn-icon-info:hover {
    background: #cffafe;
    transform: scale(1.1);
}

/* Data Display Styles */
.data-info-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.data-info-primary {
    font-weight: 600;
    color: #1f2937;
    font-size: 0.9375rem;
}

.data-info-secondary {
    color: #6b7280;
    font-size: 0.875rem;
}

.data-flex-row {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.data-icon {
    font-size: 1.125rem;
    color: #6b7280;
}

.data-icon-sm {
    font-size: 0.875rem;
    color: #9ca3af;
}

.data-icon-box {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    color: white;
}

.data-icon-box .material-icons {
    font-size: 1.25rem;
}

.data-price {
    font-weight: 600;
    color: #10b981;
    font-size: 1rem;
}

.data-date {
    color: #374151;
    font-size: 0.9375rem;
}

/* Data Badges */
.data-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    width: fit-content;
}

.badge-purple {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.badge-cyan {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    color: white;
}

.badge-green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8125rem;
    width: fit-content;
}

.status-success {
    background: #d1fae5;
    color: #065f46;
}

.status-warning {
    background: #fef3c7;
    color: #92400e;
}

.status-danger {
    background: #fee2e2;
    color: #991b1b;
}

.status-info {
    background: #cffafe;
    color: #155e75;
}

/* Fuel Level Bar */
.fuel-level-container {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.fuel-level-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fuel-level-text {
    font-weight: 600;
    font-size: 0.875rem;
    color: #374151;
}

.fuel-level-percent {
    font-size: 0.75rem;
    color: #6b7280;
}

.fuel-level-bar {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.fuel-level-progress {
    height: 100%;
    transition: width 0.3s ease, background 0.3s ease;
    border-radius: 4px;
}

.fuel-high {
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
}

.fuel-medium {
    background: linear-gradient(90deg, #f59e0b 0%, #d97706 100%);
}

.fuel-low {
    background: linear-gradient(90deg, #ef4444 0%, #dc2626 100%);
}

/* Radzen DataGrid Overrides */
.rz-datatable {
    border-radius: 12px !important;
    overflow: hidden;
    border: none !important;
}

.rz-datatable-data td {
    padding: 1rem !important;
    border-bottom: 1px solid #f3f4f6 !important;
}

.rz-datatable-data tr:last-child td {
    border-bottom: none !important;
}

.rz-datatable-data tr:hover {
    background: #f9fafb !important;
}

.rz-datatable thead th {
    background: #f9fafb !important;
    color: #374151 !important;
    font-weight: 700 !important;
    padding: 1rem !important;
    border-bottom: 2px solid #e5e7eb !important;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.rz-paginator {
    background: white !important;
    border-top: 1px solid #e5e7eb !important;
    padding: 1rem !important;
}

/* Radzen Tabs Override */
.rz-tabview-nav {
    background: transparent !important;
    border-bottom: 2px solid #e5e7eb !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
}

.rz-tabview-nav-link {
    padding: 1rem 1.5rem !important;
    color: #6b7280 !important;
    font-weight: 600 !important;
    border: none !important;
    border-bottom: 3px solid transparent !important;
    background: transparent !important;
    transition: all 0.2s ease !important;
}

.rz-tabview-nav-link:hover {
    color: #667eea !important;
    background: #f9fafb !important;
}

.rz-tabview-nav-link-selected {
    color: #667eea !important;
    border-bottom-color: #667eea !important;
    background: transparent !important;
}

/* ========================================
   Rentals Grid Styling
   ======================================== */
.rentals-grid .rz-datatable {
    background: #fff;
    border-radius: 18px !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.rentals-grid .rz-datatable thead th {
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%) !important;
    color: #0f172a !important;
    border-bottom: 1px solid #e5e7eb !important;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.rentals-grid .rz-datatable-data td {
    padding: 1rem 1.1rem !important;
    border-bottom: 1px dashed #e5e7eb !important;
    vertical-align: middle;
    font-size: 0.95rem;
}

.rentals-grid .rz-datatable-data tr {
    background: #fff;
    transition: all 0.15s ease;
    border-left: 4px solid transparent;
}

.rentals-grid .rz-datatable-data tr:nth-child(even) {
    background: #f8fafc;
}

.rentals-grid .rz-datatable-data tr:hover {
    background: #eef2ff !important;
    border-left-color: #6366f1;
    box-shadow: 0 6px 14px rgba(99, 102, 241, 0.12);
}

.rentals-grid .rz-paginator {
    border-top: 1px solid #e5e7eb !important;
    background: #fff !important;
    padding: 1rem !important;
    border-radius: 0 0 18px 18px;
}

/* ========================================
   Employees Grid
   ======================================== */
.employees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.75rem;
}

.employee-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.employee-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.employee-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.employee-avatar {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 14px;
}

.employee-avatar .material-icons {
    font-size: 2rem;
}

.employee-header-info {
    flex: 1;
}

.employee-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
}

.employee-id {
    font-size: 0.875rem;
    margin: 0;
    opacity: 0.9;
}

.employee-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.employee-info-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #6b7280;
    font-size: 0.9375rem;
}

.employee-info-row .material-icons {
    font-size: 1.125rem;
    color: #9ca3af;
}

.employee-salary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 12px;
    border: 1px solid #bbf7d0;
    margin-top: 0.5rem;
}

.employee-salary .material-icons {
    font-size: 1.5rem;
    color: #15803d;
}

.salary-value {
    font-size: 1.375rem;
    font-weight: 800;
    color: #15803d;
}

.employee-card-footer {
    display: flex;
    gap: 0.75rem;
    padding: 1.25rem;
    background: #fafafa;
    border-top: 1px solid #e5e7eb;
}

/* ========================================
   Payment Methods Grid
   ======================================== */
.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.75rem;
}

.payment-method-card {
    background: white;
    border-radius: 20px;
    padding: 1.75rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transition: all 0.3s ease;
}

.payment-method-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.payment-method-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    color: white;
}

.payment-method-icon .material-icons {
    font-size: 2rem;
}

.payment-method-content {
    flex: 1;
}

.payment-method-name {
    font-size: 1.375rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 0.5rem 0;
}

.payment-method-description {
    color: #6b7280;
    font-size: 0.9375rem;
    line-height: 1.5;
    margin: 0 0 1rem 0;
}

.payment-method-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #9ca3af;
    font-size: 0.875rem;
}

.payment-method-date .material-icons {
    font-size: 1rem;
}

.payment-method-actions {
    display: flex;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid #f3f4f6;
}

/* ========================================
   Modal Form Styles
   ======================================== */
.form-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-row-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #374151;
    font-size: 0.9375rem;
}

.form-label .material-icons {
    font-size: 1.125rem;
    color: #667eea;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.2s ease;
    font-family: inherit;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 80px;
}

/* Fuel Section */
.fuel-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 1.5rem;
    border-radius: 16px;
    border: 2px solid #bae6fd;
}

.fuel-header-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.fuel-badge {
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    color: #0369a1;
    font-size: 1.125rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.fuel-slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #cbd5e1;
    outline: none;
    margin: 1rem 0;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

.fuel-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #667eea;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
    transition: all 0.2s ease;
}

.fuel-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.6);
}

.fuel-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #667eea;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
    transition: all 0.2s ease;
}

.fuel-slider::-moz-range-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.6);
}

.fuel-segments {
    display: flex;
    gap: 0.375rem;
    margin-bottom: 0.5rem;
}

.fuel-segment {
    flex: 1;
    height: 12px;
    background: #cbd5e1;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.fuel-labels {
    display: flex;
    justify-content: space-between;
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.validation-message {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 4px;
}

/* Global form controls (dropdown/input) for modals */
.form-select,
.form-input,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #1f2937;
    background: linear-gradient(to bottom, #ffffff, #f9fafb);
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    outline: none;
    transition: all 0.25s ease;
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.2rem;
    padding-right: 2.5rem;
}

.form-select:hover:not(:disabled),
.form-input:hover,
.form-textarea:hover {
    border-color: #3b82f6;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.08);
}

.form-select:focus,
.form-input:focus,
.form-textarea:focus {
    border-color: #3b82f6;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

.form-select:disabled {
    background: #f3f4f6;
    border-color: #e5e7eb;
    color: #9ca3af;
    cursor: not-allowed;
    opacity: 0.65;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4000;
    padding: 1.5rem;
}

.modal-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 880px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.modal-close {
    background: #f3f4f6;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: #e5e7eb;
}

/* Checkbox */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.checkbox-label:hover {
    background: #f3f4f6;
}

.checkbox-input {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #667eea;
}

.checkbox-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #374151;
}

.checkbox-text .material-icons {
    font-size: 1.25rem;
    color: #10b981;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn .material-icons {
    font-size: 1.25rem;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: #f3f4f6;
    color: #6b7280;
    border: 1px solid #e5e7eb;
}

.btn-secondary:hover {
    background: #e5e7eb;
    color: #374151;
}

@media (max-width: 768px) {
    .form-row-2 {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
}

/* ========================================
   Print Styles
   ======================================== */
@media print {
    .rz-sidebar,
    .rz-header,
    .no-print {
        display: none !important;
    }
}
