/* ===== DU CARGO EXPRESS - Main Stylesheet ===== */

:root {
    --primary: #0a1628;
    --secondary: #1a3a6b;
    --accent: #f5a623;
    --accent-dark: #d4891c;
    --light: #f4f6fb;
    --text: #333;
    --text-muted: #666;
    --white: #fff;
    --border: #e0e7ef;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --info: #17a2b8;
    --shadow: 0 4px 20px rgba(10,22,40,0.1);
    --shadow-lg: 0 10px 40px rgba(10,22,40,0.15);
    --radius: 10px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background: #fff;
    overflow-x: hidden;
}

a { text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }

img { max-width: 100%; }

h1, h2, h3, h4, h5, h6 { font-family: 'Poppins', sans-serif; font-weight: 700; }

/* ===== TOP BAR ===== */
.topbar {
    background: var(--primary);
    padding: 8px 0;
    border-bottom: 2px solid var(--accent);
}
.topbar-info a, .topbar-info span {
    color: #a0b4d0;
    font-size: 13px;
    margin-right: 20px;
    transition: var(--transition);
}
.topbar-info a:hover { color: var(--accent); }
.topbar-info i { color: var(--accent); margin-right: 6px; }
.topbar-social a {
    color: #a0b4d0;
    font-size: 14px;
    margin-left: 12px;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    transition: var(--transition);
}
.topbar-social a:hover { background: var(--accent); color: var(--primary); }

/* ===== NAVBAR ===== */
.main-nav {
    background: var(--secondary) !important;
    padding: 0;
    box-shadow: var(--shadow);
    transition: var(--transition);
    z-index: 1000;
}
.main-nav.scrolled { background: var(--primary) !important; }

.navbar-brand { display: flex; align-items: center; gap: 10px; padding: 12px 0; }
.brand-icon {
    width: 42px; height: 42px;
    background: var(--accent);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary);
    font-size: 20px;
}
.brand-name {
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 18px;
    letter-spacing: 1px;
    line-height: 1;
}
.brand-express { color: var(--accent); display: block; font-size: 11px; letter-spacing: 3px; }

.main-nav .nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 500;
    font-size: 14px;
    padding: 20px 16px !important;
    transition: var(--transition);
    position: relative;
}
.main-nav .nav-link:hover,
.main-nav .nav-link.active { color: var(--accent) !important; }
.main-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0; left: 16px; right: 16px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px 2px 0 0;
}

.btn-track-nav {
    background: var(--accent);
    color: var(--primary) !important;
    font-weight: 700;
    font-size: 13px;
    padding: 10px 22px !important;
    border-radius: 6px;
    border: none;
    transition: var(--transition);
}
.btn-track-nav:hover { background: var(--accent-dark); transform: translateY(-2px); }

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 60%, #1e4d9b 100%);
    min-height: 92vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('assets/hero-bg.jpg') center/cover no-repeat;
    opacity: 0.08;
}
.hero-particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-content { position: relative; z-index: 2; }

.hero-badge {
    display: inline-block;
    background: rgba(245,166,35,0.15);
    border: 1px solid rgba(245,166,35,0.4);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 1px;
}
.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 20px;
}
.hero-title span { color: var(--accent); }
.hero-subtitle { color: #a0b4d0; font-size: 17px; line-height: 1.8; margin-bottom: 35px; }

.hero-actions { display: flex; gap: 15px; flex-wrap: wrap; margin-bottom: 50px; }
.btn-primary-main {
    background: var(--accent);
    color: var(--primary);
    font-weight: 700;
    padding: 14px 32px;
    border-radius: var(--radius);
    border: none;
    font-size: 15px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-primary-main:hover { background: var(--accent-dark); transform: translateY(-3px); box-shadow: 0 8px 25px rgba(245,166,35,0.4); color: var(--primary); }

.btn-outline-main {
    background: transparent;
    color: #fff;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: var(--radius);
    border: 2px solid rgba(255,255,255,0.3);
    font-size: 15px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-outline-main:hover { background: rgba(255,255,255,0.1); border-color: #fff; color: #fff; }

.hero-stats { display: flex; gap: 30px; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat-num { font-size: 32px; font-weight: 900; color: var(--accent); font-family: 'Montserrat', sans-serif; }
.hero-stat-label { color: #a0b4d0; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }

/* Hero Image/Visual Side */
.hero-visual {
    position: relative;
    text-align: center;
}
.hero-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 30px;
    position: relative;
    z-index: 2;
}
.hero-icon-wrap {
    width: 120px; height: 120px;
    background: linear-gradient(135deg, var(--accent), #ff8c00);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    font-size: 50px;
    color: #fff;
    box-shadow: 0 15px 40px rgba(245,166,35,0.4);
    animation: float 3s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ===== TRACK SECTION ===== */
.track-section {
    background: var(--primary);
    padding: 0;
    position: relative;
    z-index: 10;
}
.track-box {
    background: linear-gradient(135deg, #1a3a6b, #0d2a52);
    padding: 40px 50px;
    border-radius: var(--radius-lg);
    margin-top: -60px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(245,166,35,0.2);
}
.track-box h3 { color: #fff; font-size: 22px; margin-bottom: 5px; }
.track-box p { color: #a0b4d0; font-size: 14px; margin-bottom: 25px; }

.track-input-wrap { display: flex; gap: 10px; }
.track-input {
    flex: 1;
    background: rgba(255,255,255,0.08);
    border: 2px solid rgba(255,255,255,0.15);
    border-radius: var(--radius);
    color: #fff;
    padding: 15px 20px;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
}
.track-input::placeholder { color: rgba(255,255,255,0.4); }
.track-input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255,255,255,0.12);
}
.btn-track {
    background: var(--accent);
    color: var(--primary);
    border: none;
    padding: 15px 35px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    display: flex; align-items: center; gap: 8px;
}
.btn-track:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(245,166,35,0.3); }

/* ===== SECTION STYLES ===== */
.section { padding: 90px 0; }
.section-alt { background: var(--light); }
.section-dark { background: var(--primary); }

.section-badge {
    display: inline-block;
    background: rgba(245,166,35,0.1);
    border: 1px solid rgba(245,166,35,0.3);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.section-title {
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 15px;
    line-height: 1.2;
}
.section-title span { color: var(--accent); }
.section-subtitle { color: var(--text-muted); font-size: 16px; max-width: 600px; line-height: 1.8; }
.section-title-white { color: #fff; }
.section-subtitle-white { color: #a0b4d0; }

.title-underline {
    width: 60px; height: 4px;
    background: linear-gradient(90deg, var(--accent), #ff8c00);
    border-radius: 2px;
    margin: 15px 0 20px;
}

/* ===== SERVICE CARDS ===== */
.service-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 35px 28px;
    text-align: center;
    box-shadow: 0 2px 20px rgba(10,22,40,0.06);
    border: 1px solid var(--border);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), #ff8c00);
    transform: scaleX(0);
    transition: var(--transition);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
    width: 75px; height: 75px;
    background: linear-gradient(135deg, rgba(245,166,35,0.1), rgba(245,166,35,0.2));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
    color: var(--accent);
    transition: var(--transition);
}
.service-card:hover .service-icon { background: var(--accent); color: var(--primary); transform: scale(1.1); }
.service-card h4 { font-size: 18px; color: var(--primary); margin-bottom: 12px; }
.service-card p { color: var(--text-muted); font-size: 14px; line-height: 1.7; }

/* ===== TRACKING STEPS ===== */
.tracking-timeline {
    position: relative;
    padding: 20px 0;
}
.tracking-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
}
.tracking-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 22px;
    top: 50px;
    width: 2px;
    height: calc(100% - 20px);
    background: var(--border);
}
.step-icon {
    width: 45px; height: 45px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    border: 3px solid var(--border);
    background: #fff;
    color: #aaa;
}
.step-icon.completed { background: var(--success); border-color: var(--success); color: #fff; }
.step-icon.active { background: var(--accent); border-color: var(--accent); color: var(--primary); animation: pulse 2s infinite; }
.step-icon.pending { background: #fff; border-color: var(--border); color: #ccc; }

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(245,166,35,0.5); }
    70% { box-shadow: 0 0 0 12px rgba(245,166,35,0); }
    100% { box-shadow: 0 0 0 0 rgba(245,166,35,0); }
}

.step-content { flex: 1; padding-top: 8px; }
.step-content h6 { font-size: 15px; font-weight: 700; color: var(--primary); margin-bottom: 3px; }
.step-content p { font-size: 13px; color: var(--text-muted); margin: 0; }
.step-content .step-date { font-size: 12px; color: #aaa; margin-top: 3px; }

/* ===== FEATURE CARDS ===== */
.feature-card {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    margin-bottom: 20px;
    transition: var(--transition);
}
.feature-card:hover { background: rgba(255,255,255,0.08); border-color: rgba(245,166,35,0.3); }
.feature-icon { width: 50px; height: 50px; background: rgba(245,166,35,0.15); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 22px; color: var(--accent); flex-shrink: 0; }
.feature-content h5 { color: #fff; font-size: 16px; margin-bottom: 6px; }
.feature-content p { color: #a0b4d0; font-size: 13px; line-height: 1.7; margin: 0; }

/* ===== STATS ===== */
.stat-card {
    text-align: center;
    padding: 40px 20px;
    border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-card:last-child { border-right: none; }
.stat-number { font-family: 'Montserrat', sans-serif; font-size: 48px; font-weight: 900; color: var(--accent); line-height: 1; margin-bottom: 8px; }
.stat-label { color: #a0b4d0; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }

/* ===== TRACKING PAGE ===== */
.tracking-page .track-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 35px;
    box-shadow: var(--shadow);
    margin-bottom: 25px;
    border: 1px solid var(--border);
}
.tracking-page .info-row {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}
.tracking-page .info-row:last-child { border-bottom: none; }
.tracking-page .info-label { color: var(--text-muted); font-size: 13px; font-weight: 500; }
.tracking-page .info-value { color: var(--primary); font-size: 14px; font-weight: 600; text-align: right; }

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}
.status-order-received { background: #e3f2fd; color: #1565c0; }
.status-package-collected { background: #f3e5f5; color: #6a1b9a; }
.status-processing { background: #fff3e0; color: #e65100; }
.status-in-transit { background: #e8f5e9; color: #1b5e20; }
.status-custom-hold { background: #fce4ec; color: #880e4f; }
.status-delivered { background: #e8f5e9; color: #1b5e20; }

/* ===== PAGE HERO / BREADCRUMB ===== */
.page-hero {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../assets/hero-bg.jpg') center/cover no-repeat;
    opacity: 0.05;
}
.page-hero h1 { color: #fff; font-size: 40px; font-weight: 800; margin-bottom: 10px; position: relative; z-index: 2; }
.breadcrumb { background: none; margin: 0; padding: 0; position: relative; z-index: 2; }
.breadcrumb-item { color: #a0b4d0; font-size: 14px; }
.breadcrumb-item a { color: var(--accent); }
.breadcrumb-item.active { color: #fff; }
.breadcrumb-item + .breadcrumb-item::before { color: #a0b4d0; }

/* ===== CONTACT ===== */
.contact-info-card {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 25px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 2px 15px rgba(10,22,40,0.07);
    margin-bottom: 20px;
    border: 1px solid var(--border);
    transition: var(--transition);
}
.contact-info-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--accent); }
.contact-info-icon {
    width: 55px; height: 55px;
    background: linear-gradient(135deg, var(--accent), #ff8c00);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    color: #fff;
    flex-shrink: 0;
}
.contact-info-text h5 { font-size: 16px; color: var(--primary); margin-bottom: 5px; }
.contact-info-text p, .contact-info-text a { color: var(--text-muted); font-size: 14px; margin: 0; display: block; }
.contact-info-text a:hover { color: var(--accent); }

/* ===== FORM STYLES ===== */
.form-control, .form-select {
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: var(--text);
    transition: var(--transition);
}
.form-control:focus, .form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(245,166,35,0.15);
    outline: none;
}
.form-label { font-weight: 600; font-size: 13px; color: var(--primary); margin-bottom: 6px; }
.btn-submit {
    background: linear-gradient(135deg, var(--accent), #ff8c00);
    color: var(--primary);
    border: none;
    padding: 14px 35px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(245,166,35,0.3); }

/* ===== ALERT BOXES ===== */
.alert-custom {
    border-radius: var(--radius);
    border: none;
    font-size: 14px;
    padding: 14px 20px;
}
.alert-success { background: #d4edda; color: #155724; }
.alert-danger { background: #f8d7da; color: #721c24; }

/* ===== FOOTER ===== */
.main-footer { background: var(--primary); }
.footer-top { padding: 70px 0 50px; }
.footer-title {
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 12px;
}
.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 40px; height: 3px;
    background: var(--accent);
    border-radius: 2px;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: #a0b4d0;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}
.footer-links a i { font-size: 10px; color: var(--accent); }
.footer-links a:hover { color: var(--accent); padding-left: 5px; }

.footer-contact { list-style: none; padding: 0; }
.footer-contact li {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-bottom: 18px;
}
.footer-contact li i {
    color: var(--accent);
    font-size: 16px;
    margin-top: 3px;
    flex-shrink: 0;
}
.footer-contact span { color: #a0b4d0; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; display: block; }
.footer-contact a { color: #fff; font-size: 13px; }
.footer-contact a:hover { color: var(--accent); }

.footer-social { display: flex; gap: 10px; }
.social-btn {
    width: 38px; height: 38px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px;
    transition: var(--transition);
    color: #fff;
}
.social-btn.whatsapp { background: #25D366; }
.social-btn.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-btn.facebook { background: #1877f2; }
.social-btn.twitter { background: #1da1f2; }
.social-btn:hover { transform: translateY(-3px); opacity: 0.9; color: #fff; }

.footer-bottom {
    background: rgba(0,0,0,0.3);
    padding: 18px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-bottom p { color: #a0b4d0; margin: 0; font-size: 13px; }
.footer-bottom a { color: #a0b4d0; font-size: 12px; transition: var(--transition); }
.footer-bottom a:hover { color: var(--accent); }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 58px;
    height: 58px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    box-shadow: 0 5px 20px rgba(37,211,102,0.5);
    z-index: 999;
    transition: var(--transition);
    animation: bounce 2s infinite;
}
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.whatsapp-float:hover { background: #1da851; color: #fff; transform: scale(1.1) !important; animation: none; }

/* ===== SCROLL TOP ===== */
.scroll-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 42px;
    height: 42px;
    background: var(--secondary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    z-index: 998;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    display: flex; align-items: center; justify-content: center;
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--accent); color: var(--primary); }

/* ===== ADMIN LAYOUT ===== */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.admin-sidebar {
    width: 260px;
    min-height: 100vh;
    background: var(--primary);
    position: fixed;
    left: 0; top: 0; bottom: 0;
    overflow-y: auto;
    z-index: 1050;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

/* Sidebar overlay (mobile) */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 1040;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.sidebar-overlay.show { display: block; opacity: 1; }

/* Sidebar logo area */
.sidebar-logo {
    padding: 22px 20px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    position: relative;
}
.sidebar-logo-inner { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.sidebar-brand-icon {
    width: 38px; height: 38px;
    background: var(--accent);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary); font-size: 18px; flex-shrink: 0;
}
.sidebar-logo h4 { color: #fff; font-size: 14px; margin: 0; font-weight: 700; }
.sidebar-logo p { color: #a0b4d0; font-size: 11px; margin: 0; }

/* Close button — hidden on desktop */
.sidebar-close {
    display: none;
    position: absolute;
    top: 16px; right: 14px;
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    width: 32px; height: 32px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    align-items: center; justify-content: center;
    transition: var(--transition);
}
.sidebar-close:hover { background: rgba(255,255,255,0.2); }

.sidebar-user-info {
    background: rgba(255,255,255,0.07);
    border-radius: 8px;
    padding: 10px 12px;
}
.sidebar-user-label { color: #a0b4d0; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; }
.sidebar-user-name  { color: #fff; font-size: 14px; font-weight: 600; }

/* Sidebar nav */
.sidebar-nav { padding: 15px 0; flex: 1; }
.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 22px;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    border-left: 3px solid transparent;
    text-decoration: none;
}
.sidebar-nav a i { width: 18px; text-align: center; color: #a0b4d0; flex-shrink: 0; }
.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: rgba(255,255,255,0.07);
    color: #fff;
    border-left-color: var(--accent);
}
.sidebar-nav a:hover i, .sidebar-nav a.active i { color: var(--accent); }
.sidebar-nav .nav-heading {
    padding: 15px 22px 8px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.3);
}
.sidebar-badge {
    margin-left: auto;
    background: var(--accent);
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
}
.sidebar-logout { color: #ff7675 !important; }
.sidebar-logout i { color: #ff7675 !important; }

.sidebar-footer-info {
    padding: 14px 20px;
    border-top: 1px solid rgba(255,255,255,0.07);
    color: #a0b4d0;
    font-size: 11px;
    line-height: 1.8;
}

/* Admin content area */
.admin-content {
    margin-left: 260px;
    min-height: 100vh;
    background: #f4f6fb;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Admin topbar */
.admin-topbar {
    background: #fff;
    padding: 12px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    gap: 12px;
    position: sticky;
    top: 0;
    z-index: 100;
}
.admin-topbar-left  { display: flex; align-items: center; gap: 12px; min-width: 0; }
.admin-topbar-title h5 { margin: 0; color: var(--primary); font-size: 17px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-topbar-date  { color: var(--text-muted); font-size: 11px; white-space: nowrap; }
.admin-topbar-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* Hamburger toggle — hidden on desktop */
.sidebar-toggle {
    display: none;
    background: var(--light);
    border: 1px solid var(--border);
    color: var(--primary);
    width: 38px; height: 38px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}
.sidebar-toggle:hover { background: var(--border); }

.topbar-wa-btn {
    background: #25D366;
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    display: flex; align-items: center; gap: 6px;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}
.topbar-wa-btn:hover { background: #1da851; color: #fff; }

.topbar-avatar {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--accent), #ff8c00);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary); font-size: 15px; font-weight: 700;
    flex-shrink: 0;
}

.admin-inner-content { padding: 24px; flex: 1; }

/* Admin stat cards */
.admin-stat-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 20px;
    border: 1px solid var(--border);
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
}
.admin-stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.admin-stat-icon {
    width: 52px; height: 52px;
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
.icon-blue   { background: #e3f2fd; color: #1565c0; }
.icon-orange { background: #fff3e0; color: #e65100; }
.icon-green  { background: #e8f5e9; color: #2e7d32; }
.icon-red    { background: #fce4ec; color: #880e4f; }
.icon-purple { background: #f3e5f5; color: #6a1b9a; }
.admin-stat-info h3 { font-size: 28px; font-weight: 900; color: var(--primary); margin: 0; font-family: 'Montserrat', sans-serif; }
.admin-stat-info p  { color: var(--text-muted); font-size: 13px; margin: 0; }

.admin-table { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.05); }
.admin-table table { margin: 0; }
.admin-table thead th { background: var(--primary); color: rgba(255,255,255,0.9); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; padding: 14px 16px; border: none; }
.admin-table tbody td { font-size: 14px; vertical-align: middle; padding: 12px 16px; border-color: var(--border); }
.admin-table tbody tr:hover { background: rgba(26,58,107,0.03); }

.btn-sm-action {
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex; align-items: center; gap: 5px;
    text-decoration: none;
}
.btn-edit   { background: #e3f2fd; color: #1565c0; }
.btn-delete { background: #fce4ec; color: #880e4f; }
.btn-view   { background: #e8f5e9; color: #2e7d32; }
.btn-sm-action:hover { transform: translateY(-1px); }

/* ===== LOGIN ===== */
.login-page {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.login-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 45px 40px;
    width: 100%;
    max-width: 440px;
    box-shadow: var(--shadow-lg);
}
.login-logo { text-align: center; margin-bottom: 30px; }
.login-logo h2 { color: var(--primary); font-size: 24px; font-weight: 900; margin: 15px 0 5px; }
.login-logo p  { color: var(--text-muted); font-size: 13px; }

/* ===== RESPONSIVE ===== */

/* Tablet & below — show hamburger, hide sidebar by default */
@media (max-width: 991.98px) {
    .admin-sidebar {
        transform: translateX(-100%);
    }
    .admin-sidebar.open {
        transform: translateX(0);
    }
    .admin-content {
        margin-left: 0;
    }
    .sidebar-toggle { display: inline-flex; }
    .sidebar-close  { display: inline-flex; }

    .admin-inner-content { padding: 16px; }
    .admin-topbar { padding: 10px 16px; }
    .admin-topbar-date { display: none; }

    .track-box { padding: 28px 20px; }
    .track-input-wrap { flex-direction: column; }
    .btn-track { justify-content: center; }
    .hero-stats { gap: 20px; }
}

/* Mobile */
@media (max-width: 767.98px) {
    /* Public site */
    .topbar { display: none; } /* hide topbar on very small screens — navbar has all links */
    .section  { padding: 55px 0; }
    .hero-section { min-height: auto; padding: 90px 0 50px; }
    .hero-title  { font-size: clamp(28px,8vw,42px); }
    .hero-subtitle { font-size: 15px; }
    .hero-actions  { flex-direction: column; gap: 10px; }
    .hero-actions a, .hero-actions button { width: 100%; justify-content: center; }
    .hero-stats { flex-wrap: wrap; gap: 20px; }
    .hero-stat-num { font-size: 26px; }

    .stat-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .stat-card:last-child { border-bottom: none; }
    .stat-number { font-size: 36px; }

    .track-box { padding: 22px 16px; margin-top: -30px; }
    .track-box h3 { font-size: 18px; }
    .track-input-wrap { flex-direction: column; }
    .btn-track { width: 100%; justify-content: center; }

    .service-card { padding: 25px 18px; }
    .page-hero h1 { font-size: 28px; }
    .page-hero { padding: 60px 0 40px; }

    /* tracking info rows */
    .tracking-page .info-row { flex-direction: column; gap: 2px; }
    .tracking-page .info-value { text-align: left; }

    /* footer */
    .footer-top { padding: 45px 0 30px; }
    .footer-bottom .col-md-6:last-child { margin-top: 8px; text-align: left !important; }

    /* admin */
    .admin-stat-card { padding: 14px; gap: 12px; }
    .admin-stat-icon { width: 42px; height: 42px; font-size: 18px; }
    .admin-stat-info h3 { font-size: 22px; }
    .admin-stat-info p  { font-size: 11px; }

    .admin-topbar-title h5 { font-size: 15px; }
    .login-card { padding: 30px 20px; }
    .topbar-wa-btn { padding: 8px 10px; }
}

/* Very small phones */
@media (max-width: 480px) {
    .container { padding-left: 16px; padding-right: 16px; }
    .hero-section { padding: 80px 0 40px; }
    .admin-inner-content { padding: 12px; }
    .admin-topbar-title h5 { font-size: 14px; }
}

/* Desktop — ensure sidebar always visible */
@media (min-width: 992px) {
    .admin-sidebar { transform: translateX(0) !important; }
    .sidebar-overlay { display: none !important; }
    .sidebar-toggle  { display: none !important; }
}
