.tracking-container{
    width: 95%;
    max-width: 1800px;
}

/* ==========================================
   SEARCH AWB
========================================== */

.search-awb{
    position: relative;
    width: 420px;
    max-width: 100%;
    margin: 0 auto;
    padding: 15px 0;
}

.search-awb > img{
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    z-index: 2;
}

.search-awb > input{
    width: 100%;
    height: 48px;
    padding-left: 50px;
}

.button-search{
    width: 420px;
    max-width: 100%;
    margin: 0 auto;
    text-align: right;
}

#btn-search-awb{
    background-color: #d40019;
    color: #fff;
    padding: 10px 20px;
    margin-bottom: 20px;
    border: none;
    border-radius: 4px;
}

/* ==========================================
   RESPONSE
========================================== */

.response-message-null,
.response-message-notfound{
    display: none;
    text-align: center;
    margin-top: 30px;
}

.response-message-null > h5,
.response-message-notfound > h5{
    padding: 15px 0;
    width: 50%;
    margin: auto;
}

.response-success{
    margin-top: 30px;
    display: none;
}

/* ==========================================
   FORM VALIDATION
========================================== */

.is-invalid{
    background-color: #f36b7b5a;
    color: #a10315;
    border: 1px solid #f36b7b;
    border-radius: 5px;
}

/* ==========================================
   LOADING
========================================== */

#loading{
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #171515;
    opacity: 0.6;
    z-index: 2000;
    display: none;
}

.loader{
    position: absolute;
    top: 40%;
    left: 50%;
}

#loading img{
    width: 50px;
}

/* ==========================================
   CARD
========================================== */

.card{
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0px 2px 10px -6px rgba(0,0,0,.75);
}

.card > h5{
    padding-bottom: 20px;
    border-bottom: 3px solid #d40019;
    color: #d40019;
}

/* ==========================================
   TRACKING DETAILS
========================================== */

.track-details > h5{
    font-size: 13px;
    font-weight: bold;
}

.track-details > h3{
    font-size: 20px;
    font-weight: bold;
}

.track-details > h4{
    font-size: 12px;
    padding-top: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: normal;
}

.pt-10{
    padding-top: 10px;
}

.pt-15{
    padding-top: 15px;
}

/* ==========================================
   STATUS BADGE
========================================== */

.tracking-status-badge{
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.tracking-status-badge.success{
    background: #e8f8ee;
    color: #1f8f4d;
}

.tracking-status-badge.courier{
    background: #e8f4ff;
    color: #0d6efd;
}

.tracking-status-badge.delivery{
    background: #fff3cd;
    color: #856404;
}

.tracking-status-badge.process{
    background: #f1f3f5;
    color: #495057;
}

.tracking-status-badge.danger{
    background: #fdeaea;
    color: #dc3545;
}

/* ==========================================
   HISTORY TIMELINE
========================================== */

.img-point{
    min-height: 95px;
    position: relative;
}

.line{
    background-color: #a10315;
    width: 3px;
    height: 70px;
    margin-top: -10px;
    margin-left: 16px;
}

.message-history{
    position: absolute;
    top: 0;
    left: 48px;
}

.message-history > p{
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
}

.message-history > h4{
    font-size: 12px;
    margin-bottom: 5px;
    font-weight: normal;
}

.message-history > h6{
    font-size: 11px;
    font-weight: normal;
    margin-bottom: 20px;
}

.tracking-result{
    max-width: 1400px;
    margin: 0 auto;
}

/* ==========================================
   POD
========================================== */

.pod-preview{
    margin-top: 15px;
}

.pod-preview img{
    max-height: 250px;
    width: auto;
    border-radius: 6px;
}

/* ==========================================
   HISTORY HEADER + ETA
========================================== */

.history-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #d71920;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.history-header h5{
    margin: 0;
}

.eta-card-mini{
    position: relative;
    padding: 10px 14px 10px 18px;
}

.eta-green::before,
.eta-yellow::before,
.eta-red::before{
    content:'';
    position:absolute;
    left:8px;
    top:8px;
    bottom:8px;
    width:4px;
    border-radius:4px;
}

.eta-green::before{
    background:#28a745;
}

.eta-yellow::before{
    background:#ffc107;
}

.eta-red::before{
    background:#dc3545;
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 767px){

    .search-awb{
        width: 100%;
        max-width: 320px;
    }

    .button-search{
        width: 100%;
        max-width: 320px;
        margin-top: 10px;
        text-align: center;
    }

    #btn-search-awb{
        width: 100%;
    }

    .history-header{
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .eta-card-mini{
        width: 100%;
        justify-content: center;
    }

    .pod-preview img{
        display: none;
    }

    #pod-button{
        display: inline-block;
    }

    .nopadding > h2{
        margin-top: -5rem;
        margin-left: 0;
    }
}

/* ==========================================
   TABLET
========================================== */

@media only screen and (min-width: 768px) and (max-width: 990px){

    #pod-button{
        display: none;
    }

}