* {
    padding: 0;
    margin: 0;
    outline: 0;
    font-family: "Poppins", Avantgarde, "Century Gothic", sans-serif;
}

@media (max-width: 800px) {
    html,body {
        max-width: 768px;
        margin: auto;
    }
}

:root {
    --color-primary: #FD194A;
    --color-secondary: #111A24;
    --color-text: #ffffffe6;
    --bg-dark: #0F172E;
}

::placeholder {
    opacity: .9;
    color: var(--color-text);
}

.container {
    padding: 0 16px;
}

header {
    background-color: var(--color-secondary);
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.site-logo {
    line-height: 0;
    text-align: center;
    padding: 15px 0;
}

.site-logo img {
    max-width: 100px;
}

main {
    background-color: var(--color-secondary);
    height: 100vh;
    overflow: auto;
    padding-bottom: 32px;
}

.order-form {
    box-shadow: 0px 5px 123px #00000005;
    border-radius: 0 0 9px 9px;
    background-color: var(--color-dark);
    padding: 20px;
    padding-top: 37px;
    padding-bottom: 175px;
}

.field {
    border: 1px solid var(--color-primary);
    box-sizing: border-box;
    border-radius: 6px;
    margin-bottom: 15px;
    position: relative;
    background-color: #213360;
}

.field:last-of-type {
    margin-bottom: 18px;
}

.field label {
    line-height: 0;
    position: absolute;
    width: 20px;
    left: 16px;
    top: 50%;
    transform: translate(0, -50%);
    border-right: 1px solid #ffffff1a;
    padding: 5px 0;
    padding-right: 15px;
}

.field label img {
    width: 100%;
}

.field input {
    font-weight: 400;
    font-size: 15px;
    line-height: 23px;
    background: transparent;
    border: none;
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 16px;
    padding-left: 65px;
    opacity: 1;
    color: var(--color-text);
}

.order-form form button {
    padding: 15px 30px;
    width: 100%;
    border-radius: 6px;
    border: none;
    background-color: var(--color-primary);
    font-weight: 500;
    font-size: 18px;
    line-height: 28px;
    text-align: center;
    color: #FFFFFF;
    cursor: pointer;
    transition: linear .2s;
}

.order-form form button:hover {
    background-color: var(--bg-dark);
}

.order-info {
    box-shadow: 0px 5px 123px #00000005;
    background-color: var(--color-secondary);
    border-radius: 0 0 9px 9px;
    text-align: center;
    padding: 16px;
    padding-bottom: 13px;
    margin-bottom: 24px;
}

.order-info h3 {
    font-weight: 600;
    font-size: 13px;
    line-height: 19px;
    color: var(--color-text);
    margin-bottom: 6px;
}

.order-info p {
    font-weight: normal;
    font-size: 11px;
    line-height: 16px;
    color: var(--color-text);
}

.order-status {
    margin-bottom: 39px;
    text-align: center;
}


.parts-status h3 {
    font-weight: 500;
    font-size: 14px;
    line-height: 21px;
    color: var(--color-text);
    text-align: center;
    margin-bottom: 9px;
}

.status-checkbox {
    background: #18234330;
    border: 1px solid #223260;
    box-sizing: border-box;
    box-shadow: 0px 5px 123px #00000005;
    border-radius: 9px;
    padding: 20px;
}

.status-checkbox ul {
    list-style: none;
    column-count: 2;
}

.status-checkbox ul li {
    margin-bottom: 10px;
}

.status-checkbox ul li {
    font-weight: 400;
    font-size: 9px;
    line-height: 14px;
    color: var(--color-text);
    display: block;
    position: relative;
    padding-left: 23px;
}

.loading-spinner {
    position: fixed; /* Changed from 'absolute' to 'fixed' */
    top: 0; /* Add this line */
    left: 0; /* Add this line */
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-spinner-animation {
    width: 100px;
    height: 100px;
    border-top: 10px solid #FE2D3E;
    border-radius: 50%;
    animation: spin .5s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hidden {
    display: none;
}


/* .status-checkbox ul li::before {
    content: "";
    border: 1px solid var(--color-primary);
    border-radius: 2px;
    height: 13px;
    width: 13px;
    box-sizing: border-box;
    display: inline-block;
    position: absolute;
    left: 0;
    top: 0px;
} */

/* .status-checkbox ul li.checked::before {
    background-repeat: no-repeat;
    background-size: 9px;
    background-position: center center;
    background-color: var(--color-primary);
} */

.select-wrapper {
    position: relative;
}

.status-select {
    padding: 10px 20px;
    font-family: 'Poppins';
    border-radius: 10px;
    background-color: #213360;
    color: white;
    /* get rid of default browser arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* make border --color-secondary */
    border: 1px solid #fd194a;
    z-index: 1;
    position: relative;
    width: 100%;
}

.status-button {
    /* get rid of button background */
    background: none;
    border: none;
    color: white;
    font-size: 15px;
    font-weight: 500;
    padding: 10px 20px;
    cursor: pointer;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 2;
}

.disclaimer {
    color: #FE2D3E;
    font-size: 10px;
    padding: 5px;
    border-radius: 5px;
}

.loading-spinner {
    position: fixed;
    /* Changed from 'absolute' to 'fixed' */
    top: 0;
    /* Add this line */
    left: 0;
    /* Add this line */
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-spinner-animation {
    width: 100px;
    height: 100px;
    border-top: 10px solid #FE2D3E;
    border-radius: 50%;
    animation: spin .5s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.hidden {
    display: none;
}

.text-right {
    text-align: right;
    align-items: center;
    justify-content: flex-end;
}

.estimates {
    /* uppercase */
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: underline;
    text-decoration-color: #FE2D3E;
    text-decoration-thickness: 2px;
    /* lower text decoration from text */
    text-underline-offset: 5px;
    /* animate dark blue to red */
    animation: text-decoration-color 1s ease-in alternate;
}

@keyframes text-decoration-color {
    0% {
        text-decoration-color: #1d2d54;
    }

    100% {
        text-decoration-color: #FE2D3E;
    }
}

.uppercase {
    text-transform: uppercase;
}