/* Tracking Modules CSS - Premium Stepper & Tracking UI */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&display=swap');

body, .premium-tracking-card, .contact-tracking-details-card {
    font-family: 'Outfit', sans-serif;
}

/* Premium Tracking Card */
.premium-tracking-card {
    border: 1px solid #e2e8f0;
    transition: box-shadow 0.3s ease;
}

.premium-tracking-card:hover {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08) !important;
}

.premium-tracking-input {
    border: 2px solid #cbd5e1 !important;
    background-color: #ffffff !important;
    color: #0f172a !important;
    font-weight: 600 !important;
    transition: all 0.25s ease !important;
}

.premium-tracking-input:focus {
    border-color: #B81D24 !important;
    box-shadow: 0 0 0 4px rgba(184, 29, 36, 0.15) !important;
    outline: none !important;
}

.premium-tracking-input::placeholder {
    color: #94a3b8 !important;
    font-weight: 400 !important;
}

.premium-tracking-btn {
    box-shadow: 0 4px 14px rgba(184, 29, 36, 0.35);
}

.premium-tracking-btn:hover {
    background-color: #991b1b !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(184, 29, 36, 0.45);
}

.sample-btn {
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
}

.sample-btn:hover {
    transform: translateY(-1px);
}

/* Card Container */
.contact-tracking-details-card {
    transition: all 0.3s ease;
}

.contact-tracking-details-card .card {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    background: #ffffff;
}

.contact-tracking-details-card .card-header {
    background: linear-gradient(135deg, #cd6307, #212529);
    color: #ffffff;
    padding: 18px 24px;
    border-bottom: none;
}

/* Key Details Header Grid */
.contact-track-details-flex {
    display: flex;
    flex-direction: column;
    background: #f8fafc;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid #f1f5f9;
}

.contact-tracking-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 4px;
}

.contact-track-details-flex p,
.contact-track-details-flex span.fw-bold {
    color: #0f172a;
    font-size: 0.95rem;
}

/* Stepper Progress Bar Container */
.contact-tracking-progress {
    padding: 24px 10px 10px 10px;
    margin: 20px 0 30px 0;
}

.contact-progress-bar-container {
    position: relative;
    width: 100%;
}

/* Progress Track Line */
.contact-progress {
    position: absolute;
    top: 21px;
    left: 12.5%;
    width: 75%;
    height: 6px;
    background-color: #e2e8f0;
    border-radius: 4px;
    z-index: 1;
    overflow: hidden;
}

.contact-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #B81D24, #10B981);
    border-radius: 4px;
    transition: width 0.5s ease-in-out;
}

/* Step Points */
.contact-progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.contact-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    position: relative;
}

/* Step Icon Circle */
.contact-step-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 3px solid #cbd5e1;
    color: #64748b;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.contact-step-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
    margin-top: 10px;
    transition: color 0.3s ease;
}

.contact-step-date {
    font-size: 0.78rem;
    color: #64748b;
    margin-top: 4px;
    min-height: 18px;
    font-weight: 500;
}

/* Step States */
.contact-step.completed .contact-step-icon {
    background-color: #B81D24;
    border-color: #B81D24;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(184, 29, 36, 0.3);
}

.contact-step.completed .contact-step-label {
    color: #0f172a;
    font-weight: 700;
}

.contact-step.active .contact-step-icon {
    background-color: #10B981;
    border-color: #10B981;
    color: #ffffff;
    transform: scale(1.15);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.2);
}

.contact-step.active .contact-step-label {
    color: #10B981;
    font-weight: 700;
}

/* Tracking History Table */
.contact-tracking-table table {
    border-color: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.contact-tracking-table thead {
    background-color: #f8fafc;
    color: #475569;
}

.contact-tracking-table th {
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    padding: 12px 16px;
}

.contact-tracking-table td {
    padding: 14px 16px;
    vertical-align: middle;
}

/* Call Button in Footer */
.contact-call-btn {
    display: inline-flex;
    align-items: center;
    color: #B81D24;
    font-weight: 700;
    text-decoration: none;
    background-color: #fef2f2;
    padding: 4px 12px;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.contact-call-btn:hover {
    background-color: #B81D24;
    color: #ffffff;
}

/* Responsive Mobile Layout */
@media (max-width: 767px) {
    .contact-progress {
        top: 18px;
        left: 12.5%;
        width: 75%;
    }
    .contact-step-icon {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }
    .contact-step-label {
        font-size: 0.78rem;
    }
    .contact-step-date {
        font-size: 0.7rem;
    }
}

