/* ═══════════════════════════════════════════════════════════════
   AutoLogic — Cyber Order Tracking Radar Experience CSS
   ═══════════════════════════════════════════════════════════════ */

.track-hero-radar {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 20px;
    padding: 3.5rem 1.5rem 4.5rem;
    position: relative;
    overflow: hidden;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 10px 35px -5px rgba(15, 23, 42, 0.25);
    margin-bottom: -2.5rem;
}

.track-hero-radar::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.radar-search-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.08);
    max-width: 800px;
    margin: 0 auto 2.5rem;
    position: relative;
    z-index: 10;
}

.radar-input-grid {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 1.25rem;
    align-items: end;
}

@media (max-width: 768px) {
    .radar-input-grid {
        grid-template-columns: 1fr;
    }
}

/* ─── 5-Step Fulfillment Stepper ─────────────────────────────── */
.radar-stepper-wrapper {
    position: relative;
    margin: 2rem 0 1.5rem;
    padding: 0 1rem;
}

.radar-stepper {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.radar-stepper::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 30px;
    right: 30px;
    height: 4px;
    background: #e2e8f0;
    z-index: 1;
}

.radar-stepper-progress {
    position: absolute;
    top: 24px;
    left: 30px;
    height: 4px;
    background: linear-gradient(90deg, #2563eb 0%, #10b981 100%);
    z-index: 2;
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.radar-step-node {
    position: relative;
    z-index: 3;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.radar-node-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #cbd5e1;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.radar-step-node.active .radar-node-circle {
    border-color: #2563eb;
    background: #2563eb;
    color: #ffffff;
    box-shadow: 0 0 18px rgba(37, 99, 235, 0.45);
}

.radar-step-node.completed .radar-node-circle {
    border-color: #10b981;
    background: #10b981;
    color: #ffffff;
    box-shadow: 0 0 14px rgba(16, 185, 129, 0.3);
}

.radar-node-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.radar-node-sub {
    font-size: 0.72rem;
    color: #64748b;
    margin-top: 0.2rem;
}

@media (max-width: 640px) {
    .radar-node-circle {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }
    .radar-stepper::before, .radar-stepper-progress {
        top: 19px;
    }
    .radar-node-title {
        font-size: 0.75rem;
    }
    .radar-node-sub {
        display: none;
    }
}

/* ─── Courier Banner ─────────────────────────────────────────── */
.radar-courier-box {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border: 1.5px solid #86efac;
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* ─── Tracking Layout Grid ───────────────────────────────────── */
.tracking-details-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

@media (max-width: 900px) {
    .tracking-details-grid {
        grid-template-columns: 1fr;
    }
}
