.toast-container {
    top: 30px;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .7);
    padding: 24px;
    z-index: 1000;
}

.modal[aria-hidden="false"] {
    display: flex;
}

.modal__panel {
    background: #ffffff;
    width: 100%;
    max-width: 720px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .4);
}

.modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #e5e7eb;
}

.modal__title {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 700;
}

.modal__close {
    inline-size: 32px;
    block-size: 32px;
    border-radius: 50%;
    border: 0;
    background: #c5202b;
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 700;
}

/* Slider (Form -> Summary) */
.slider {
    display: flex;
    width: 200%;
    transform: translateX(0);
    transition: transform 420ms ease;
}

.modal__panel.show-summary .slider {
    transform: translateX(-50%);
}

.slide {
    width: 50%;
    padding: 20px;
    position: relative;
}

/* Form */
form {
    margin: 0;
}

.grid {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .grid-2 {
        grid-template-columns: 1fr 1fr;
    }
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* label {
    font-size: .9rem;
    color: #6b7280;
} */

input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

input:focus {
    border-color: #c5202b;
    box-shadow: 0 0 0 3px color-mix(in srgb, #c5202b 20%, transparent);
}

.actions {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: flex-end;
    margin-top: 8px;
    POSITION: absolute;
    BOTTOM: 6px;
    RIGHT: 20px;
}

.btn {
    /* border: 0; */
    border-radius: 8px;
    padding: 10px 14px;
    font-weight: 600;
}

.purchase-plan-error {
    color: #c5202b;
    /* your brand red */
    font-size: 0.8rem;
    /* margin-top: 4px; */
    display: block;
}

.btn-primary {
    background: #c5202b;
    color: #fff;
}

.btn-ghost {
    background: transparent;
    color: #c5202b;
    border: 1px solid #c5202b40 !important;
}

.btn-secondary {
    background: #111827;
    color: #fff;

}

/* Summary */
.summary {
    display: grid;
    gap: 14px;
}

.summary-list {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px;
    display: flex;
    gap: 10px;
    background: #fff;
    width: 47%;
}

.payment-plan-details {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px;
    /* display: grid; */
    gap: 10px;
    background: #fff;
    width: 47%;
}

/* .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-bottom: 1px dashed #e5e7eb;
    padding-bottom: 10px;
}

.row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
} */

.key {
    color: #6b7280;
    font-size: .9rem;
}

.val {
    font-weight: 600;
}

/* Small helper states */
.hidden {
    display: none !important;
}

.muted {
    color: #6b7280;
}

.plan-calculation {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    border-top: 1px solid #e5e7eb;
    padding: 10px 10px 40px 10px;
    flex-direction: column;
}

.plan-calculation p {
    margin-bottom: 4px;
    font-size: 14px;
}

.plan-calculation input {
    width: 150px;
    padding: 4px 5px;
    border: 1px solid #e5e7eb;
    margin-bottom: 0px !important;
    border-radius: 8px;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

.Coupon-btn {
    background: transparent;
    color: #c5202b;
    border: 1px solid #c5202b40 !important;
    padding: 2px 20px;
    border-radius: 3px;
}

#coupon_error {
    color: red;
    font-size: 14px;
}

#coupon_success {
    color: green;
    font-size: 14px;
}

#w_coupon_error {
    color: red;
    font-size: 14px;
}

#w_coupon_success {
    color: green;
    font-size: 14px;
}

@media only screen and (max-width: 770px) {
    input {
        margin-bottom: 8px;
        padding: 5px 10px;
    }

    .field {
        gap: 2px;
    }

    .mb-w-100 {
        width: 100%;
    }

    .mb-box-clumn {
        flex-direction: column !important;
    }

    /* .actions {
        bottom: -12px;
    } */
     /* .plan-calculation {
        padding: 10px;
     } */
}
@media only screen and (max-width: 427px) {
     .plan-calculation {
        padding: 10px ;
     }
}
.set-padding {
    padding: 0 !important;
}