@import url('https://fonts.googleapis.com/css2?family=Courier+Prime&family=Gabarito:wght@300;400;700;900&family=Gloria+Hallelujah&family=Inter&family=Kablammo&family=Lato&family=Montserrat&family=Phudu&family=Roboto&display=swap');

.bxdv {
    border: solid 1px #aaa;
    border-radius: 5px;
    background-color: #fff;
    box-shadow: 0 0 5px 1px #d0d0d0;
    overflow: hidden;
    position: relative;
}

.bxdvh {
    text-align: center;
    padding: 10px 5px;
    border-bottom: solid 1px #dfdfdf;
}

.bxdvh h2 {
    font-weight: normal;
    font-size: 17px;
    margin: 0px;
}

/* added custom css */
.inp_txt .bxdvh {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #005f89;
    color: white;
    padding: 0 10px 0px 20px;
}

.inp_txt {
    border-radius: 2px;
    border: none;
}

.inp_txt h2 {
    color: white;
    font-weight: 400;
    font-size: 20px;
    letter-spacing: normal;
}

.bxdvb {
    padding: 20px;
}


.btnDesign {
    font-family: 'Gabarito';
    color: #ffffff;
    font-size: 18px;
    font-weight: 400;
    background: #04af2f;
    border-radius: 2px;
    border: none;
    outline: none;
    padding: 6px 18px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.btnDesign:focus {
    outline: none;
}

/* new css */

.result_section {
    background: white;
    padding: 18px;
    box-shadow: 0 1px 6px 0 rgba(0, 0, 0, .25);
    margin-bottom: 24px;
    position: relative;
    border-radius: 2px;
}

.result_section {
    margin-top: 24px;
}

.result_section .trk_num p {
    margin: 0;
    color: #121212;
    font-weight: 400;
    line-height: 1.2;
}

.result_section .trk_num span {
    font-size: 16px;
    color: #363636;
    font-family: 'Gabarito';
}

.error {
    padding: 4px 12px;
    background: #f9d8d8;
    color: red;
    border: 1px solid red;
    border-radius: 2px;
    margin-bottom: 6px;
}

.loader_div {
    margin-top: 12px;
    background: #d6ebf5;
    padding: 12px;
    border-radius: 4px;
    color: #005f89;
    font-size: 18px;
    border: 1px solid #005f89;
}

.details {
    display: flex;
    align-items: stretch;
}

.details input[name="tracking_number"] {
    border-right: none;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    height: auto;
}

.ship_label {
    font-family: 'Gabarito';
    color: #000;
    display: inline;
    background: #dffae6;
    padding: 2px 12px;
    border-radius: 4px;
    color: #04af2f;
    border: 1px solid #04af2f;
}

.shipment_info .address {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    font-family: 'Gabarito';
    color: #000;
}

.shipment_info .progress {
    height: 8px;
}

.shipment_info .progress-bar {
    background: #28a745;
}

/* Progress container for spacing */
.progress-container {
    position: relative;
    margin-top: 12px;
}

/* Basic progress bar styling */
.progress {
    position: relative;
    background-color: #e9ecef;
    height: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: #007bff;
    transition: width 0.4s ease;
}

/* Milestones container */
.milestones {
    position: absolute;
    top: 5px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 1;
}

/* Milestone markers */
.milestone {
    position: relative;
    width: 25px;
    height: 25px;
    background-color: #e9ecef;
    border: 3px solid #e9ecef;
    border-radius: 50%;
    transition: background-color 0.4s ease, border-color 0.4s ease;
    z-index: 2;
    margin-top: -15px;
}

/* Milestone with status "complete" */
.milestone[data-status="complete"] {
    background-color: #28a745;
    border-color: #28a745;
}

.milestone[data-status="complete"]::after {
    content: '✔';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    color: white;
    font-weight: bold;
}

.milestone[data-status="active"] {
    background-color: #28a745;
    border-color: #28a745;
}

.milestone[data-status="active"]::after {
    content: '→';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    color: white;
    font-weight: bold;
}

.delivery_info {
    margin-top: 12px;
}

.delivery_info p {
    color: #121212;
    font-size: 16px;
    font-family: 'Gabarito';
    margin: 0;
    line-height: 1.1;
}

.delivery_info i {
    color: #04af2f;
}

.delivery_info .info {
    color: #025F89;
    text-transform: capitalize;
    font-size: 18px;
    font-family: 'Gabarito';
    font-weight: 400;
}

.delivery_info .info span {
    text-transform: lowercase;
}

.delivery_info .place {
    margin-top: 12px;
}

.delivery_info .place p {
    font-weight: 600;
}

.delivery_info .place span {
    /* font-family: 'Gabarito'; */
    color: #121212;
    text-transform: uppercase;
    font-weight: 300;
}

.shipping_progress table td {
    border: none;
}

.shipping_progress table .activity_milestone {
    border-left: 2px solid #005f89;
    position: relative;
}

.shipping_progress table,
.shipping_progress tbody {
    border: none;
}

.shipping_progress .activity_milestone::before {
    content: '';
    height: 16px;
    width: 16px;
    background: #005f89;
    position: absolute;
    left: -9px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
}

.shipping_progress .activity_milestone.delivered::before {
    content: '✔';
    color: white;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 16px;
    width: 16px;
    background: #005f89;
    position: absolute;
    left: -9px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
}

td.activity_milestone {
    margin: 0;
    font-size: 14px;
    color: #121212;
    font-family: 'Gabarito';
}

td.activity_milestone p {
    line-height: 1.2;
    color: #121212;
    margin: 0;
}

td.activity {
    color: #121212;
    font-family: 'Gabarito';
    line-height: 1.2;
    font-size: 16px;
}

td.activity p {
    margin: 0;
}

.shipping_progress h4 {
    font-family: 'Gabarito';
    font-size: 28px;
    margin-bottom: 28px;
    color: #005f89;
    font-weight: 600;
}

.track_logo{
    float: right;
    margin-top: -20px;
    height: 54px;
}