html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    font-size:14px;
}

.payment-container {
    width: 100%;
    margin-top: 0;
    background: #FFF;
    padding: 10px;
    border: 0;
    position: relative;
}

    .payment-container::before,
    .payment-container::after {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        border-radius: 8px;
        pointer-events: none;
    }

#loading-spinner::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgb(0 0 0 / 36%);
    backdrop-filter: blur(.5px);
}

#loading-spinner {
    display: none;
    text-align: center;
}

#loading-spinner .loading-message {
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    position: absolute;
}


    .payment-container h3 {
        font-size: 16px;
    }


.field {
    width: 100%;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 5px;
    font-size: 1rem;
    background: #FFF;
    box-sizing: border-box;
}


.valid {
    color: #43B02A;
}

.invalid {
    color: #C01324;
}

button {
    display: block;
    width: 50%;
    margin: 20px auto 0;
    background-color: #007bff;
    color: white;
    border: none;
    padding: 12px;
    font-size: 18px;
    border-radius: 6px;
    cursor: pointer;
    text-align: center;
}

    button:hover {
        background-color: #0056b3;
    }

input::placeholder {
    color: #aaa;
}



.error {
    border-color: #C01324 !important;
    background: #fff6f6;
}

.success {
    border-color: #43B02A !important;
    background: #f6fff6;
}

.validation-message {
    color: #C01324;
    font-size: 10px;
    line-height: 1rem;
    margin-left: .5rem;
    align-self:center;
}

.billing-invalid {
    border-color: #C01324 !important;
    background-color: #ffecec !important;
}

/* Hide default checkbox but keep it accessible */
.custom-check .form-check-input {
    position: absolute;
    opacity: 0;
}

/* Style the label */
.custom-check .form-check-label {
    position: relative;
    padding-left: 2rem;
    cursor: pointer;
    line-height: 1.4;
}

    /* Custom box */
    .custom-check .form-check-label::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0.15rem;
        width: 1.25rem;
        height: 1.25rem;
        border: 2px solid #ced4da;
        border-radius: 0.25rem;
        background-color: #ffffff;
        transition: all 0.2s ease;
    }

    /* Checkmark */
    .custom-check .form-check-label::after {
        content: "";
        position: absolute;
        left: 0.35rem;
        top: 0.5rem;
        width: 0.5rem;
        height: 0.25rem;
        border-left: 2px solid #fff;
        border-bottom: 2px solid #fff;
        transform: rotate(-45deg);
        opacity: 0;
    }

/* Checked state */
.custom-check .form-check-input:checked + .form-check-label::before {
    background-color: #732B8F;
    border-color: #4C1661;
}

.custom-check .form-check-input:checked + .form-check-label::after {
    opacity: 1;
}

/* Focus state (keyboard users) */
.custom-check .form-check-input:focus + .form-check-label::before {
    outline: 3px solid rgba(13, 110, 253, 0.25);
    outline-offset: 2px;
}

.label-container label,
.card-field label {

}
