/* Zorvethra Courier Services Limited - Custom Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Cinzel:wght@600;700;800&display=swap');

:root {
    --brand-primary: #193cb8;
    --brand-dark: #0a192f;
    --brand-navy: #055b8e;
    --brand-gold: #d4af37;
    --brand-gold-dark: #b89326;
    --brand-gold-light: #fef3c7;
    --brand-accent: #2563eb;
    --brand-bg-light: #f8fafc;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1e293b;
    background-color: #f8fafc;
    overflow-x: hidden;
}

.font-serif-gold {
    font-family: 'Cinzel', serif;
}

/* Nivamore Signature Cut Corners */
.cut-corner-sm {
    border-radius: 8px 0px 8px 0px;
}
.cut-corner-md {
    border-radius: 12px 0px 12px 0px;
}
.cut-corner-lg {
    border-radius: 20px 0px 20px 0px;
}
.cut-corner-top {
    border-radius: 20px 0px 0px 0px;
}
.cut-corner-bottom {
    border-radius: 0px 0px 0px 30px;
}

/* Gold Gradient Accents */
.gold-gradient-bg {
    background: linear-gradient(135deg, #d4af37 0%, #f6e05e 50%, #b89326 100%);
}
.gold-gradient-text {
    background: linear-gradient(135deg, #d4af37 0%, #ecc94b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.gold-badge {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 1px solid #f59e0b;
    color: #b45309;
}

/* Hero Background and Gradient Overlays */
.hero-gradient-overlay {
    background: linear-gradient(90deg, rgba(10, 25, 47, 0.95) 0%, rgba(25, 60, 184, 0.85) 50%, rgba(5, 91, 142, 0.75) 100%);
}

.top-bar-bg {
    background-color: #193cb8;
    background-image: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
}

/* Buttons */
.btn-primary-nivamore {
    background-color: #193cb8;
    color: #ffffff;
    border: 1px solid #193cb8;
    border-radius: 10px 0px 10px 0px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px 0 rgba(25, 60, 184, 0.25);
}
.btn-primary-nivamore:hover {
    background-color: #ffffff;
    color: #193cb8;
    border-color: #193cb8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(25, 60, 184, 0.35);
}

.btn-gold {
    background: linear-gradient(135deg, #d4af37 0%, #c59b27 100%);
    color: #0a192f;
    border: 1px solid #eab308;
    border-radius: 10px 0px 10px 0px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px 0 rgba(212, 175, 55, 0.35);
}
.btn-gold:hover {
    background: #ffffff;
    color: #b89326;
    border-color: #d4af37;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(212, 175, 55, 0.45);
}

/* Timeline & Tracking Events */
.tracking-timeline {
    position: relative;
    padding-left: 2rem;
}
.tracking-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: #cbd5e1;
}
.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}
.timeline-item:last-child {
    margin-bottom: 0;
}
.timeline-icon {
    position: absolute;
    left: -2rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 2px solid #193cb8;
    color: #193cb8;
    font-size: 13px;
    z-index: 10;
}
.timeline-item.active .timeline-icon {
    background: #193cb8;
    color: white;
    box-shadow: 0 0 0 4px rgba(25, 60, 184, 0.2);
}
.timeline-item.gold .timeline-icon {
    background: #d4af37;
    border-color: #b89326;
    color: white;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.25);
}

/* Pulse Animation for Live Tracking */
@keyframes pulse-gold {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(212, 175, 55, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}
.pulse-gold-badge {
    animation: pulse-gold 2s infinite;
}

/* Print Stylesheet for Waybills */
@media print {
    .no-print {
        display: none !important;
    }
    body {
        background: white !important;
        color: black !important;
    }
    .print-sheet {
        border: none !important;
        box-shadow: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

/* Custom Google Translate Pill Widget (Matching Screenshot) */
.lang-selector-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    padding: 5px 12px;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}
.lang-selector-pill:hover {
    border-color: #cbd5e1;
    background-color: #f8fafc;
}
.lang-selector-pill.dark-theme {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}
.lang-selector-pill.dark-theme:hover {
    background-color: rgba(255, 255, 255, 0.22);
}

.flag-icon-svg {
    width: 20px;
    height: 14px;
    border-radius: 2px;
    display: inline-block;
    object-fit: cover;
    box-shadow: 0 0 1px rgba(0,0,0,0.3);
    flex-shrink: 0;
}

/* Hide Default Google Translate UI */
.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame,
iframe.goog-te-banner-frame {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
}
body {
    top: 0px !important;
    position: static !important;
}
#goog-gt-tt, 
.goog-te-balloon-frame {
    display: none !important;
}
.goog-text-highlight {
    background: none !important;
    box-shadow: none !important;
}
.goog-te-gadget {
    font-size: 0px !important;
    color: transparent !important;
}
.goog-te-gadget .goog-te-combo {
    margin: 0 !important;
}
#google_translate_element {
    display: none !important;
}

/* Admin Table Enhancements */
.admin-table-container {
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}
.admin-table-container th {
    white-space: nowrap;
    letter-spacing: 0.05em;
}
.admin-table-container td {
    vertical-align: middle;
}
.status-indicator-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
}

