:root {
    --bg-main: #0d1117;
    --bg-card: #070d19;
    --border-color: #14223d;
    --text-muted: #56647a;
    --text-light: #cfd8e3;
    --primary-blue: #19b9f4;
}

body { 
    background-color: var(--bg-main); 
    color: #ffffff; 
    font-family: 'Segoe UI', sans-serif; 
    margin: 0; 
    padding: 20px; 
}

.wrapper { 
    max-width: 1100px; 
    margin: 0 auto; 
}

/* সার্চ বার সেকশন স্টাইল */
.search-box-section { 
    background: var(--bg-card); 
    border: 1px solid var(--border-color); 
    padding: 30px; 
    border-radius: 16px; 
    text-align: center; 
    margin-bottom: 30px; 
        margin-top: 90px !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3); 
}

.search-box-section h2 { 
    margin-top: 0; 
    font-size: 24px; 
    font-weight: 700; 
}

.search-box-section p { 
    color: var(--text-muted); 
    font-size: 14px; 
    margin-bottom: 20px; 
}

.search-form { 
    display: flex; 
    justify-content: center; 
    gap: 12px; 
    max-width: 500px; 
    margin: 0 auto; 
}

.search-form input { 
    background: var(--bg-main); 
    border: 1px solid #1d2d44; 
    padding: 14px 20px; 
    border-radius: 8px; 
    color: #fff; 
    font-size: 16px; 
    outline: none; 
    width: 100%; 
    box-sizing: border-box; 
    font-weight: 600; 
    letter-spacing: 0.5px; 
}

.search-form input:focus { 
    border-color: var(--primary-blue); 
}

.track-btn { 
    background: var(--primary-blue); 
    color: #fff; 
    border: none; 
    padding: 14px 25px; 
    border-radius: 8px; 
    font-size: 15px; 
    font-weight: 600; 
    cursor: pointer; 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    transition: 0.2s; 
    white-space: nowrap; 
}

.track-btn:hover { 
    background: #0055cc; 
    box-shadow: 0 0 15px rgba(0, 119, 255, 0.4); 
}

.error-alert { 
    color: #ff4a4a; 
    font-size: 14px; 
    margin-top: 15px; 
    font-weight: 500; 
}

/* মূল ড্যাশবোর্ড গ্রিড (২টি প্যানেল) */
.dashboard-grid { 
    display: grid; 
    grid-template-columns: 1.4fr 1fr; 
    gap: 25px; 
    display: none; 
        padding-bottom: 80px;
}

.dashboard-grid.show { 
    display: grid; 
}

.card { 
    background: var(--bg-card); 
    border: 1px solid var(--border-color); 
    border-radius: 16px; 
    padding: 30px; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.3); 
}

/* বাম পাশের লাইভ প্রোগ্রেস প্যানেল */
.card-title { 
    font-size: 18px; 
    font-weight: 700; 
    margin-top: 0; 
    margin-bottom: 8px; 
    display: flex; 
    align-items: center; 
    gap: 10px; 
}

.device-info { 
    color: var(--text-muted); 
    font-size: 14px; 
    margin-bottom: 35px; 
}

.device-info strong { 
    color: var(--text-light); 
}

/* টাইমলাইন বা ট্র্যাকিং ডট স্টাইল */
.timeline { 
    position: relative; 
    padding-left: 30px; 
}

.timeline::before { 
    content: ''; 
    position: absolute; 
    left: 6px; 
    top: 10px; 
    bottom: 10px; 
    width: 2px; 
    background: #14223d; 
}

.timeline-item { 
    position: relative; 
    margin-bottom: 35px; 
}

.timeline-item:last-child { 
    margin-bottom: 0; 
}

.timeline-dot { 
    position: absolute; 
    left: -30px; 
    top: 4px; 
    width: 14px; 
    height: 14px; 
    border-radius: 50%; 
    background: #1d2d44; 
    box-shadow: 0 0 0 4px var(--bg-card); 
}

.timeline-content h4 { 
    margin: 0 0 5px 0; 
    font-size: 15px; 
    font-weight: 700; 
    color: var(--text-muted); 
}

.timeline-content p { 
    margin: 0; 
    font-size: 13px; 
    color: var(--text-muted); 
}

/* অ্যাক্টিভ স্ট্যাটাস লাইटिंग কালার */
.timeline-item.active .timeline-dot { 
    background: var(--primary-blue); 
    box-shadow: 0 0 12px var(--primary-blue), 0 0 0 4px var(--bg-card); 
}

.timeline-item.active .timeline-content h4 { 
    color: #ffffff; 
}

.timeline-item.active .timeline-content p { 
    color: var(--text-light); 
}

/* ডান পাশের টেকনিশিয়ান প্যানেল */
.card-title { 
    font-size: 18px; 
    font-weight: 700; 
    margin-top: 0; 
    margin-bottom: 20px; 
    display: flex; 
    align-items: center; 
    gap: 10px; 
}
.booking-details p { 
    margin: 0 0 10px 0; 
    font-size: 14px; 
    color: var(--primary-blue); 
}


/* এস্টিমেটেড টাইম বক্স */
.eta-box { 
    background: rgba(0, 119, 255, 0.05); 
    border: 1px solid rgba(0, 119, 255, 0.15); 
    border-radius: 12px; 
    padding: 25px; 
    text-align: center; 
    margin-top: 25px; 
}

.eta-label { 
    font-size: 12px; 
    color: var(--text-muted); 
    text-transform: uppercase; 
    letter-spacing: 1px; 
}

.eta-time { 
    font-size: 32px; 
    font-weight: 700; 
    color: var(--primary-blue); 
    margin: 10px 0; 
    font-family: monospace; 
}

.eta-date { 
    font-size: 13px; 
    color: var(--text-light); 
}

@media (max-width: 768px) {
    .dashboard-grid.show { 
        grid-template-columns: 1fr; 
    }
}
.device-info strong {
    color: var(--primary-blue);
}
@media (max-width: 380px) {
    .search-form {
        flex-direction: column;
    }
}

/* Language and Select Settings */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-switcher {
    position: relative;
    display: inline-block;
    font-family: inherit;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-white);
    border: 1px solid #1ab6ff81;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
}

.lang-btn:hover,
.lang-btn.open {
    border-color: var(--primary-cyan);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
    background-color: rgba(4, 17, 37, 0.95);
}

.fi {
    border-radius: 50%;
    width: 18px;
    height: 18px;
    background-size: cover;
}

.chevron {
    color: var(--text-white);
    margin-left: 2px;
    transition: transform 0.3s ease;
}

.lang-btn.open .chevron {
    transform: rotate(180deg);
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: 110%;
    right: 0;
    background: rgba(4, 17, 37, 0.98);
    border: 1px solid #1ab6ff81;
    border-radius: 6px;
    padding: 6px 0;
    min-width: 150px;
    list-style: none;
    margin: 6px 0 0;
    z-index: 100;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.lang-dropdown.show {
    display: block;
}

.lang-dropdown li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    text-decoration: none;
    color: var(--text-white);
    font-size: 14px;
    transition: all 0.2s ease;
}

.lang-dropdown li a:hover,
.lang-dropdown li a.active {
    background: rgba(0, 240, 255, 0.1);
    color: var(--primary-cyan);
}