/* ==========================================================================
   DReal Express Logistics - Modern Corporate Logistics Styling
   ========================================================================== */

/* Universal SVG and Image constraints to prevent layout blowouts */
img, svg {
    max-width: 100%;
    vertical-align: middle;
}

/* Base Design Variables & Clean Typography */
:root {
    --logistics-navy: #0B192C;
    --logistics-navy-light: #1E3E62;
    --logistics-orange: #FF6500;
    --logistics-orange-hover: #E05300;
    --slate-border: #E2E8F0;
    --slate-surface: #F8FAFC;
    --slate-muted: #64748B;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94A3B8;
}

/* Utility Top Bar */
.top-utility-bar {
    background-color: #071324;
    color: #94A3B8;
    font-size: 0.8125rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Hero Logistics Header */
.hero-logistics-bg {
    background: linear-gradient(180deg, #071324 0%, #0D2038 60%, #102A4C 100%);
    position: relative;
    overflow: hidden;
}

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 32px 32px, 96px 96px;
    opacity: 0.7;
    pointer-events: none;
}

/* Tracking Console Tabs */
.tracking-tab-btn {
    padding: 0.5rem 1.125rem;
    font-weight: 600;
    font-size: 0.8125rem;
    color: #94A3B8;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: none;
    border-radius: 0.375rem 0.375rem 0 0;
    transition: all 0.15s ease-in-out;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    cursor: pointer;
}

.tracking-tab-btn:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.08);
}

.tracking-tab-btn.active {
    color: #FFFFFF;
    background: #FFFFFF;
    color: #0F172A;
    border-color: #FFFFFF;
}

/* Tracking Console Container */
.tracking-console-box {
    background: #FFFFFF;
    border-radius: 0 0.5rem 0.5rem 0.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.25), 0 8px 10px -6px rgba(0, 0, 0, 0.25);
}

/* Corporate Section Dividers */
.section-kicker {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #FF6500;
    display: inline-block;
    margin-bottom: 0.5rem;
}

/* Structured Grid Item */
.feature-row {
    border-bottom: 1px solid #E2E8F0;
    transition: background-color 0.15s ease;
}
.feature-row:hover {
    background-color: #F8FAFC;
}

/* Status Badges */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 600;
}
.status-pill-green {
    background-color: #DCFCE7;
    color: #15803D;
    border: 1px solid #BBF7D0;
}
.status-pill-orange {
    background-color: #FFEDD5;
    color: #C2410C;
    border: 1px solid #FED7AA;
}
.status-pill-blue {
    background-color: #DBEAFE;
    color: #1D4ED8;
    border: 1px solid #BFDBFE;
}
.status-pill-yellow {
    background-color: #FEF9C3;
    color: #A16207;
    border: 1px solid #FEF08A;
}

/* Corporate Button Styles */
.btn-logistics-primary {
    background-color: #FF6500;
    color: #FFFFFF;
    font-weight: 600;
    transition: all 0.15s ease-in-out;
}
.btn-logistics-primary:hover {
    background-color: #E05300;
    transform: translateY(-1px);
}

.btn-logistics-navy {
    background-color: #0B192C;
    color: #FFFFFF;
    font-weight: 600;
    transition: all 0.15s ease-in-out;
}
.btn-logistics-navy:hover {
    background-color: #1E3E62;
    transform: translateY(-1px);
}

/* Spinner Loader */
.logistics-loader {
    width: 28px;
    height: 28px;
    border: 3px solid #E2E8F0;
    border-top: 3px solid #FF6500;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: inline-block;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
