/* * { outline: 1px solid rgba(255,0,0,0.2); } */

.account-content-container p {
    font-size: 14px;
}
.account-content-container h5 {
    font-size: 18px;
}
.account-content-container h4 {
    font-size: 1.6rem;
}
.back-to-orders {
    max-width: 335px;
    width: 100%;
    text-align: center;
    border: solid 1px #102A4B;
    color: #102A4B !important;
    font-weight: 600;
    border-radius: 25px;
    padding: 8px 15px;
}
.est-delivery {
    grid-template-columns: 1fr 1fr;
}
.est-delivery span {
    font-weight: bold;
    text-align: center;
    border: solid 2px #0099FF;
}
.delivery-cancelled span {
    border: solid 2px rgba(var(--bs-danger-rgb)) !important;
}
.delivery-delivered span {
    border: solid 2px #70C24E !important;
}
.est-delivery-1 {
    border-radius: 10px 0px 0px 10px;
    background-color: #0099FF;
    color: white;
}
.est-delivery-2 {
    border-radius: 0px 10px 10px 0px;
    background-color: white;
    color: #102A4B;
}
.est-cancelled-1 {
    background-color: rgba(var(--bs-danger-rgb)) !important;
}
.est-cancelled-2 {
    color: rgba(var(--bs-danger-rgb)) !important;
}
.est-delivered-1 {
    background-color: #70C24E !important;
}
.est-delivered-2 {
    color: #70C24E !important;
}
.track-order-container {
    width: 60%;
    height: fit-content;
    border: solid 2px rgba(16, 42, 75, 0.3);
    border-radius: 20px;
}

.track-status-container div .maxoptra-tracking-widget , .account-content-container div .maxoptra-tracking-widget{
    width: 60%;
    height: fit-content;
    border: solid 2px rgba(16, 42, 75, 0.3);
    border-radius: 20px;
}
.text-blue {
    color: #0099FF;
}
.text-green {
    color: #70C24E;
}
.text-grey {
    color: #D7E5F1;
}
.card-body img {
    height: fit-content;
}
.card-body .account-btn {
    background-color: #F8FCFF;
}
/* Order items CSS */
.items-container {
    width: 40%;
    max-width: 40%;
}
.order-card {
    height: fit-content;
    border-left: solid 2px #B9E2FF;
    border-right: solid 2px #B9E2FF;
    border-top: solid 2px #B9E2FF;    
}
.card-head {
    background-color: #F8FCFF;
    border-radius: 20px 20px 0px 0px;
}
.card-foot {
    height: 15px;
    border-radius: 0px 0px 20px 20px;
    border-top: none;
    border-bottom: solid 2px #B9E2FF;
}
.order-card .card-body {
    display: flex;
    flex-direction: row;
}
.item-details .quantity {
    font-weight: bold;
}
.sub-title {
    font-family: 'Centrale Sans Regular', Trebuchet, sans-serif;
    font-weight: 400;
    font-size: 1rem;
}
.account-btn {
    background-color: white;
    color: #0099FF;
    border: solid 1px #0099FF;
    border-radius: 20px;
}

.account-btn:hover {
    background-color: #0099FF;
    color: white;
}

.address-card {
    border: solid 2px #B9E2FF;
    background-color: #F8FCFF;
    border-radius: 20px;
}

/* Track Order CSS */

.order-timeline {
    position: relative;
}
.timeline-item {
    position: relative;
    display: grid;
    /* grid-template-columns: minmax(35px, 1fr) 9fr; */
    grid-template-columns: 50px 1fr;
}
.timeline-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  height: calc(100% + 3rem); 
  border-left: 2px solid #cbd5e1;
  z-index: 0;
}
.timeline-marker {
    height: 20px;
    width: 20px;
    border-radius: 25px;
    position: relative;
    box-sizing: border-box;
    margin: 0 auto;
    background-color: #D7E5F1;
}

.timeline-item.item-active::before {            border-left: 2px dashed #0099FF;     /* background-color: #0099FF */ }
.timeline-item.item-delivered::before {         border-left: 2px dashed #70C24E;     /* background-color: #70C24E */ }
.timeline-item.item-cancelled::before {         border-left: 2px dashed #dc3545;     /* background-color: red;    */ }
.timeline-item.item-none::before {content: none;}

.marker-none::after {
    content: none;
}
.timeline-marker img {
    padding: 5px;
    width: 50px;
    height: 35px;
}
.timeline-marker-active {
    height: 50px;
    width: 50px;
    display: flex;
    align-items: center;
}
.timeline-marker-inactive {
    height: 20px;
    width: 20px;
}
.timeline-marker-passed {
    background-color: #0099FF;
}

.timeline-marker-delivered {
    background-color: #70C24E;
}
.timeline-marker-cancelled {
    background-color: #dc3545;
    display: flex;
    text-align: center;
    color: white;
    justify-content: center;
    align-items: center;
    font-size: 30px;
}
.update-delivery-container, 
.update-delivery-container .account-btn, 
.cancel-delivery-container,
.cancel-delivery-container .account-btn,
.report-delivery-container,
.report-delivery-container .account-btn,
.return-delivery-container,
.return-delivery-container .account-btn
{
    width: 100%;
}
.return-delivery-container,
.report-delivery-container,
.update-delivery-container,
.cancel-delivery-container {
    flex: 0 0 49%;
}
.cancel-delivery-container .account-btn:disabled {
    background-color: rgb(243, 243, 243);
    border: none;
}

.cancel-delivery-container .account-btn:disabled:hover {
    background-color: rgb(243, 243, 243);
    border: none;
    color: #0099FF;
}
button:disabled {
  cursor: not-allowed;
}
#booking-dates .pushbutton {
    max-width: 100%;
    width: 100%;
    border-radius: 20px;
    background-color: #3fa84d;
    color: white;
}
.date-select {
    appearance: none;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' stroke='%23555' fill='none' stroke-width='2'/></svg>") 
        no-repeat right 10px center;
    padding-right: 30px;
}
.order-delivered-btn {
    border: solid 1px #102A4B;
    font-size: 14px;
    width: fit-content;
    border-radius: 5px;
    background-color: #102A4B;
}
.order-delivered-btn p {
    color: #FFFFFF;
}
.order-awaiting-btn {
    border: solid 1px #DCDCDC;
    font-size: 14px;
    width: fit-content;
    border-radius: 5px;
    background-color: #F5F5F5;
}
.order-canceled-btn {
    border: solid 1px #D60000;
    font-size: 14px;
    width: fit-content;
    border-radius: 5px;
    background-color: #D60000;
}
.order-canceled-btn p {
    color: #FFFFFF;
}
.timeline-content:has(#changeButton[aria-expanded="true"]) #cancelButton {
  opacity: 0.5;
  pointer-events: none;
}
@media (max-width: 1200px) { 
    .items-container {
        max-width: 100%;
        width: 100%;
    }
    .track-order-container {
        width: 100%;
    }  
    .track-status-container div .maxoptra-tracking-widget, .account-content-container div .maxoptra-tracking-widget {
        width: 100%;
    }   

}
@media (max-width: 992px) {
   
}
@media (max-width: 768px) {
    .est-delivery {
        max-width: 335px;
        width: 100%;
        grid-template-columns: 1fr;
    }    
    .est-delivery-1 {
        border-radius: 10px 10px 0px 0px;
    }
    .est-delivery-2 {
        border-radius: 0px 0px 10px 10px;
    }
}
@media (max-width: 500px) {
    .title {
        text-align: center;
        max-width: 235px;
        width: 100%;
    }
}