/* ========== Customer Website Styles ========== */
:root {
    --primary-dark: #071F17;
    --primary: #0B3D2E;
    --primary-mid: #1B5E3B;
    --primary-light: #2D8659;
    --accent: #C8963E;
    --accent-light: #D4A853;
    --bg: #F5F0E8;
    --card: #FFFFFF;
    --text: #1C1917;
    --text-muted: #78716C;
    --border: #E7E0D5;
    --success: #16A34A;
    --warning: #D97706;
    --danger: #DC2626;
    --info: #0284C7;
    --gold-text: #C8963E;
}

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

body {
    font-family: 'Tajawal', sans-serif;
    background: var(--bg);
    color: var(--text);
    direction: rtl;
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
}

/* ========== Header ========== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(11, 61, 46, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(200, 150, 62, 0.2);
    transition: all 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.logo-circle {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
}

.header-logo h1 {
    color: white;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.3;
}

.header-logo small {
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

.btn-login-nav {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--primary) !important;
    font-weight: 700;
}

.btn-login-nav:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(200, 150, 62, 0.4);
}

.mobile-menu-btn {
    display: none;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    font-size: 20px;
    cursor: pointer;
}

/* Mobile Nav */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
}

.mobile-nav-overlay.active {
    display: block;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: var(--primary);
    z-index: 1002;
    padding: 70px 20px 20px;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s ease;
}

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

/* ========== Hero Section ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-mid) 100%);
    padding: 100px 24px 60px;
    position: relative;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(200, 150, 62, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(200, 150, 62, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 60% 80%, rgba(45, 134, 89, 0.15) 0%, transparent 40%);
    pointer-events: none;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--primary);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-text h2 {
    color: white;
    font-size: 42px;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 20px;
}

.hero-text p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 14px 32px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Tajawal', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary-hero {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--primary);
    box-shadow: 0 4px 20px rgba(200, 150, 62, 0.4);
}

.btn-primary-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(200, 150, 62, 0.5);
}

.btn-secondary-hero {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary-hero:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.hero-stats {
    display: flex;
    gap: 30px;
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

.hero-stat i {
    font-size: 20px;
    color: var(--accent);
}

.hero-stat strong {
    display: block;
    color: white;
    font-size: 18px;
    font-weight: 800;
}

.hero-visual {
    display: flex;
    justify-content: center;
}

.hero-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    max-width: 380px;
    width: 100%;
}

.hero-card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: var(--primary);
}

.hero-card h3 {
    color: white;
    font-size: 22px;
    margin-bottom: 10px;
}

.hero-card p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    margin-bottom: 24px;
}

.hero-card-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    text-align: right;
}

.hero-card-features div {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-card-features i {
    color: var(--success);
    font-size: 14px;
}

/* ========== Section Common ========== */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(200, 150, 62, 0.15), rgba(200, 150, 62, 0.08));
    color: var(--accent);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 14px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 16px;
    max-width: 500px;
    margin: 0 auto;
}

.gold-text {
    color: var(--accent);
}

/* ========== Services Section ========== */
.services-section {
    background: var(--bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--card);
    border-radius: 20px;
    padding: 32px 24px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--accent);
}

.service-card.featured {
    border: 2px solid var(--accent);
}

.featured-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 50px;
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 18px;
}

.service-price {
    background: linear-gradient(135deg, var(--primary), var(--primary-mid));
    color: white;
    padding: 8px 20px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    display: inline-block;
}

/* ========== Track Section ========== */
.track-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.track-section .section-header h2 {
    color: white;
}

.track-section .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.track-box {
    max-width: 600px;
    margin: 0 auto;
}

.track-input-group {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.track-input-wrapper {
    flex: 1;
    position: relative;
}

.track-input-wrapper i {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 18px;
}

.track-input-wrapper input {
    width: 100%;
    padding: 16px 48px 16px 16px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    font-size: 16px;
    font-family: 'Tajawal', sans-serif;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    outline: none;
    transition: all 0.3s ease;
}

.track-input-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.track-input-wrapper input:focus {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.15);
}

.btn-track {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--primary);
    border: none;
    padding: 16px 32px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Tajawal', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-track:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 150, 62, 0.4);
}

/* Track Results */
.track-results {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 20px;
}

.track-header-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.track-header-info h3 {
    color: white;
    font-size: 20px;
}

.track-header-info span {
    background: rgba(200, 150, 62, 0.2);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
}

.track-orders-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.track-order-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 18px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.track-order-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(200, 150, 62, 0.3);
}

.track-order-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.track-order-id {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.status-badge-c {
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
}

.status-pending { background: #FEF3C7; color: #D97706; }
.status-picked { background: #DBEAFE; color: #2563EB; }
.status-data_ready { background: #E0E7FF; color: #4F46E5; }
.status-ready_for_delivery { background: #D1FAE5; color: #059669; }
.status-completed { background: #D1FAE5; color: #16A34A; }
.status-cancelled { background: #FEE2E2; color: #DC2626; }
.status-no { background: #FEE2E2; color: #DC2626; }

.track-order-details {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.track-order-details div {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.track-order-details i {
    color: var(--accent);
    font-size: 12px;
}

/* Track Empty / Error */
.track-empty,
.track-error {
    text-align: center;
    padding: 40px 20px;
}

.track-empty i,
.track-error i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.track-empty h3,
.track-error h3 {
    color: white;
    font-size: 20px;
    margin-bottom: 8px;
}

.track-empty p,
.track-error p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.track-error i {
    color: var(--danger);
    opacity: 0.7;
}

/* ========== Login Section ========== */
.login-section {
    background: var(--bg);
}

.auth-card {
    max-width: 420px;
    margin: 0 auto;
    background: var(--card);
    border-radius: 24px;
    padding: 40px 32px;
    border: 1px solid var(--border);
    text-align: center;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.auth-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-mid));
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: white;
}

.auth-card h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 8px;
}

.auth-card > p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 24px;
}

.auth-input-group {
    position: relative;
    margin-bottom: 20px;
}

.auth-input-group i {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 18px;
}

.auth-input-group input {
    width: 100%;
    padding: 14px 48px 14px 16px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 16px;
    font-family: 'Tajawal', sans-serif;
    outline: none;
    transition: all 0.3s ease;
}

.auth-input-group input:focus {
    border-color: var(--primary-light);
}

.btn-auth {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-mid));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Tajawal', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-auth:hover {
    box-shadow: 0 6px 20px rgba(11, 61, 46, 0.3);
    transform: translateY(-1px);
}

.auth-note {
    margin-top: 16px;
    color: var(--text-muted);
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* ========== Customer Dashboard ========== */
.customer-dashboard {
    max-width: 900px;
    margin: 0 auto;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    background: var(--card);
    padding: 20px 24px;
    border-radius: 16px;
    border: 1px solid var(--border);
}

.dashboard-user-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.dashboard-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-mid));
    color: white;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
}

.dashboard-user-info h3 {
    font-size: 18px;
    font-weight: 800;
}

.dashboard-user-info span {
    color: var(--text-muted);
    font-size: 13px;
    display: block;
    direction: ltr;
    text-align: right;
}

.btn-logout-customer {
    background: rgba(220, 38, 38, 0.1);
    color: var(--danger);
    border: 1px solid rgba(220, 38, 38, 0.2);
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    font-family: 'Tajawal', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-logout-customer:hover {
    background: var(--danger);
    color: white;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.d-stat-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
}

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

.d-stat-value {
    font-size: 28px;
    font-weight: 900;
    color: var(--text);
    line-height: 1.2;
}

.d-stat-label {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    margin-top: 4px;
}

/* Filter Tabs */
.d-filter-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    background: var(--card);
    padding: 6px;
    border-radius: 14px;
    border: 1px solid var(--border);
}

.d-filter-tab {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Tajawal', sans-serif;
    cursor: pointer;
    background: transparent;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

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

.d-filter-tab:hover:not(.active) {
    background: rgba(0, 0, 0, 0.05);
}

/* Orders List */
.d-orders-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.d-order-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.d-order-card:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
}

.d-order-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.d-order-customer {
    font-weight: 700;
    font-size: 16px;
}

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

.d-order-details {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.d-order-details div {
    color: var(--text-muted);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.d-order-details i {
    color: var(--accent);
    font-size: 12px;
}

.d-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.d-empty-state i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.3;
}

.d-empty-state h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text);
}

.d-empty-state p {
    font-size: 14px;
}

/* ========== Modal ========== */
.modal-overlay-c {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay-c.active {
    display: flex;
}

.modal-box-c {
    background: var(--card);
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    animation: modalSlide 0.3s ease;
}

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

.modal-header-c {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: var(--card);
    border-radius: 20px 20px 0 0;
    z-index: 1;
}

.modal-header-c h3 {
    font-size: 18px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-close-c {
    background: none;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 16px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close-c:hover {
    background: rgba(0, 0, 0, 0.05);
}

.modal-body-c {
    padding: 24px;
}

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

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

.detail-label {
    color: var(--text-muted);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-label i {
    width: 20px;
    text-align: center;
    color: var(--accent);
}

.detail-value {
    font-weight: 700;
    font-size: 14px;
}

.detail-total {
    background: linear-gradient(135deg, var(--primary), var(--primary-mid));
    color: white;
    border-radius: 14px;
    padding: 16px 20px;
    margin-top: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.detail-total .detail-label {
    color: rgba(255, 255, 255, 0.8);
}

.detail-total .detail-label i {
    color: var(--accent);
}

.detail-total .detail-value {
    font-size: 20px;
}

/* ========== Contact Section ========== */
.contact-section {
    background: var(--bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.contact-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.contact-icon {
    width: 64px;
    height: 64px;
    background: #DBEAFE;
    color: #2563EB;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 26px;
}

.contact-card h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 8px;
}

.contact-card p {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 16px;
}

.contact-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: var(--primary);
    color: white;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.contact-action:hover {
    box-shadow: 0 4px 15px rgba(11, 61, 46, 0.3);
    transform: translateY(-1px);
}

.contact-info-text {
    color: var(--text-muted);
    font-size: 13px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-info-text div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-info-text i {
    color: var(--accent);
    width: 16px;
    text-align: center;
}

/* ========== Footer ========== */
.site-footer {
    background: var(--primary-dark);
    padding: 60px 24px 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-brand h3 {
    color: white;
    font-size: 20px;
    font-weight: 800;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.7;
}

.footer-links h4 {
    color: white;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    display: block;
    padding: 6px 0;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

/* ========== Toast ========== */
.toast-container-c {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toast-c {
    background: var(--card);
    padding: 14px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    animation: toastIn 0.3s ease;
    min-width: 280px;
}

.toast-c.success { border-right: 4px solid var(--success); }
.toast-c.error { border-right: 4px solid var(--danger); }
.toast-c.warning { border-right: 4px solid var(--warning); }
.toast-c.info { border-right: 4px solid var(--info); }

@keyframes toastIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

.toast-c.removing {
    animation: toastOut 0.3s ease forwards;
}

@keyframes toastOut {
    to { opacity: 0; transform: translateX(-20px); }
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
    .header-nav { display: none; }
    .mobile-menu-btn { display: flex; align-items: center; justify-content: center; }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-text h2 { font-size: 30px; }
    .hero-text p { margin: 0 auto 24px; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; flex-wrap: wrap; gap: 16px; }

    .hero-visual { order: -1; }
    .hero-card { max-width: 300px; padding: 28px; }

    .section-header h2 { font-size: 26px; }

    .services-grid { grid-template-columns: 1fr; }

    .track-input-group { flex-direction: column; }
    .btn-track { justify-content: center; }

    .dashboard-stats { grid-template-columns: repeat(2, 1fr); }

    .footer-content { grid-template-columns: 1fr; gap: 24px; }

    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero-text h2 { font-size: 24px; }
    .hero-stats { flex-direction: column; gap: 10px; }
    .hero-stat { width: 100%; justify-content: center; }
    
    .dashboard-header { flex-direction: column; gap: 12px; text-align: center; }
    .btn-logout-customer { width: 100%; justify-content: center; }
    
    .d-filter-tabs { flex-direction: column; }
    
    .d-order-details { flex-direction: column; gap: 8px; }
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}
