@import url('../../fonts/svn-gilroy-webfont/style.css');

.heading-lg {
    font-family: var(--bs-font-sans-serif);
    font-weight: 700;
    font-size: 1.6rem;
    line-height: 1.35;
    letter-spacing: -.0095rem;
    max-width: 36em;
}

.heading-md {
    font-family: var(--bs-font-sans-serif);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0;
    font-size: 1.4rem ;
    color: #68AAA5;
}

.heading-sm {
    font-family: var(--bs-font-sans-serif);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    font-size: 1.2rem
}



body {
    font-family: Arial, sans-serif;
}

.title {
    font-family: 'Gilroy-Bold', sans-serif;
    color: white;
    text-align: center;
    padding:60px;
}

.checkout-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.checkout-content {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    font-family: 'Gilroy-SemiBold', sans-serif;
}

.infor-block {
    flex: 1;
    background-color: transparent;
    padding: 0 20px;
    margin-right: 60px;

}
.input-box {
    width: 100%;
    height: 38px;
    padding: 25px;
    background-color: transparent;
    margin: 10px 0;
    border: 1px solid #AAAAAA;
    border-radius: 10px;
    box-sizing: border-box;
    color: #AAAAAA;
    font-size:17px;

}



.radio-container {
    display: flex;
    align-items: center;
    margin-top: 30px;
    cursor: pointer;
    position: relative;
}

.radio-container input[type="checkbox"] {
    opacity: 0;
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    margin: 0;
    cursor: pointer;
}

.radio-container .checkmark {
    width: 20px;
    height: 20px;
    background-color: #FFFFFF;
    border: 1px solid #AAAAAA;
    border-radius: 3px;
    margin-right: 10px;
    position: relative;
}

.radio-container input[type="checkbox"]:checked + .checkmark {
}

.radio-container input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    width: 10px;
    height: 10px;
    background-color: #68AAA5;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block; /* Ensure the pseudo-element is displayed */
}


.summary-block {
    width: 448px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 663px;
    padding: 15px 40px;
    background-color: white;
    border-radius: 10px;
}

.summary-top {
    flex-grow: 1;
}

.summary-bottom {
    display: flex;
    flex-direction: column;
}


.summary-title {

    color: #68AAA5;
}

.section {
    margin-bottom: 17px;
}

.section-title {
    font-weight: bold;
    color: black;
}

.sub-title {
    font-size: 0.9em;
    color: gray;
}

.order-details {
    padding-top: 30px;
    padding-left: 0 !important;
    border-top: 2px solid #68AAA5;

}


.order-details li .item{
    width: 33.33%;
    display: flex;
    justify-content: flex-end;
}

#item-details{
    width: 80%;
    color: #444444;
}

#item-summary {
    width: 20%;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    color: #444444;

}

.payment-methods {
    display: flex;
    flex-direction: column;
}

.payment-method {
    display: flex;
    align-items: center;
    background-color: #f7f9fa;
    padding: 10px;
    margin-bottom: 10px;
    cursor: pointer;
}

.payment-method img {
    margin-left: auto;
}

.payment-method i {
    font-size: 2em;
    margin-left: auto;
    color: #003087;
}

.payment-method label {
    margin-left: 10px;
    color: black;
}

.payment-details {
    padding: 20px;
    border: 1px solid lightgray;
    border-top: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.payment-details .section {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.payment-details .section-row {
    display: flex;
    flex-direction: row;
    gap: 15px;
}

.payment-details .section-row .block {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.payment-details label {
    color: black;
    font-weight: bold;
}

.payment-details input {
    padding: 10px;
    border: 1px solid lightgray;
    border-radius: 5px;
}


.order-item {
    display: flex;
    justify-content: space-between;
}

.order-summary {
    padding-top: 40px;
    border-top: 2px solid #68AAA5;
}

.order-summary-item {
    display: flex;
    justify-content: space-between;
    color: #444444;
}

.order-total {
    color: black;
    display:flex;
    justify-content: space-between;
    margin-top: 20px;
    text-align: right;
    padding-top: 40px;
    padding-bottom: 60px;
    border-top: 2px solid #68AAA5;

}

#complete-checkout {
    width: 164px;
    padding: 10px;
    background-color: #68AAA5;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: block;
    margin: 0 auto;
}

#complete-checkout:hover {
    background-color: #218838;
}


.text-black {
    color: black;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-dialog {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.modal-header, .modal-body, .modal-footer {
    padding: 10px;
}

.modal-header {
    border-bottom: 0;
}

.modal-title {
    font-size: 24px;
    font-family: 'Gilroy-Bold', sans-serif;
    color: #68AAA5;
}

.modal-body {
    margin-top: 30px;
    color: black;
    font-family: 'Gilroy-SemiBold', sans-serif;
    font-size: 18px !important;
}

.modal-footer {
    margin-top: 30px;
    border-top: 0;
    text-align: right;
}

.modal-footer .btn {
    background-color: #68AAA5;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.modal-footer .btn:hover {
    background-color: #218838;
}



@media(max-width: 1024px){
    .checkout-container{
        padding: 0px;
    }
    .summary-block {
        width: 50%;
    }
    .infor-block {
        width: 50%;

    }
}

@media(max-width: 980px){



}

@media (max-width: 767px) {
    .checkout-content {
        flex-direction: column;
    }

    .infor-block {
        padding: 0;
        margin-right: 0;
    }

    .summary-block {
        width: 100%;
    }
    .infor-block {
        width: 100%;

    }

}


@media(max-width: 539px){
    .order-details li .item{
        width: 100%;
    }
    #item-summary {
        width: 40%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-end;
    }

    .payment-details .section-row {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
}
