
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400&display=swap');

:root{    
    --base-font: poppins;    
}

#found-loader{
    width: 30px; 
    display: none;
}

/*---------------------------------------------------- */
/*Shipment search result
/*----------------------------------------------------*/
.shipment-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Result header */
.shipment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 25px;
    padding: 35px;
    background: linear-gradient(135deg, #00044b 0%, #062a63 100%);
    color: #fff;
}

.shipment-header-info {
    flex: 1;
    min-width: 260px;
}

.shipment-title-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.shipment-title-row h2 {
    margin: 0;
    font-family: "Poppins";
    font-size: 28px;
    font-weight: 700;
    color: #fff;
}

.shipment-verified {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #27ae60;
    color: #fff;
    font-size: 15px;
}

.shipment-tracking {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 18px;
    border-radius: 30px;
    background-color: rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

.shipment-tracking span {
    color: rgba(255, 255, 255, 0.7);
}

.shipment-tracking strong {
    margin-left: 6px;
    color: #fff;
    letter-spacing: 1px;
}

.shipment-subtitle {
    margin: 15px 0 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
}

.shipment-header-illustration {
    text-align: center;
}

.shipment-route {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.route-point {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    font-size: 15px;
}

.route-point-end {
    background-color: #ea1e00;
    border-color: #ea1e00;
}

.route-line {
    width: 80px;
    border-top: 2px dashed rgba(255, 255, 255, 0.45);
}

.shipment-transport-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.55);
}

.shipment-header-illustration p {
    margin: 12px 0 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
}

/* Details */
.shipment-details {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    padding: 35px;
}

.shipment-column {
    flex: 1;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.shipment-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.shipment-detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 8px;
    color: #fff;
    font-size: 18px;
}

.shipment-detail-icon.icon-blue {
    background-color: #2f80ed;
}
.shipment-detail-icon.icon-green {
    background-color: #27ae60;
}
.shipment-detail-icon.icon-purple {
    background-color: #9b51e0;
}
.shipment-detail-icon.icon-orange {
    background-color: #f2994a;
}
.shipment-detail-icon.icon-red {
    background-color: #ea1e00;
}
.shipment-detail-icon.icon-amber {
    background-color: #f2c94c;
    color: #00044b;
}

.shipment-detail-content h4 {
    margin: 0 0 5px;
    font-family: "Poppins";
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #8a8a9e;
}

.shipment-detail-content p {
    margin: 0;
    font-size: 15px;
    color: #00044b;
    word-wrap: break-word;
}

.shipment-break-word {
    word-break: break-all;
}

.shipment-location i {
    margin-right: 6px;
    color: #ea1e00;
}

.shipment-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    border-radius: 30px;
    background-color: #f4f4f4;
    font-size: 13px;
    font-weight: 600;
    color: #00044b;
}

.shipment-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ea1e00;
}

.shipment-status.status-transit .shipment-status-dot {
    background-color: #2f80ed;
}

.shipment-status.status-delivered .shipment-status-dot {
    background-color: #27ae60;
}

/*---------------------------------------------------- */
/*Tracking form
/*----------------------------------------------------*/
.ft-track-box {
    margin-top: 40px;
    padding: 45px;
    border-radius: 8px;
    background-color: #f4f4f4;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.ft-track-form {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 15px;
}

.ft-track-form-group {
    position: relative;
    flex: 1 1 320px;
    display: flex;
    align-items: center;
    background-color: #fff;
    border: 2px solid transparent;
    border-radius: 6px;
    transition: 0.3s all ease;
}

.ft-track-form-group:focus-within {
    border-color: #ea1e00;
}

.ft-track-form-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    color: #ea1e00;
    font-size: 20px;
}

.ft-track-form-group input {
    flex: 1;
    min-width: 0;
    width: 100%;
    height: 55px;
    border: none;
    outline: none;
    background: transparent;
    font-family: "Poppins";
    font-size: 15px;
    color: #00044b;
}

.ft-track-form-group input::placeholder {
    color: #8a8a9e;
}

.ft-track-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 200px;
    max-width: 100%;
    height: 55px;
    padding: 0 35px;
    border: none;
    border-radius: 30px;
    color: #fff;
    font-family: "Poppins";
    font-size: 16px;
    font-weight: 600;
    background-color: #ea1e00;
    cursor: pointer;
    -webkit-transition: 500ms all ease;
    transition: 500ms all ease;
}

.ft-track-btn i {
    -webkit-transition: 0.3s all ease-in-out;
    transition: 0.3s all ease-in-out;
}

.ft-track-btn:hover,
.ft-track-btn:focus {
    background-color: #00044b;
    outline: none;
}

.ft-track-btn:hover i {
    -webkit-transform: translateX(3px);
    transform: translateX(3px);
}

.ft-track-btn[disabled] {
    opacity: 0.7;
    cursor: not-allowed;
}

.ft-track-hint {
    margin: 20px 0 0;
    font-size: 14px;
    color: #6c7293;
}

.ft-track-hint i {
    margin-right: 5px;
    color: #ea1e00;
}

.found {
    margin-top: 30px;
}

/* Extra notice (e.g. delivery delay message) */
.shipment-extra-message {
    padding: 0 35px 25px;
}

.shipment-extra-message:empty {
    display: none;
}

.shipment-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px 20px;
    border-left: 4px solid #ea1e00;
    border-radius: 5px;
    background-color: #fdeaea;
}

.shipment-notice i {
    margin-top: 3px;
    color: #ea1e00;
    font-size: 18px;
}

.shipment-notice h4 {
    margin: 0 0 4px;
    font-family: "Poppins";
    font-size: 14px;
    font-weight: 600;
    color: #00044b;
}

.shipment-notice p {
    margin: 0;
    font-size: 14px;
    color: #555a72;
}

/* Result footer */
.shipment-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px 35px;
    border-top: 1px solid #eee;
    background-color: #f9f9f9;
    font-size: 13px;
    color: #6c7293;
}

.shipment-footer i {
    margin-right: 6px;
    color: #ea1e00;
}

/* Empty / not found card */
.shipment-empty-card {
    padding: 50px 30px;
    border-radius: 8px;
    background-color: #fff;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.shipment-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background-color: #fdeaea;
    color: #ea1e00;
    font-size: 28px;
}

.shipment-empty-card h2 {
    margin: 0 0 10px;
    font-family: "Poppins";
    font-size: 26px;
    font-weight: 700;
    color: #043641;
}

.shipment-empty-description {
    max-width: 450px;
    margin: 0 auto 20px;
    font-size: 15px;
    color: #6c7293;
}

.shipment-empty-notice {
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
    max-width: 450px;
    padding: 12px 18px;
    border-radius: 5px;
    background-color: #f4f4f4;
    text-align: left;
    font-size: 13px;
    color: #6c7293;
}

.shipment-empty-notice i {
    margin-top: 2px;
    color: #ea1e00;
}

@media only screen and (max-width: 767px) {
    .ft-track-box {
        padding: 30px;
    }
    .ft-track-form {
        flex-direction: column;
    }
    .ft-track-form-group {
        /* reset the 320px flex-basis: in a column layout it would apply
       to height and stretch the input box vertically */
        flex: 1 1 auto;
        width: 100%;
    }
    .ft-track-btn {
        width: 100%;
        min-width: 0;
        padding: 0 25px;
    }
    .shipment-header {
        flex-direction: column;
        padding: 25px;
        text-align: center;
    }
    .shipment-header-info {
        min-width: 0;
    }
    .shipment-title-row {
        justify-content: center;
    }
    .shipment-header-illustration {
        display: none;
    }
    .shipment-details {
        padding: 25px;
    }
    .shipment-extra-message {
        padding: 0 25px 20px;
    }
    .shipment-footer {
        justify-content: center;
        padding: 15px 25px;
        text-align: center;
    }
}

@media only screen and (max-width: 575px) {
    .ft-track-box {
        padding: 20px;
    }
    /* 16px font prevents iOS Safari auto-zoom on input focus */
    .ft-track-form-group input {
        font-size: 16px;
    }
    .ft-track-hint {
        font-size: 13px;
    }
    .shipment-title-row h2 {
        font-size: 22px;
    }
    .shipment-empty-card {
        padding: 35px 20px;
    }
}