/* ============================================
   OnAir Smart Cargo Router - Complete Modern Redesign
   Version 2.0 - Professional & Functional
   ============================================ */

/* ===================================
   RESET & BASE
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* OnAir Company Colors */
    --primary-blue: #0091FF;
    --primary-blue-hover: #0077d4;
    --primary-blue-light: #E3F2FD;
    --primary-blue-dark: #0062b8;
    
    /* Accent Colors */
    --accent-orange: #FF6D00;
    
    /* Neutral Colors */
    --background: #e9ecef;
    --surface: #ffffff;
    --surface-hover: #f8f9fa;
    --surface-dark: #f1f3f5;
    
    /* Text Colors */
    --text-primary: #0d1117;
    --text-secondary: #495057;
    --text-muted: #6c757d;
    
    /* Border Colors */
    --border-light: #dee2e6;
    --border-medium: #adb5bd;
    --border-dark: #6c757d;
    
    /* Status Colors */
    --success: #10b981;
    --success-light: #d1fae5;
    --success-dark: #059669;
    --warning: #f59e0b;
    --warning-light: #fef3c7;
    --warning-dark: #d97706;
    --error: #ef4444;
    --error-light: #fee2e2;
    --error-dark: #dc2626;
    --info: #0091FF;
    --info-light: #dbeafe;
    
    /* Shadows - stronger for more depth */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.15), 0 6px 10px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2), 0 10px 20px rgba(0, 0, 0, 0.15);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    
    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 12px;
    --spacing-lg: 16px;
    --spacing-xl: 20px;
    --spacing-2xl: 24px;
    --spacing-3xl: 32px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    background: linear-gradient(to bottom, #e3f2fd 0%, #bbdefb 50%, #90caf9 100%);
    background-attachment: fixed;
    min-height: 100vh;
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===================================
   NAVIGATION
   =================================== */
.top-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 16px rgba(0, 145, 255, 0.12), 0 1px 4px rgba(0, 145, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid rgba(255, 255, 255, 0.8);
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 var(--spacing-2xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    font-size: 1.4em;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
}

.logo-icon {
    font-size: 1.3em;
}

.nav-links {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    font-size: 0.95em;
}

.nav-links a:hover {
    color: var(--primary-blue);
    background: var(--primary-blue-light);
}

.nav-links a.active {
    color: var(--primary-blue);
    background: var(--primary-blue-light);
    font-weight: 600;
}

.nav-links a.feedback-link {
    background: var(--primary-blue);
    color: white;
    margin-left: var(--spacing-md);
}

.nav-links a.feedback-link:hover {
    background: var(--primary-blue-hover);
    color: white;
}

/* Discord Link Styling */
.nav-links a.discord-link {
    background: #5865F2;
    color: white;
    margin-left: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-links a.discord-link:hover {
    background: #4752C4;
    color: white;
}

.nav-links a.discord-link i {
    font-size: 1.1em;
}

/* Navigation Dropdown */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.nav-dropdown-toggle i.fa-chevron-down {
    font-size: 0.75em;
    transition: transform 0.2s;
}

.nav-dropdown:hover .nav-dropdown-toggle i.fa-chevron-down {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 200px;
    background: var(--surface);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1001;
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md) var(--spacing-xl);
    color: var(--text-primary);
    text-decoration: none;
    transition: background 0.2s;
    white-space: nowrap;
}

.nav-dropdown-menu a:hover {
    background: var(--surface-hover);
}

.nav-dropdown-menu a.active {
    background: var(--primary-blue);
    color: white;
    font-weight: 600;
}

.nav-dropdown-menu a i {
    width: 18px;
    text-align: center;
}

/* ===================================
   CONTAINER & LAYOUT
   =================================== */
.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: var(--spacing-3xl) var(--spacing-2xl);
}

/* App Layout - 3 Column Grid */
.app-layout {
    display: grid;
    grid-template-columns: 340px 1fr 400px;
    gap: var(--spacing-2xl);
    align-items: start;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.main-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.route-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
    position: sticky;
    top: 90px;
}

/* ===================================
   CARDS
   =================================== */
.aircraft-selector-card,
.capacity-card,
.export-import-card,
.selected-cargo-card,
.route-card,
.suggestions-card,
.capacity-overview-card,
.route-controls,
.add-cargo-main-card,
.route-map-card,
.page-card,
.info-card,
.help-card,
.setup-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: var(--spacing-2xl);
    box-shadow: 0 4px 16px rgba(0, 145, 255, 0.08), 0 2px 8px rgba(0, 145, 255, 0.04);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.aircraft-selector-card h3,
.capacity-card h3,
.export-import-card h3,
.selected-cargo-card h3,
.route-card h3,
.suggestions-card h3,
.capacity-overview-card h3,
.route-controls h3,
.route-map-card h3 {
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
    font-size: 1.15em;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.aircraft-selector-card h3 i,
.capacity-card h3 i,
.export-import-card h3 i,
.selected-cargo-card h3 i,
.route-card h3 i,
.suggestions-card h3 i,
.capacity-overview-card h3 i,
.route-controls h3 i,
.route-map-card h3 i {
    color: var(--primary-blue);
}

/* ===================================
   FORM ELEMENTS
   =================================== */
.select-large,
.select-small,
.form-control,
.search-input {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-lg);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 0.95em;
    background: var(--surface);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    color: var(--text-primary);
}

.select-large {
    font-size: 1em;
    font-weight: 500;
}

.select-large:focus,
.select-small:focus,
.form-control:focus,
.search-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px var(--primary-blue-light);
}

.select-large:hover,
.select-small:hover,
.form-control:hover {
    border-color: var(--border-medium);
}

select.form-control,
select.select-large,
select.select-small {
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path fill="%231a1d1f" d="M6 9L1 4h10z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

/* Form Groups */
.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: var(--spacing-xl);
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
    font-size: 0.95em;
}

.form-hint,
small.form-hint {
    display: block;
    margin-top: var(--spacing-xs);
    font-size: 0.85em;
    color: var(--text-secondary);
    font-style: italic;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.form-row.single {
    grid-template-columns: 1fr;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

/* Checkbox */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 0.95em;
    color: var(--text-secondary);
    cursor: pointer;
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-blue);
}

/* Modern Custom Checkbox */
.checkbox-label-modern {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    font-size: 0.9em;
    color: var(--text-secondary);
    cursor: pointer;
    user-select: none;
    padding: var(--spacing-sm) 0;
    transition: color 0.2s ease;
}

.checkbox-label-modern:hover {
    color: var(--text-primary);
}

.checkbox-label-modern input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-custom {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    background: var(--surface);
    border: 2px solid var(--border-medium);
    border-radius: 4px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.checkbox-label-modern:hover .checkbox-custom {
    border-color: var(--primary-blue);
}

.checkbox-label-modern input[type="checkbox"]:checked ~ .checkbox-custom {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
}

.checkbox-custom::after {
    content: '';
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label-modern input[type="checkbox"]:checked ~ .checkbox-custom::after {
    display: block;
}

.checkbox-text {
    font-size: 0.95em;
    line-height: 1.4;
}

/* Compact Checkbox (voor naast labels) */
.import-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.checkbox-label-compact {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8em;
    color: var(--text-secondary);
    cursor: pointer;
    user-select: none;
    transition: color 0.2s ease;
    margin: 0;
    padding: 0;
}

.checkbox-label-compact:hover {
    color: var(--text-primary);
}

.checkbox-label-compact input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-custom-small {
    position: relative;
    display: inline-block;
    width: 16px;
    height: 16px;
    background: var(--surface);
    border: 2px solid var(--border-medium);
    border-radius: 3px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.checkbox-label-compact:hover .checkbox-custom-small {
    border-color: var(--primary-blue);
}

.checkbox-label-compact input[type="checkbox"]:checked ~ .checkbox-custom-small {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
}

.checkbox-custom-small::after {
    content: '';
    position: absolute;
    display: none;
    left: 4px;
    top: 1px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label-compact input[type="checkbox"]:checked ~ .checkbox-custom-small::after {
    display: block;
}

.checkbox-text-small {
    font-size: 0.85em;
    line-height: 1;
    white-space: nowrap;
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
    padding: var(--spacing-md) var(--spacing-xl);
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.95em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    font-family: inherit;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-blue);
    color: white;
    box-shadow: 0 2px 8px rgba(0, 145, 255, 0.25);
}

.btn-primary:hover {
    background: var(--primary-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 145, 255, 0.35);
}

.btn-secondary {
    background: var(--text-secondary);
    color: white;
}

.btn-secondary:hover {
    background: #4b5563;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.25);
}

.btn-success {
    background: var(--success);
    color: white;
}

.btn-success:hover {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.btn-danger {
    background: var(--error);
    color: white;
}

.btn-danger:hover {
    background: #dc2626;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}

.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border: 1px solid var(--primary-blue);
}

.btn-outline:hover {
    background: var(--primary-blue-light);
}

.btn-large {
    padding: var(--spacing-lg) var(--spacing-2xl);
    font-size: 1.05em;
}

.btn-small {
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: 0.9em;
    width: 100%;
}

.btn:active {
    transform: translateY(0);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

.btn-icon-small {
    padding: var(--spacing-md) var(--spacing-lg);
    border: none;
    background: var(--primary-blue);
    color: white;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    flex: 1;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.btn-icon-small:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-clear-route {
    background: #ef4444;
}

.btn-clear-route:hover {
    background: #dc2626;
}

.btn-reset-route {
    background: #f59e0b;
}

.btn-reset-route:hover {
    background: #d97706;
}

/* ===================================
   AIRCRAFT SELECTOR
   =================================== */
.aircraft-info {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: rgba(241, 243, 245, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--border-light);
}

.info-row:last-child {
    border-bottom: none;
}

.info-row .label {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9em;
}

.info-row .value {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 0.95em;
}

.info-row hr {
    border: 0;
    border-top: 1px solid var(--border-light);
    margin: var(--spacing-md) 0;
}

/* ===================================
   CAPACITY TRACKING
   =================================== */
.capacity-meter {
    margin-top: var(--spacing-md);
}

.capacity-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
    font-weight: 600;
    font-size: 0.9em;
    color: var(--text-secondary);
}

.capacity-bar {
    height: 36px;
    background: rgba(227, 242, 253, 0.5);
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    margin-bottom: var(--spacing-md);
    border: 2px solid rgba(255, 255, 255, 0.6);
    box-shadow: inset 0 2px 4px rgba(0, 145, 255, 0.08);
}

.capacity-fill {
    height: 100%;
    transition: width 0.5s ease, background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.85em;
}

.capacity-fill.good {
    background: linear-gradient(90deg, var(--success), #34d399);
}

.capacity-fill.warning {
    background: linear-gradient(90deg, var(--warning), #fbbf24);
}

.capacity-fill.optimal {
    background: linear-gradient(90deg, #059669, var(--success));
}

.capacity-fill.overweight {
    background: linear-gradient(90deg, var(--error), #f87171);
}

.capacity-status {
    font-size: 0.85em;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-sm);
    text-align: center;
    font-weight: 600;
}

.capacity-status.ok {
    background: var(--success-light);
    color: #065f46;
}

.capacity-status.warning {
    background: var(--warning-light);
    color: #92400e;
}

.capacity-status.success {
    background: var(--success-light);
    color: #065f46;
}

.capacity-status.error {
    background: var(--error-light);
    color: #991b1b;
}

/* ===================================
   EXPORT/IMPORT
   =================================== */
.section-label {
    font-size: 0.8em;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}

.import-header .section-label {
    margin-bottom: 0;
}

.export-section,
.import-section {
    margin-bottom: var(--spacing-lg);
}

.export-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.import-options {
    margin-bottom: var(--spacing-md);
    margin-top: var(--spacing-md);
}

/* ===================================
   SELECTED CARGO LIST
   =================================== */
.selected-cargo-list {
    max-height: 350px;
    overflow-y: auto;
    padding-right: var(--spacing-xs);
}

.selected-cargo-item {
    padding: var(--spacing-lg);
    background: rgba(248, 250, 251, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 2px solid rgba(255, 255, 255, 0.6);
    transition: all 0.2s ease;
}

.selected-cargo-item:hover {
    border-color: var(--primary-blue);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 16px rgba(0, 145, 255, 0.15);
    transform: translateY(-1px);
}

.cargo-info {
    flex: 1;
}

.cargo-info .cargo-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
    font-size: 0.95em;
}

.cargo-info .cargo-route {
    font-size: 0.85em;
    color: var(--text-secondary);
}

.cargo-stats {
    text-align: right;
}

.cargo-weight,
.cargo-pay {
    display: block;
    font-size: 0.85em;
}

.cargo-weight {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
}

.cargo-pay {
    color: var(--success);
    font-weight: 700;
}

/* ===================================
   MAIN CONTENT - JOB CARDS
   =================================== */
.jobs-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: var(--spacing-2xl);
    box-shadow: 0 4px 16px rgba(0, 145, 255, 0.08), 0 2px 8px rgba(0, 145, 255, 0.04);
    border: 2px solid rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
}

.jobs-header h2 {
    margin: 0;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.5em;
}

.jobs-controls {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.search-input {
    width: 280px;
}

/* Jobs Grid */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
    gap: var(--spacing-lg);
}

/* Job Card */
.job-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-md);
    padding: var(--spacing-xl);
    transition: all 0.2s ease;
    cursor: pointer;
}

.job-card:hover {
    border-color: var(--primary-blue);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 24px rgba(0, 145, 255, 0.15), 0 4px 12px rgba(0, 145, 255, 0.1);
    transform: translateY(-2px);
}

.job-card.selected {
    border-color: var(--success-dark);
    background: rgba(209, 250, 229, 0.95);
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.2);
}

.job-card.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.job-card.disabled:hover {
    transform: none;
    box-shadow: none;
}

.job-card-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.checkbox-container {
    display: flex;
    align-items: center;
}

.job-checkbox {
    width: 22px;
    height: 22px;
    cursor: pointer;
    accent-color: var(--primary-blue);
}

.job-route {
    flex: 1;
}

.route-text {
    font-weight: 700;
    font-size: 1.05em;
    color: var(--text-primary);
}

.job-pay {
    font-size: 1.2em;
    font-weight: 800;
    color: var(--success);
}

.job-body {
    padding-left: 38px;
}

.job-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.detail-item {
    font-size: 0.9em;
}

.detail-label {
    color: var(--text-secondary);
    margin-right: 6px;
}

.detail-value {
    color: var(--text-primary);
    font-weight: 600;
}

.job-tags {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.job-tag {
    padding: 4px var(--spacing-md);
    border-radius: var(--radius-sm);
    font-size: 0.8em;
    font-weight: 600;
}

.job-tag.cargo {
    background: var(--info-light);
    color: #1e40af;
}

.job-tag.passenger {
    background: #fce7f3;
    color: #be185d;
}

.job-tag.express {
    background: var(--warning-light);
    color: #92400e;
}

.job-tag.vip {
    background: #f3e8ff;
    color: #6b21a8;
}

/* ===================================
   ADD CARGO FORM
   =================================== */
.add-cargo-main-card {
    padding: var(--spacing-3xl);
}

.add-cargo-main-card h2 {
    margin: 0 0 var(--spacing-3xl) 0;
    color: var(--text-primary);
    font-size: 1.8em;
    text-align: center;
    font-weight: 700;
}

.cargo-form-container {
    max-width: 650px;
    margin: 0 auto;
}

.calculated-weight-main {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-hover));
    color: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-md);
    margin: var(--spacing-2xl) 0;
    text-align: center;
    font-size: 1.1em;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 145, 255, 0.25);
}

.calculated-weight-main span {
    font-size: 1.4em;
    font-weight: 800;
}

.form-buttons {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-3xl);
}

.form-buttons .btn-large {
    flex: 1;
}

/* ===================================
   ROUTE SIDEBAR - OVERVIEW
   =================================== */
.route-empty-state,
.route-loading-state {
    text-align: center;
    padding: var(--spacing-3xl) var(--spacing-xl);
    color: var(--text-secondary);
}

.route-empty-state i,
.route-loading-state i {
    font-size: 2.5em;
    color: var(--border-medium);
    margin-bottom: var(--spacing-md);
    display: block;
}

.route-empty-state p {
    font-size: 1.05em;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.route-empty-state small {
    font-size: 0.9em;
    color: var(--text-muted);
}

.loading-spinner-small {
    border: 3px solid var(--border-light);
    border-top: 3px solid var(--primary-blue);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto var(--spacing-md);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Capacity Overview Grid */
.capacity-overview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.airport-capacity-tile {
    background: rgba(248, 250, 251, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.airport-capacity-tile:hover {
    border-color: var(--primary-blue);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 6px 20px rgba(0, 145, 255, 0.15);
    transform: translateY(-2px);
}

.capacity-tile-number {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    background: var(--primary-blue);
    color: white;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8em;
    font-weight: 700;
}

.capacity-tile-icao {
    font-weight: 800;
    color: var(--text-primary);
    font-size: 1.15em;
    margin-bottom: var(--spacing-xs);
}

.capacity-tile-value {
    color: var(--text-secondary);
    font-size: 0.85em;
}

.capacity-tile-seats {
    color: var(--text-secondary);
    font-size: 0.85em;
    margin-top: var(--spacing-xs);
}

/* Visited Stops */
.airport-capacity-tile.visited {
    background: var(--border-light);
    opacity: 0.5;
    filter: grayscale(100%);
}

.airport-capacity-tile.visited:hover {
    opacity: 0.7;
}

.airport-capacity-tile.visited .capacity-tile-number {
    background: var(--text-muted);
}

/* ===================================
   ROUTE DISPLAY / STATISTICS
   =================================== */
.route-display {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.airport-stop {
    background: rgba(248, 250, 251, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-md);
    padding: var(--spacing-xl);
}

.airport-name {
    font-size: 1.3em;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--primary-blue);
}

.airport-action {
    margin: var(--spacing-md) 0;
    padding: var(--spacing-md);
    border-radius: var(--radius-sm);
}

.load-section {
    background: var(--success-light);
    border-left: 4px solid var(--success);
}

.unload-section {
    background: var(--warning-light);
    border-left: 4px solid var(--warning);
}

.action-header {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    font-size: 0.95em;
}

.cargo-detail {
    padding: var(--spacing-xs) 0;
    padding-left: var(--spacing-lg);
    color: var(--text-secondary);
    font-size: 0.9em;
    line-height: 1.6;
}

.route-arrow {
    text-align: center;
    padding: var(--spacing-lg) 0;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.85em;
}

.route-summary {
    margin-top: var(--spacing-xl);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-md);
    padding: var(--spacing-xl);
    box-shadow: 0 2px 12px rgba(0, 145, 255, 0.08);
}

.route-summary h4 {
    margin: 0 0 var(--spacing-lg) 0;
    color: var(--text-primary);
    border-bottom: 2px solid var(--primary-blue);
    padding-bottom: var(--spacing-md);
    font-weight: 700;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-md) 0;
    font-size: 0.95em;
}

.summary-label {
    color: var(--text-secondary);
}

.summary-value {
    font-weight: 700;
    color: var(--text-primary);
}

.summary-value.profit {
    color: var(--success);
    font-size: 1.3em;
}

/* ===================================
   ABOUT & INFO PAGES
   =================================== */
.about-page,
.changelog-page {
    max-width: 1000px;
    margin: 0 auto;
}

.about-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
    padding-bottom: var(--spacing-3xl);
    border-bottom: 2px solid var(--border-light);
}

.about-header h1 {
    font-size: 2.5em;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    font-weight: 800;
}

.about-header h1 i {
    color: var(--primary-blue);
    margin-right: var(--spacing-md);
}

.about-subtitle {
    font-size: 1.2em;
    color: var(--text-secondary);
    font-weight: 500;
}

.page-card,
.info-card {
    margin-bottom: var(--spacing-2xl);
}

.page-card h2,
.info-card h2 {
    font-size: 1.8em;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xl);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.page-card h2 i,
.info-card h2 i {
    color: var(--primary-blue);
}

.page-card p,
.info-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
    font-size: 1.05em;
}

.info-card strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.step-item {
    display: flex;
    gap: var(--spacing-lg);
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4em;
    font-weight: 800;
}

.step-content h3 {
    font-size: 1.1em;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.step-content h3 i {
    color: var(--primary-blue);
    margin-right: var(--spacing-sm);
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95em;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.feature-item {
    text-align: center;
    padding: var(--spacing-xl);
}

.feature-icon {
    font-size: 2.5em;
    color: var(--primary-blue);
    margin-bottom: var(--spacing-lg);
    display: block;
}

.feature-item h3 {
    font-size: 1.05em;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
}

.feature-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95em;
}

.quick-start-list li {
    counter-increment: step-counter;
    position: relative;
    padding-left: 60px;
    margin-bottom: var(--spacing-2xl);
    line-height: 1.8;
    color: var(--text-secondary);
    font-size: 1.05em;
}

.quick-start-list li strong {
    color: var(--text-primary);
    font-weight: 700;
}

/* Support Card */
.support-card {
    background: var(--primary-blue-light);
    border-color: var(--primary-blue);
    border-width: 2px;
}

.support-buttons {
    margin: var(--spacing-2xl) 0;
    text-align: center;
}

.support-note {
    text-align: center;
    font-style: italic;
    color: var(--text-secondary);
}

/* ===================================
   SETTINGS PAGE
   =================================== */
.settings-description {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-2xl);
    font-size: 1.05em;
}

.form-actions {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-2xl);
}

.help-card {
    margin-top: var(--spacing-2xl);
}

.help-card h3 {
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
    font-weight: 700;
}

.help-card ol {
    margin-left: var(--spacing-2xl);
    color: var(--text-secondary);
    line-height: 1.8;
}

.help-card li {
    margin-bottom: var(--spacing-md);
}

.help-note {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-lg);
    background: var(--primary-blue-light);
    border-left: 4px solid var(--primary-blue);
    border-radius: var(--radius-sm);
    font-size: 0.95em;
    color: #1e40af;
}

/* Privacy Notice */
.privacy-notice-compact {
    background: var(--success-light);
    border: 1px solid #a7f3d0;
    border-left: 3px solid var(--success);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    font-size: 0.9em;
    color: #065f46;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.privacy-notice-compact:hover {
    background: #bbf7d0;
}

.privacy-notice-compact i.fa-lock {
    color: var(--success);
    font-size: 1.1em;
}

.privacy-notice-compact span {
    flex: 1;
}

.privacy-toggle-icon {
    color: var(--primary-blue);
    font-size: 0.9em;
    transition: transform 0.3s;
}

.privacy-details.expanded ~ .privacy-notice-compact .privacy-toggle-icon,
#privacy-details.expanded ~ .privacy-notice-compact .privacy-toggle-icon {
    transform: rotate(180deg);
}

.privacy-details {
    background: var(--success-light);
    border: 1px solid #bbf7d0;
    border-radius: var(--radius-md);
    padding: 0;
    margin-bottom: var(--spacing-xl);
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.privacy-details.expanded {
    padding: var(--spacing-lg);
    max-height: 400px;
    margin-top: -5px;
}

.privacy-details p {
    margin: 0 0 var(--spacing-md) 0;
    color: #065f46;
    font-size: 0.9em;
}

.privacy-details ul,
.privacy-details ol {
    margin: var(--spacing-md) 0;
    padding-left: var(--spacing-2xl);
    color: #047857;
    font-size: 0.9em;
    line-height: 1.7;
}

.privacy-details li {
    margin-bottom: var(--spacing-sm);
}

/* ===================================
   ALERTS
   =================================== */
.alert {
    padding: var(--spacing-lg) var(--spacing-xl);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-xl);
    font-weight: 500;
    font-size: 0.95em;
}

.alert-success {
    background: var(--success-light);
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-error {
    background: var(--error-light);
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-info {
    background: var(--info-light);
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

/* ===================================
   SETUP REQUIRED
   =================================== */
.setup-required {
    max-width: 750px;
    margin: 0 auto;
}

.setup-card {
    text-align: center;
    padding: var(--spacing-3xl);
}

.setup-card h2 {
    margin-bottom: var(--spacing-lg);
    font-size: 2em;
}

.setup-card p {
    font-size: 1.1em;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-2xl);
}

/* Warning Messages */
.no-aircraft-warning {
    background: var(--warning-light);
    border: 1px solid #fde68a;
    border-left: 4px solid var(--warning);
    border-radius: var(--radius-md);
    padding: var(--spacing-2xl);
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.warning-icon {
    font-size: 2.5em;
    color: var(--warning);
}

.warning-text {
    color: #92400e;
    font-size: 1.05em;
    font-weight: 600;
}

/* ===================================
   NOTIFICATIONS / TOASTS
   =================================== */
.notification-container {
    position: fixed;
    top: 90px;
    right: var(--spacing-2xl);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    pointer-events: none;
}

.notification-toast {
    padding: var(--spacing-lg) var(--spacing-2xl);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    font-weight: 600;
    font-size: 0.95em;
    animation: slideInNotification 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    min-width: 320px;
    max-width: 480px;
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    backdrop-filter: blur(10px);
    pointer-events: auto;
    transition: all 0.3s ease;
}

@keyframes slideInNotification {
    from {
        transform: translateX(500px) scale(0.8);
        opacity: 0;
    }
    to {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

.notification-toast::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 1.3em;
}

.notification-dismiss {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
}

.notification-dismiss:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.notification-dismiss:active {
    transform: scale(0.95);
}

.notification-success {
    background: linear-gradient(135deg, var(--success), #34d399);
    color: white;
    border-left: 4px solid #059669;
}

.notification-success::before {
    content: "\f058";
}

.notification-error {
    background: linear-gradient(135deg, var(--error), #f87171);
    color: white;
    border-left: 4px solid #dc2626;
}

.notification-error::before {
    content: "\f06a";
}

.notification-warning {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: white;
    border-left: 4px solid #d97706;
}

.notification-warning::before {
    content: "\f071";
}

.notification-info {
    background: linear-gradient(135deg, var(--primary-blue), #60a5fa);
    color: white;
    border-left: 4px solid var(--primary-blue-hover);
}

.notification-info::before {
    content: "\f05a";
}

/* ===================================
   MODALS
   =================================== */
.modal-overlay,
.reorder-warning-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content,
.reorder-warning-modal {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 145, 255, 0.25), 0 10px 30px rgba(0, 145, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.9);
    max-width: 650px;
    width: 90%;
    max-height: 85vh;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header,
.warning-modal-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-hover));
    color: white;
    padding: var(--spacing-2xl) var(--spacing-3xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.warning-modal-header {
    background: linear-gradient(135deg, var(--warning), #d97706);
}

.modal-header h3,
.warning-modal-header h3 {
    margin: 0;
    font-size: 1.5em;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.modal-body,
.warning-modal-body {
    padding: var(--spacing-3xl);
    max-height: 60vh;
    overflow-y: auto;
}

.warning-modal-body > p {
    margin: 0 0 var(--spacing-xl) 0;
    color: var(--text-primary);
    font-size: 1.05em;
    line-height: 1.7;
}

.warning-issues-list {
    background: var(--warning-light);
    border: 1px solid #fde68a;
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    margin: var(--spacing-lg) 0;
}

.warning-issue-item {
    background: var(--surface);
    border-left: 4px solid #d97706;
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.warning-issue-item:last-child {
    margin-bottom: 0;
}

.warning-note {
    background: var(--info-light);
    border-left: 4px solid var(--primary-blue);
    padding: var(--spacing-lg);
    border-radius: var(--radius-sm);
    color: #1e40af;
    font-size: 0.95em;
    margin: var(--spacing-lg) 0 0 0;
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
}

.modal-footer,
.warning-modal-footer {
    padding: var(--spacing-xl) var(--spacing-3xl);
    background: var(--surface-hover);
    border-top: 1px solid var(--border-light);
    display: flex;
    gap: var(--spacing-md);
    justify-content: flex-end;
}

/* ===================================
   LOADING OVERLAY
   =================================== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-spinner {
    border: 5px solid rgba(255, 255, 255, 0.2);
    border-top: 5px solid var(--primary-blue);
    border-radius: 50%;
    width: 70px;
    height: 70px;
    animation: spin 1s linear infinite;
    margin-bottom: var(--spacing-2xl);
}

.loading-text {
    color: white;
    font-size: 1.1em;
    font-weight: 600;
    text-align: center;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    margin-top: var(--spacing-3xl);
    padding: var(--spacing-xl) 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 2px solid var(--primary-blue);
    box-shadow: 0 -2px 16px rgba(0, 145, 255, 0.08);
}

.footer-content {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 var(--spacing-2xl);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9em;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-md);
}

.footer-links a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: all 0.2s;
    font-weight: 500;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
}

.footer-links a:hover {
    color: var(--primary-blue-hover);
    background: rgba(0, 145, 255, 0.1);
}

/* ===================================
   WEIGHT UNIT TOGGLE
   =================================== */
.weight-unit-toggle {
    display: flex;
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.unit-btn {
    flex: 1;
    padding: var(--spacing-md) var(--spacing-xl);
    border: 1px solid var(--border-light);
    background: var(--surface);
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 0.95em;
    font-weight: 600;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
}

.unit-btn:hover {
    border-color: var(--primary-blue);
    background: var(--primary-blue-light);
    color: var(--primary-blue);
}

.unit-btn.active {
    border-color: var(--primary-blue);
    background: var(--primary-blue);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 145, 255, 0.25);
}

.conversion-info {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md);
    background: var(--primary-blue-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    color: var(--primary-blue);
    font-size: 0.9em;
}

/* ===================================
   SCROLLBAR STYLING
   =================================== */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: var(--surface-hover);
    border-radius: var(--radius-md);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: var(--radius-md);
    border: 2px solid var(--surface-hover);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-blue-hover);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1400px) {
    .app-layout {
        grid-template-columns: 320px 1fr 380px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1200px) {
    .app-layout {
        grid-template-columns: 300px 1fr;
    }
    
    .route-sidebar {
        grid-column: 1 / -1;
        position: static;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .app-layout {
        grid-template-columns: 1fr;
    }
    
    .jobs-grid {
        grid-template-columns: 1fr;
    }
    
    .jobs-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .jobs-controls {
        width: 100%;
        flex-direction: column;
    }
    
    .search-input {
        width: 100%;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .capacity-overview-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: var(--spacing-lg) var(--spacing-xl);
        gap: var(--spacing-md);
    }
    
    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: var(--spacing-xs);
    }
    
    .nav-links a {
        width: 100%;
        text-align: center;
    }
    
    .container {
        padding: var(--spacing-xl) var(--spacing-lg);
    }
    
    .about-header h1 {
        font-size: 1.8em;
    }
    
    .modal-content,
    .reorder-warning-modal {
        width: 95%;
    }
    
    .modal-body,
    .warning-modal-body {
        padding: var(--spacing-xl);
    }
    
    .modal-footer,
    .warning-modal-footer {
        flex-direction: column-reverse;
        padding: var(--spacing-lg) var(--spacing-xl);
    }
    
    .modal-footer .btn,
    .warning-modal-footer .btn {
        width: 100%;
    }
}

/* ===================================
   UTILITY CLASSES
   =================================== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.job-card.selected {
    animation: slideIn 0.3s ease;
}

/* ===================================
   SETTINGS & INFO PAGES
   =================================== */

.settings-page {
    max-width: 800px;
    margin: 0 auto;
}

.settings-page h1 {
    color: #2c3e50;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.settings-page h1 i {
    color: #0091FF;
}

.settings-card,
.help-card,
.setup-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.settings-card h2,
.help-card h3 {
    margin-bottom: 15px;
    color: #2c3e50;
}

.settings-description {
    color: #495057;
    margin-bottom: 25px;
}

/* Compact Privacy Notice */
.privacy-notice-compact {
    background: rgba(248, 249, 250, 0.9);
    border: 1px solid #e0e0e0;
    border-left: 3px solid #4CAF50;
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #555;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}

.privacy-notice-compact:hover {
    background: rgba(240, 244, 248, 0.95);
    border-color: #d0d0d0;
}

.privacy-notice-compact i.fa-lock,
.privacy-notice-compact i.fa-question-circle {
    color: #4CAF50;
    font-size: 14px;
}

.privacy-notice-compact span {
    flex: 1;
}

.privacy-toggle-icon {
    color: #0091FF;
    font-size: 12px;
    transition: transform 0.3s;
}

.privacy-details.expanded ~ .privacy-notice-compact .privacy-toggle-icon,
.privacy-notice-compact.expanded .privacy-toggle-icon {
    transform: rotate(180deg);
}

.privacy-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: rgba(248, 249, 250, 0.7);
    border-radius: 6px;
    margin-bottom: 15px;
}

.privacy-details.expanded {
    max-height: 2000px;
    padding: 15px;
    border: 1px solid #e0e0e0;
}

.privacy-details p {
    margin: 0 0 10px 0;
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

.privacy-details ol {
    margin: 10px 0 10px 20px;
    padding-left: 0;
}

.privacy-details li {
    margin-bottom: 8px;
    color: #555;
    line-height: 1.6;
}