:root {
    --accent: #1fb0e6; /* blue used in image */
    --muted: #9aa7b0;
    --card-bg: #ffffff;
    --card-border: rgba(22, 34, 45, 0.04);
    --box-shadow: 0 6px 18px rgba(15, 41, 61, 0.05);
    --radius: 12px;
}

.checkout_Section {
    padding: 150px 0px;
}

.checkout_Section .container {
    max-width: 1180px;
}

.checkout-card {
    padding: 30px;
    border-radius: 6px;
}

/* Layout: two columns with vertical divider on large screens */
.checkout-row {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.swal-popup {
    border-radius: 12px !important;
    padding: 30px 20px !important;
}

.swal-title {
    font-family: "Poppins-SemiBold";
    font-weight: 600;
    font-size: 27px;
    letter-spacing: 0%;
    color: #212020;
    margin-top: 10px;
}

.swal-btn {
    background-color: #3bb2ea !important;
    color: white !important;
    border-radius: 20px !important;
    padding: 8px 25px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

.swal2-html-container {
    font-family: "Poppins-Regular";
    font-weight: 300;
    font-size: 16px;
    text-align: center;
    color: #212020;
}

/* vertical divider between columns */
@media (min-width: 992px) {
    .checkout-row::after {
        content: "";
        position: absolute;
        top: 10px;
        bottom: 10px;
        width: 1px;
        right: calc(50% - 20px); /* place between columns with spacing match */
        background: #e6e9eb;
    }
}

/* Left column */
.payment-title {
    font-family: "Poppins-Bold";
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 20px;
}
.checkboxesText {
    font-family: "Poppins-Regular";
    font-weight: 300;
    font-size: 16px;
}

.payment-subtle {
    color: var(--muted);
    margin-bottom: 22px;
    font-size: 14px;
}
.radio-list {
    display: flex;
    flex-wrap: wrap; /* allows wrapping to the next line */
    gap: 20px 40px; /* row-gap and column-gap for spacing */
}

.radio-list .form-check:nth-child(1),
.radio-list .form-check:nth-child(2) {
    flex: 1 1 calc(50% - 20px); /* two in one row */
}

.radio-list .form-check:nth-child(3) {
    flex: 1 1 100%; /* third one takes full width (next line) */
}
.deliveryText {
    font-family: "Poppins-Medium";
    font-weight: 500;
    font-size: 16px;
}
.checkoutPara {
    font-family: "Poppins-Regular";
    font-weight: 300;
    font-size: 13px;
}
/* custom radio list */
.radio-list .form-check {
    margin-bottom: 16px;
    display: flex;
    gap: 12px;
    align-items: center;
}
.form-check-input {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #cfdbe0;
    transition: all 0.15s;
    box-shadow: none;
}
.form-check-input:checked {
    background: var(--accent);
    border-color: var(--accent);
}
.form-check-label {
    font-weight: 500;
    color: #1a2b3a;
}

/* card-like boxes on right */
.info-card {
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--card-border);
    box-shadow: var(--box-shadow);
    padding: 18px;
    margin-bottom: 18px;
}

.info-line {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #1a2b3a;
    font-size: 14px;
    margin-bottom: 8px;
}

.info-line .bi {
    color: var(--accent);
    font-size: 18px;
    margin-top: 2px;
    min-width: 20px;
}

.muted-small {
    color: var(--muted);
    font-size: 13px;
}

.right-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.small-change {
    color: var(--accent);
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
}
.small-change:hover {
    text-decoration: underline;
}

/* Delivery option radio style inside card */
.delivery-option .form-check {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(15, 36, 54, 0.03);
    margin-bottom: 10px;
    background: #fff;
}
.delivery-option .form-check .form-check-label {
    font-weight: 600;
    color: #13232f;
}
.delivery-option .muted-small {
    font-weight: 400;
    color: var(--muted);
    display: block;
    margin-top: 6px;
}

/* Place Order button */
.place-order {
    display: block;
    width: 100%;
    max-width: 360px;
    margin: 28px auto 0;
    padding: 12px 28px;
    border-radius: 28px;
    background: linear-gradient(180deg, var(--accent), #0aa0d1);
    color: #fff;
    border: none;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(31, 176, 230, 0.2);
    text-align: center;
    cursor: pointer;
}
.payment-form {
    background-color: #f8f7f7;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.card-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    width: 40px;
    height: 25px;
    transform: translateY(-50%);
    opacity: 0.8;
}

.cvv-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
}

.pay-btn {
    background-color: #2aa3d9;
    border: none;
    padding: 10px;
    border-radius: 28px;
    font-weight: 500;
    transition: 0.3s ease;
    font-family: "Poppins-Regular";
    font-weight: 400;
    font-size: 16px;
}

.pay-btn:hover {
    background-color: #007bdb;
}

.cardLabel {
    font-family: "Poppins-Regular";
    font-weight: 400;
    font-size: 12px;
}
/* Right column inner spacing */
.right-column {
    padding-left: 30px;
}
.formLable {
    font-family: "Poppins-Regular";
    font-weight: 400;
    font-size: 12px;
    letter-spacing: 0px;
    margin-bottom: 5px;
}
.formField {
    background-color: #ffffff;
    padding: 10px 15px;
    font-family: "Poppins-Regular";
    border-radius: 11px;
    border-width: 1px;
    height: 34px;
}
.formField::placeholder {
    font-size: 12px;
    color: #888;
}

/* responsive behaviors */
@media (max-width: 991.98px) {
    .checkout-row {
        grid-template-columns: 1fr;
    }
    .checkout-row::after {
        display: none;
    }
    .right-column {
        padding-left: 0;
        margin-top: 18px;
    }
    .place-order {
        max-width: 100%;
    }
}

/* extra spacing for very small devices */
@media (max-width: 575.98px) {
    .checkout-card {
        padding: 0px;
    }

    .checkout_Section {
        padding: 85px 0px;
    }
    .checkboxesText {
        font-size: 13px;
    }
}

/* subtle text sizes */
.h6-strong {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 6px;
}
.small-muted {
    font-size: 13px;
    color: var(--muted);
}
