.inputClass {
    font-size: 20px;
    min-height: 67vh;
}

.inputClass .container .row h4 {
    margin-top: 1rem;
    color: #fd4902;
}

.inputClass .container .row .Detail-btn {
    justify-content: space-evenly;
}

.inputClass .container .row .Detail-btn button {
    width: 48%;
    border: 1px solid white;
}

.inputClass .container .row .Detail-btn button.active {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.d-none {
    display: none !important;
}

.track-search-card {
    background: #ffffff;
    border: 1px solid #e1e7ef;
    border-radius: 10px;
    padding: 0.9rem 0.75rem 0.4rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
    margin-bottom: 1rem;
}

.track-search-card .form-control {
    border-radius: 8px;
    border: 1px solid #c9d6e6;
    height: 46px;
}

.track-search-card .form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.12);
}

.track-search-card .btn {
    width: 100%;
    border-radius: 8px;
    height: 46px;
    font-weight: 600;
}

.progress-summary {
    background: #ffffff;
    border: 1px solid #e1e7ef;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 8px 20px rgba(8, 33, 66, 0.05);
}

.progress-summary p {
    color: #3c4f68;
    font-size: 0.98rem;
    line-height: 1.6;
}

/* Professional Shipment Timeline */
.shipment-timeline {
    background: #ffffff;
    border: 1px solid #e1e7ef;
    border-radius: 12px;
    padding: 2rem 1rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(8, 33, 66, 0.06);
}

.timeline-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    gap: 0;
}

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

/* Connection line between steps */
.timeline-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 32px;
    left: 50%;
    width: calc(100% - 20px);
    height: 2px;
    background: #d7d7d7;
    z-index: 0;
}

.timeline-step.completed:not(:last-child)::after {
    background: #1b2f45;
}

.timeline-marker {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #f8fafd;
    border: 2px solid #d7d7d7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.timeline-step.completed .timeline-marker {
    background: #1b2f45;
    border-color: #1b2f45;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(27, 47, 69, 0.3);
}

.timeline-marker svg {
    width: 28px;
    height: 28px;
}

.timeline-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #556b82;
    max-width: 90px;
    word-break: break-word;
    line-height: 1.4;
}

.timeline-step.completed .timeline-label {
    color: #223a57;
    font-weight: 600;
}

@media (max-width: 600px) {
    .shipment-timeline {
        padding: 1.5rem 0.75rem;
    }

    .timeline-steps {
        gap: 8px;
    }

    .timeline-step:not(:last-child)::after {
        width: calc(100% - 12px);
        height: 1px;
    }

    .timeline-marker {
        width: 52px;
        height: 52px;
    }

    .timeline-marker svg {
        width: 22px;
        height: 22px;
    }

    .timeline-label {
        font-size: 0.8rem;
        max-width: 70px;
    }
}

.result-shell {
    background: #ffffff;
    border: 1px solid #dfe7f1;
    border-radius: 14px;
    padding: 1.25rem 0.65rem 1rem;
    box-shadow: 0 10px 24px rgba(8, 33, 66, 0.06);
}

.track-table {
    margin-bottom: 0;
}

.track-table td {
    border-top: 1px solid #edf2f8;
    padding: 0.7rem 0.6rem;
    color: #223a57;
}

.track-table td:first-child {
    width: 40%;
    color: #4b607d;
    font-weight: 600;
}

.live-map {
    width: 100%;
    min-height: 380px;
    border-radius: 10px;
    border: 1px solid #d7d7d7;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.map-note {
    margin-bottom: 0.75rem;
}

.map-status {
    margin-top: 0.75rem;
    font-size: 0.95rem;
    color: #4b5563;
}

.brand-signoff {
    margin-top: 2rem;
    color: #2a3f5f;
    font-size: 1rem;
    letter-spacing: 0.03em;
}

/* Professional Details Section Styling */
.details-section {
    background: transparent;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-card {
    background: #ffffff;
    border: 1px solid #e8ecf3;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(8, 33, 66, 0.06);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.detail-card:hover {
    box-shadow: 0 8px 20px rgba(8, 33, 66, 0.1);
    transform: translateY(-2px);
}

.detail-card-header {
    background: #1b2f45;
    padding: 1rem 1.25rem;
    border-bottom: none;
}

.detail-card-title {
    margin: 0;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.detail-card-body {
    padding: 1.25rem;
}

.detail-table {
    width: 100%;
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.detail-table tbody tr {
    border-bottom: 1px solid #f1f4f8;
    transition: background-color 0.2s ease;
}

.detail-table tbody tr:last-child {
    border-bottom: none;
}

.detail-table tbody tr:hover {
    background-color: #f8fafd;
}

.detail-table td {
    padding: 0.95rem 0;
    vertical-align: middle;
}

.detail-label {
    color: #556b82;
    font-weight: 600;
    font-size: 0.95rem;
    width: 35%;
    padding-right: 1rem;
}

.detail-value {
    color: #223a57;
    font-size: 0.95rem;
    word-break: break-word;
}

.status-badge {
    display: inline-block;
    background: #e7f5ff;
    color: #0d6efd;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.9rem;
}

/* mobile view .......................////////////////////////////////////////................ */
.inputClass .container .row .mobile {
    display: none;
}

@media(max-width: 600px) {
    .inputClass .container .row form {
        font-size: 14px;
    }

    .inputClass .container .row .mobile {
        display: block;
    }

    .inputClass .container .row .desktop {
        display: none;
    }

    .inputClass .container .row .text {
        font-size: 14px;
    }

    .reciever .table {
        font-size: 14px;
    }

    .reciever p {
        font-size: 14px;
    }

    .tracking-list {
        font-size: 14px;
    }

    .track-table td {
        padding: 0.55rem 0.4rem;
        font-size: 0.88rem;
    }

    .track-table td:first-child {
        width: 48%;
    }

    .live-map {
        min-height: 280px;
    }

    .details-section {
        padding: 1.5rem 0.75rem;
        gap: 1rem;
    }

    .detail-card-header {
        padding: 0.85rem 1rem;
        border-bottom: none;
    }

    .detail-card-title {
        font-size: 1rem;
    }

    .detail-card-body {
        padding: 1rem;
    }

    .detail-table td {
        padding: 0.75rem 0;
        font-size: 0.9rem;
    }

    .detail-label {
        width: 45%;
        padding-right: 0.5rem;
        font-size: 0.9rem;
    }

    .detail-value {
        font-size: 0.9rem;
    }

    .status-badge {
        padding: 0.3rem 0.6rem;
        font-size: 0.85rem;
    }

    .brand-signoff {
        margin-top: 1.5rem;
        font-size: 0.9rem;
    }
}
