/* ===== ROOT VARIABLES ===== */
:root {
    --primary: #3B82F6;
    --primary-dark: #2563EB;
    --primary-light: #93C5FD;
    --secondary: #64748B;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --purple: #8B5CF6;
    --bg-primary: #F8FAFC;
    --bg-secondary: #FFFFFF;
    --bg-card: #FFFFFF;
    --text-primary: #1E293B;
    --text-secondary: #64748B;
    --text-muted: #94A3B8;
    --border-color: #E2E8F0;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s ease;
}

.dark-mode {
    --bg-primary: #0F172A;
    --bg-secondary: #1E293B;
    --bg-card: #1E293B;
    --text-primary: #F1F5F9;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --border-color: #334155;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #1E293B;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.mobile-container {
    width: 100%;
    max-width: 390px;
    height: 844px;
    background-color: var(--bg-primary);
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* ===== SPLASH SCREEN ===== */
.splash-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #3B82F6 0%, #1E40AF 100%);
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.splash-screen.active {
    display: flex;
}

.splash-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.splash-logo {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    animation: pulse 2s ease-in-out infinite;
    backdrop-filter: blur(10px);
}

.splash-logo i {
    font-size: 56px;
    color: white;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.splash-title {
    font-size: 36px;
    font-weight: 800;
    color: white;
    margin-bottom: 8px;
}

.splash-tagline {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.splash-loader {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
}

.loader-bar {
    width: 0%;
    height: 100%;
    background: white;
    border-radius: 4px;
    animation: loading 2s ease-in-out forwards;
}

@keyframes loading {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

.splash-version {
    position: absolute;
    bottom: 40px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

/* ===== LOGIN SCREEN ===== */
.login-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: none;
    flex-direction: column;
    padding: 60px 24px 40px;
    z-index: 999;
    overflow-y: auto;
}

.login-screen.active {
    display: flex;
}

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

.login-logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3B82F6, #1E40AF);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.login-logo i {
    font-size: 36px;
    color: white;
}

.login-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.login-header p {
    font-size: 14px;
    color: var(--text-secondary);
}

.login-form {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.input-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.input-wrapper .input-icon {
    width: 22px;
    height: 22px;
    color: var(--text-muted);
    pointer-events: none;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: block;
}

.input-wrapper .input-icon.user-icon {
    background-image: url("../assets/icons/user.svg");
}

.input-wrapper .input-icon.lock-icon {
    background-image: url("../assets/icons/lock.svg");
}

.input-wrapper input {
    flex: 1;
    padding: 16px 20px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 15px;
    color: var(--text-primary);
    background: var(--bg-card);
    transition: var(--transition);
}

.input-wrapper input::placeholder {
    color: var(--text-muted);
    opacity: 1;
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.input-wrapper input:focus::placeholder {
    opacity: 0.6;
}

.toggle-password {
    position: absolute;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    cursor: pointer;
}

.remember-me input {
    display: none;
}

.remember-me .checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.remember-me input:checked+.checkmark {
    background: var(--primary);
    border-color: var(--primary);
}

.remember-me input:checked+.checkmark::after {
    content: '✓';
    color: white;
    font-size: 12px;
}

.forgot-password {
    font-size: 14px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.login-btn {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #3B82F6, #1E40AF);
    border: none;
    border-radius: var(--radius-md);
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
}

.login-btn:active {
    transform: scale(0.98);
}

.login-btn.loading span {
    display: none;
}

.login-btn.loading::after {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid white;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.login-error {
    display: none;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 12px 16px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: var(--radius-sm);
    color: var(--danger);
    font-size: 14px;
}

.login-error.show {
    display: flex;
    animation: shake 0.5s ease;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-10px);
    }

    75% {
        transform: translateX(10px);
    }
}

.login-footer {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.login-footer p {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

/* ===== NOTIFICATION PANEL ===== */
.notification-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    z-index: 998;
    display: none;
    flex-direction: column;
}

.notification-panel.active {
    display: flex;
}

.notif-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 20px 16px;
    background: var(--bg-secondary);
}

.notif-panel-header h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.clear-notif-btn {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}

.notif-list {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

.notif-item {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
}

.notif-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.notif-icon.order {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
}

.notif-icon.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.notif-icon.warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.notif-icon.danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.notif-content {
    flex: 1;
}

.notif-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.notif-text {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 6px;
    line-height: 1.4;
}

.notif-time {
    font-size: 11px;
    color: var(--text-muted);
}

.notif-unread {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(59, 130, 246, 0.1));
}

/* ===== APP WRAPPER ===== */
.app-wrapper {
    display: none;
    flex-direction: column;
    height: 100%;
}

.app-wrapper.active {
    display: flex;
}

.status-bar {
    height: 44px;
    background: var(--bg-secondary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 24px 0;
}

.time {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.status-icons {
    display: flex;
    gap: 6px;
    font-size: 12px;
    color: var(--text-primary);
}

.app-header {
    background: var(--bg-secondary);
    padding: 12px 20px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.user-avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.greeting {
    font-size: 12px;
    color: var(--text-secondary);
}

.user-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.notification-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 18px;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.notif-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 18px;
    height: 18px;
    background: var(--danger);
    color: white;
    font-size: 10px;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-content {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 20px;
}

.main-content::-webkit-scrollbar {
    display: none;
}

.page {
    display: none;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.page.active {
    display: block;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== STATS GRID ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.stat-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

.stat-card:active {
    transform: scale(0.98);
}

.stat-card.clickable:hover {
    box-shadow: var(--shadow-md);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.stat-card.primary .stat-icon {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
}

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

.stat-card.warning .stat-icon {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

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

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-label {
    font-size: 12px;
    color: var(--text-secondary);
}

/* ===== SECTIONS ===== */
.section {
    margin-bottom: 24px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-header .section-title {
    margin-bottom: 0;
}

.see-all {
    font-size: 14px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

/* ===== QUICK ACTIONS ===== */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.action-btn {
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.action-btn:active {
    transform: scale(0.95);
}

.action-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: white;
}

.action-icon.blue {
    background: linear-gradient(135deg, #3B82F6, #2563EB);
}

.action-icon.green {
    background: linear-gradient(135deg, #10B981, #059669);
}

.action-icon.orange {
    background: linear-gradient(135deg, #F59E0B, #D97706);
}

.action-icon.purple {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
}

.action-btn span {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ===== ORDER CARDS ===== */
.order-list,
.orders-full-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.order-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 16px;
    display: flex;
    gap: 12px;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: var(--transition);
}

.order-card:active {
    transform: scale(0.98);
}

.order-status {
    width: 4px;
    border-radius: 4px;
}

.order-status.ongoing {
    background: var(--primary);
}

.order-status.pending {
    background: var(--warning);
}

.order-status.completed {
    background: var(--success);
}

.order-info {
    flex: 1;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.order-id {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.order-badge {
    font-size: 10px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 20px;
}

.order-badge.ongoing {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
}

.order-badge.pending {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.order-badge.completed {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.order-route {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.route-point {
    display: flex;
    align-items: center;
    gap: 6px;
}

.route-point i {
    font-size: 8px;
}

.route-point i.start {
    color: var(--success);
}

.route-point i.end {
    color: var(--danger);
}

.route-point span {
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 500;
}

.route-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, var(--success), var(--danger));
    border-radius: 2px;
}

.order-footer {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-secondary);
}

.order-footer i {
    margin-right: 4px;
}

/* ===== PAGE HEADER ===== */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.page-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.add-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    font-size: 18px;
    cursor: pointer;
}

/* ===== FILTER TABS ===== */
.filter-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.filter-tabs::-webkit-scrollbar {
    display: none;
}

.filter-tab {
    padding: 8px 16px;
    border-radius: 20px;
    border: none;
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
}

.filter-tab.active {
    background: var(--primary);
    color: white;
}

/* ===== FLEET LIST ===== */
.fleet-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fleet-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: var(--transition);
}

.fleet-card:active {
    transform: scale(0.98);
}

.fleet-image {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.fleet-info {
    flex: 1;
}

.fleet-info h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.plate-number {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.fleet-meta {
    display: flex;
    gap: 12px;
    font-size: 11px;
}

.fleet-status {
    display: flex;
    align-items: center;
    gap: 4px;
}

.fleet-status i {
    font-size: 6px;
}

.fleet-status.active {
    color: var(--success);
}

.fleet-status.maintenance {
    color: var(--warning);
}

.fleet-status.idle {
    color: var(--text-muted);
}

.fleet-location {
    color: var(--text-secondary);
}

.fleet-action {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: var(--bg-primary);
    color: var(--text-secondary);
    cursor: pointer;
}

/* ===== SEARCH BAR ===== */
.search-bar {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.search-bar i {
    color: var(--text-muted);
    font-size: 16px;
}

.search-bar input {
    flex: 1;
    border: none;
    background: none;
    font-size: 14px;
    color: var(--text-primary);
    outline: none;
}

/* ===== ORDER STATS ===== */
.order-stats {
    display: flex;
    justify-content: space-between;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 16px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.order-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-num {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-num.ongoing {
    color: var(--primary);
}

.stat-num.pending {
    color: var(--warning);
}

.stat-num.completed {
    color: var(--success);
}

.stat-text {
    font-size: 11px;
    color: var(--text-secondary);
}

/* ===== ORDER ITEM ===== */
.order-item {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: var(--transition);
}

.order-item:active {
    transform: scale(0.98);
}

.order-item-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.order-number {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

.order-date {
    font-size: 12px;
    color: var(--text-muted);
}

.order-customer {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.order-customer i {
    color: var(--text-secondary);
}

.order-destination {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.order-destination .from {
    color: var(--success);
    font-weight: 500;
}

.order-destination i {
    color: var(--text-muted);
    font-size: 10px;
}

.order-destination .to {
    color: var(--danger);
    font-weight: 500;
}

.order-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
}

.order-weight {
    font-size: 12px;
    color: var(--text-secondary);
}

.order-status-badge {
    font-size: 10px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
}

.order-status-badge.ongoing {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
}

.order-status-badge.pending {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.order-status-badge.completed {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

/* ===== DRIVER LIST ===== */
.driver-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.driver-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.driver-avatar {
    position: relative;
}

.driver-avatar img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
}

.driver-online,
.driver-busy,
.driver-offline {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--bg-card);
}

.driver-online {
    background: var(--success);
}

.driver-busy {
    background: var(--warning);
}

.driver-offline {
    background: var(--text-muted);
}

.driver-info {
    flex: 1;
}

.driver-info h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.driver-phone {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.driver-meta {
    display: flex;
    gap: 12px;
    font-size: 11px;
}

.driver-status {
    display: flex;
    align-items: center;
    gap: 4px;
}

.driver-status i {
    font-size: 6px;
}

.driver-status.available {
    color: var(--success);
}

.driver-status.busy {
    color: var(--warning);
}

.driver-status.offline {
    color: var(--text-muted);
}

.driver-trips {
    color: var(--text-secondary);
}

.driver-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--bg-primary);
    padding: 6px 10px;
    border-radius: 20px;
}

.driver-rating i {
    color: #FCD34D;
    font-size: 12px;
}

.driver-rating span {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

/* ===== PROFILE PAGE ===== */
.profile-header {
    text-align: center;
    margin-bottom: 24px;
}

.profile-cover {
    height: 100px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius-lg);
    margin-bottom: -50px;
}

.profile-avatar-wrapper {
    position: relative;
    display: inline-block;
}

.profile-avatar-wrapper img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid var(--bg-primary);
}

.edit-avatar {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: var(--primary);
    color: white;
    font-size: 12px;
    cursor: pointer;
}

.profile-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 12px;
    margin-bottom: 4px;
}

.profile-role {
    font-size: 14px;
    color: var(--text-secondary);
}

.profile-menu {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.menu-section-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.menu-item {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.menu-item:active {
    transform: scale(0.98);
}

.menu-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: white;
}

.menu-icon.blue {
    background: linear-gradient(135deg, #3B82F6, #2563EB);
}

.menu-icon.green {
    background: linear-gradient(135deg, #10B981, #059669);
}

.menu-icon.purple {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
}

.menu-icon.orange {
    background: linear-gradient(135deg, #F59E0B, #D97706);
}

.menu-icon.dark {
    background: linear-gradient(135deg, #475569, #334155);
}

.menu-icon.gray {
    background: linear-gradient(135deg, #94A3B8, #64748B);
}

.menu-icon.red {
    background: linear-gradient(135deg, #EF4444, #DC2626);
}

.menu-text {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
}

.menu-value {
    font-size: 13px;
    color: var(--text-secondary);
    margin-right: 8px;
}

.menu-item>i:last-child {
    color: var(--text-muted);
    font-size: 12px;
}

.menu-item.logout .menu-text {
    color: var(--danger);
}

.toggle-switch {
    position: relative;
    width: 48px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--border-color);
    border-radius: 26px;
    transition: var(--transition);
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: var(--transition);
}

.toggle-switch input:checked+.toggle-slider {
    background: var(--primary);
}

.toggle-switch input:checked+.toggle-slider:before {
    transform: translateX(22px);
}

.app-version {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 24px;
    padding-bottom: 20px;
}

/* ===== DETAIL PAGES ===== */
.detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 16px 0;
    margin-bottom: 16px;
}

.detail-header h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.back-btn,
.more-btn,
.save-btn {
    min-width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.save-btn {
    width: auto;
    padding: 0 16px;
    border-radius: 20px;
    background: var(--primary);
    color: white;
    font-size: 14px;
    font-weight: 500;
}

.back-btn:active,
.more-btn:active {
    transform: scale(0.95);
}

.detail-content,
.form-content,
.report-content,
.tracking-content {
    flex: 1;
    overflow-y: auto;
}

/* ===== ORDER DETAIL ===== */
.order-detail-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
}

.order-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px dashed var(--border-color);
}

.order-detail-id {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.order-detail-date {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

.order-detail-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.order-detail-status.ongoing {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
}

.order-detail-status.pending {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.order-detail-status.completed {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.route-visual {
    padding: 16px 0;
}

.route-visual-item {
    display: flex;
    gap: 16px;
}

.route-visual-line {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 24px;
}

.route-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid;
    background: var(--bg-card);
}

.route-dot.start {
    border-color: var(--success);
}

.route-dot.end {
    border-color: var(--danger);
}

.route-line-vertical {
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, var(--success), var(--danger));
    margin: 4px 0;
}

.route-info {
    flex: 1;
    padding-bottom: 20px;
}

.route-info:last-child {
    padding-bottom: 0;
}

.route-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.route-city {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.route-address {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.detail-section {
    margin-bottom: 16px;
}

.detail-section-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-section-title i {
    color: var(--primary);
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.detail-item {
    background: var(--bg-primary);
    padding: 12px;
    border-radius: var(--radius-sm);
}

.detail-item-label {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

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

.detail-item.full-width {
    grid-column: span 2;
}

.driver-info-card,
.truck-info-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
}

.driver-info-card img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
}

.driver-info-details,
.truck-info-details {
    flex: 1;
}

.driver-info-details h4,
.truck-info-details h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.driver-info-details p,
.truck-info-details p {
    font-size: 13px;
    color: var(--text-secondary);
}

.driver-contact-btns {
    display: flex;
    gap: 8px;
}

.driver-contact-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
}

.driver-contact-btn.call {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.driver-contact-btn.message {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
}

.truck-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.timeline {
    position: relative;
    padding-left: 24px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-bottom: 20px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -24px;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 3px solid var(--primary);
}

.timeline-item.completed .timeline-dot {
    background: var(--success);
    border-color: var(--success);
}

.timeline-item.completed .timeline-dot::after {
    content: '✓';
    color: white;
    font-size: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.timeline-content {
    background: var(--bg-primary);
    padding: 12px;
    border-radius: var(--radius-sm);
}

.timeline-time {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.timeline-text {
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 500;
}

.detail-actions {
    display: flex;
    gap: 12px;
    padding: 16px 0;
}

.detail-action-btn {
    flex: 1;
    padding: 14px;
    border-radius: var(--radius-md);
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}

.detail-action-btn.primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
}

.detail-action-btn.secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.detail-action-btn:active {
    transform: scale(0.98);
}

/* ===== FLEET DETAIL ===== */
.fleet-detail-hero {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 16px;
    color: white;
    text-align: center;
}

.fleet-detail-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 36px;
}

.fleet-detail-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.fleet-detail-plate {
    font-size: 16px;
    opacity: 0.9;
}

.fleet-detail-status {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    margin-top: 12px;
    font-size: 13px;
    font-weight: 500;
}

.doc-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.doc-status.valid {
    color: var(--success);
}

.doc-status.expired {
    color: var(--danger);
}

.doc-status.warning {
    color: var(--warning);
}

.doc-status i {
    font-size: 14px;
}

/* ===== TRACKING ===== */
.tracking-map {
    width: 100%;
    height: 300px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 16px;
    background: #e0e0e0;
}

.tracking-info {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.tracking-driver {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 16px;
}

.tracking-driver img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.tracking-driver-info {
    flex: 1;
}

.tracking-driver-info h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.tracking-driver-info p {
    font-size: 13px;
    color: var(--text-secondary);
}

.tracking-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.tracking-stat {
    text-align: center;
}

.tracking-stat-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.tracking-stat-label {
    font-size: 11px;
    color: var(--text-muted);
}

.tracking-progress {
    margin-bottom: 16px;
}

.tracking-progress-bar {
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.tracking-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--success), var(--primary));
    border-radius: 4px;
    transition: width 0.5s ease;
}

.tracking-route {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 12px;
    color: var(--text-secondary);
}

/* ===== FORMS ===== */
.form-content {
    padding: 0 0 20px;
}

.form-section {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
}

.form-section h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-section h4 i {
    color: var(--primary);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 14px;
    color: var(--text-primary);
    background: var(--bg-primary);
    transition: var(--transition);
}

.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group input[type="date"] {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 14px;
    color: var(--text-primary);
    background: var(--bg-primary);
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
}

.form-actions {
    display: flex;
    gap: 12px;
    padding: 16px 0;
}

.btn-primary {
    flex: 1;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.btn-secondary {
    flex: 1;
    padding: 14px;
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.btn-primary.full-width {
    width: 100%;
}

.profile-edit-avatar {
    text-align: center;
    margin-bottom: 24px;
}

.profile-edit-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 12px;
}

.change-photo-btn {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.password-icon-wrapper {
    text-align: center;
    margin-bottom: 24px;
}

.password-icon {
    width: 80px;
    height: 80px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.password-icon i {
    font-size: 32px;
    color: var(--primary);
}

.password-icon-wrapper p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ===== REPORT PAGE ===== */
.report-period {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.period-btn {
    flex: 1;
    padding: 10px;
    border: none;
    background: var(--bg-card);
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.period-btn.active {
    background: var(--primary);
    color: white;
}

.report-summary,
.report-chart,
.report-section {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
}

.report-summary h4,
.report-chart h4,
.report-section h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.report-stats {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.report-stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-primary);
    border-radius: var(--radius-md);
}

.report-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

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

.report-stat-icon.primary {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
}

.report-stat-icon.warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.report-stat-info {
    flex: 1;
}

.report-stat-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.report-stat-label {
    font-size: 12px;
    color: var(--text-secondary);
}

.chart-container {
    height: 180px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 20px 0;
}

.bar-chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    gap: 8px;
}

.bar {
    flex: 1;
    background: rgba(59, 130, 246, 0.2);
    border-radius: 6px 6px 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    transition: var(--transition);
}

.bar.active {
    background: linear-gradient(to top, var(--primary), var(--primary-light));
}

.bar span {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.bar label {
    position: absolute;
    bottom: -24px;
    font-size: 11px;
    color: var(--text-secondary);
}

.revenue-card {
    background: linear-gradient(135deg, var(--success), #059669);
    border-radius: var(--radius-md);
    padding: 20px;
    color: white;
}

.revenue-label {
    font-size: 13px;
    opacity: 0.9;
}

.revenue-value {
    font-size: 28px;
    font-weight: 700;
    margin-top: 4px;
}

.revenue-compare {
    margin-top: 12px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.revenue-up {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 8px;
    border-radius: 12px;
}

.driver-perf-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.driver-perf-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-primary);
    border-radius: var(--radius-md);
}

.driver-perf-item img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.driver-perf-info {
    flex: 1;
}

.driver-perf-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.driver-perf-trips {
    font-size: 12px;
    color: var(--text-secondary);
}

.driver-perf-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.driver-perf-rating i {
    color: #FCD34D;
}

/* ===== DRIVER DETAIL PAGE ===== */
.driver-detail-hero {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius-lg);
    padding: 30px 24px;
    margin-bottom: 16px;
    color: white;
    text-align: center;
    position: relative;
}

.driver-detail-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.3);
    margin: 0 auto 16px;
    object-fit: cover;
}

.driver-detail-name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
}

.driver-detail-phone {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 12px;
}

.driver-detail-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.driver-detail-status i {
    font-size: 8px;
}

.driver-stats-row {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.driver-stat-card {
    flex: 1;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.driver-stat-card .stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 20px;
}

.driver-stat-card .stat-icon.trips {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
}

.driver-stat-card .stat-icon.rating {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.driver-stat-card .stat-icon.distance {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.driver-stat-card .stat-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
}

.driver-stat-card .stat-label {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.driver-contact-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.contact-action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    border-radius: var(--radius-md);
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

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

.contact-action-btn.message {
    background: var(--primary);
    color: white;
}

.contact-action-btn:active {
    transform: scale(0.98);
}

.driver-info-section {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
}

.driver-info-section h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.driver-info-section h4 i {
    color: var(--primary);
}

.driver-trip-history {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.trip-history-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-primary);
    border-radius: var(--radius-md);
}

.trip-history-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.trip-history-icon.completed {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.trip-history-icon.ongoing {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
}

.trip-history-info {
    flex: 1;
}

.trip-history-route {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.trip-history-date {
    font-size: 12px;
    color: var(--text-secondary);
}

.trip-history-status {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
}

.trip-history-status.completed {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.trip-history-status.ongoing {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
}

/* ===== BOTTOM NAVIGATION ===== */
.bottom-nav {
    height: 70px;
    background: var(--bg-secondary);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 10px 10px;
    border-top: 1px solid var(--border-color);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    transition: var(--transition);
}

.nav-item i {
    font-size: 20px;
    color: var(--text-muted);
    transition: var(--transition);
}

.nav-item span {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
}

.nav-item.active i,
.nav-item.active span {
    color: var(--primary);
}

.nav-item:active {
    transform: scale(0.95);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 430px) {
    body {
        padding: 0;
    }

    .mobile-container {
        max-width: 100%;
        height: 100vh;
        border-radius: 0;
    }
}