

@import "root.css";

@import "aflac.css";

@import "flex.css";

@import "buttons.css";

@import "table.css";
@import "form.css";

@import "alerts.css";

@import "products.css";

@import "cart.css";
@import "billing.css";
@import "shipping.css";
@import "payment.css";

body {
    min-height: 100vh;
    display: grid;
    grid-template-rows: auto 1fr auto;
}

main {
    overflow-x: hidden;
    min-height: 89vh;
}

footer {
    margin-top: auto;
}

h1 {
    font-size: 2em;
}

h2 {
    font-size: 1.5em;
}

h3 {
    font-size: 1.4em;
}

h4 {
    font-size: 1.3em;
}

h5 {
    font-size: 1.2em;
}

h6 {
    font-size: 1.1em;
}

dialog {
    max-width: 300px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 2em;
    border: 1px solid var(--dark-gray);
    border-radius: 12px;
    row-gap: 1.5em !important;
    font-size: 1.15em;
    box-shadow: 0 0 200vw 200vw rgba(0, 0, 0, 0.35);
}

.container {
    position: relative;
    padding: 0.75rem 1.5rem;
    max-width: 1400px;
    min-height: 100%;
    margin: 0 auto;
}

#footer {
    margin-top: auto;
}

.error {
    color: var(--error-red);
}

.hidden {
    display: none !important;
}

*:not(.button).loading::before {
    position: absolute;
    content: '';
    z-index: 500;
    top: 0;
    left: -50dvw;
    width: 200dvw;
    height: 100%;
    background-color: var(--background-color--background-primary);
}

*:not(.button).loading::after {
    position: absolute;
    content: '';
    z-index: 501;
    inset: 0;
    margin: auto;
    width: 5em;
    height: 5em;
    border: 0.5em solid var(--base-color-brand--blue);
    border-radius: 50%;
    border-bottom-color: transparent;
    animation: spin 0.75s linear infinite;
}

/*.loading {
    pointer-events: none;
}

.loading::before {
    display: block;
    content: '';
    z-index: 15;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
}

.loading::after {
    display: block;
    content: '';
    z-index: 20;
    inset: 0;
    margin: auto;
    width: 35px;
    height: 35px;
    border: 6px solid var(--brand-blue);
    border-radius: 50%;
    border-bottom-color: transparent;
    animation: spin 0.75s linear infinite;
}*/

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}