/*Checkout - Confirm page*/
form#payment-form {
    width: 25vw;
    min-width: 400px;
    align-self: center;
    /*box-shadow: 0px 0px 0px 0.5px rgba(50, 50, 93, 0.1),*/
    /*0px 2px 5px 0px rgba(50, 50, 93, 0.1), 0px 1px 1.5px 0px rgba(0, 0, 0, 0.07);*/
    /*border-radius: 7px;*/
    padding: 0 40px 40px 0;
}

.hidden {
    display: none;
}

#paymentMessage {
    color: rgb(105, 115, 134);
    font-size: 16px;
    line-height: 20px;
    padding-top: 12px;
    text-align: center;
}

#paymentElement {
    margin-bottom: 24px;
}

/* Buttons and links */
button.stripe-payment-btn {
    background: #5469d4;
    font-family: Arial, sans-serif;
    color: #ffffff;
    border-radius: 4px;
    border: 0;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: block;
    transition: all 0.2s ease;
    box-shadow: 0px 4px 5.5px 0px rgba(0, 0, 0, 0.07);
    width: 100%;
}
button.stripe-payment-btn:hover {
    filter: contrast(115%);
}
button.stripe-payment-btn:disabled {
    opacity: 0.5;
    cursor: default;
}

/* spinner/processing state, errors */
.spinner,
.spinner:before,
.spinner:after {
    border-radius: 50%;
}
.spinner {
    color: #ffffff;
    font-size: 22px;
    text-indent: -99999px;
    margin: 0px auto;
    position: relative;
    width: 20px;
    height: 20px;
    box-shadow: inset 0 0 0 2px;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
}
.spinner:before,
.spinner:after {
    position: absolute;
    content: "";
}
.spinner:before {
    width: 10.4px;
    height: 20.4px;
    background: #5469d4;
    border-radius: 20.4px 0 0 20.4px;
    top: -0.2px;
    left: -0.2px;
    -webkit-transform-origin: 10.4px 10.2px;
    transform-origin: 10.4px 10.2px;
    -webkit-animation: loading 2s infinite ease 1.5s;
    animation: loading 2s infinite ease 1.5s;
}
.spinner:after {
    width: 10.4px;
    height: 10.2px;
    background: #5469d4;
    border-radius: 0 10.2px 10.2px 0;
    top: -0.1px;
    left: 10.2px;
    -webkit-transform-origin: 0px 10.2px;
    transform-origin: 0px 10.2px;
    -webkit-animation: loading 2s infinite ease;
    animation: loading 2s infinite ease;
}

@-webkit-keyframes loading {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@keyframes loading {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@media only screen and (max-width: 600px) {
    form {
        width: 80vw;
        min-width: initial;
    }
}

/*Checkout - Confirm page end*/

/*Checkout - Address page*/
.stepper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 40px 0;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 17px;  /* Adjusted for 36px circles */
    left: calc(50% + 23px);  /* Adjusted for 36px circles */
    right: calc(-50% + 23px);  /* Adjusted for 36px circles */
    height: 1px;
    background: #ccc;
    z-index: -1;
}

.step.completed:not(:last-child)::after {
    background: #000;
}

.step-circle {
    width: 36px;  /* Changed to 36px */
    height: 36px;  /* Changed to 36px */
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid #ccc;
    color: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 5px;
    font-weight: bold;
    font-size: 15px;  /* Slightly reduced for 36px circles */
}

.step.completed .step-circle {
    background-color: #f0f0f0;
    border-color: #000;
    color: #000;
}

.step.active .step-circle {
    border-color: #000;
    color: #000;
}

.step-label {
    font-size: 14px;
    color: #ccc;
}

.step.completed .step-label,
.step.active .step-label {
    color: #000;
}
.phone-input-container {
    display: flex;
    flex-direction: column;
    margin-top: 15px;
}

.phone-input-container label {
    font-size: 14px;
    margin-bottom: 5px;
}

.phone-input-container input {
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.phone-input-container input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0,123,255,.25);
}

.clickable-card {
    cursor: pointer;
    transition: box-shadow 0.3s;
}
.clickable-card:hover {
    box-shadow: 0 0 11px rgba(33,33,33,.2);
}
.clickable-card.selected {
    border-bottom-color: #27b14c;
}
.clickable-card.selected i {
    color: #27b14c;
}
.form-check {
    padding-left: 2rem;
}
.custom-radio {
    width: 1.25rem;
    height: 1.25rem;
    margin-left: -2rem;
    background-color: #fff;
    border: 2px solid #000;
}
.custom-radio:checked {
    background-color: #000;
    border-color: #000;
}
.custom-radio:checked::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e");
}
.edit-shipping-icon,
.shipping-collapse-icon,
.default-shipping-collapse-icon,
.billing-collapse-icon {
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
    font-size: 1.1rem;
    color: #000;
}
address {
    font-style: normal;
    margin-bottom: 0;
}
.form-label {
    font-size: 0.9rem;
}

/* Checkout - Address page end */

/* Checkout - Payment page */
.payment-option {
    padding-bottom: 1rem;
}
.payment-divider {
    border: 0;
    border-top: 1px solid #cfcfcf; /* Lighter color */
    margin-top: 1rem;
    margin-bottom: 0;
    opacity: 0.5; /* Reduces the opacity for subtlety */
}
.error-message-subtle {
    font-size: 0.825rem;
    color: #dc3545;
    background-color: transparent;
    border: none;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}
/* Checkout - Payment page end */