/* Critical CSS for Header and Buttons to prevent FOUC (Flash of Unstyled Content) */
/* This file is loaded as a blocking resource to ensure the header looks correct immediately. */

.critical-header {
    position: fixed !important;
    width: 100% !important;
    z-index: 50 !important;
    transition: all 500ms !important;
}


.critical-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px 16px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-family: 'Spectral SC', serif !important;
    cursor: pointer !important;
    font-size: 18px !important;
    transition: opacity 0.3s !important;
}

.critical-btn-login {
    background-color: #ffffff !important;
    color: #000000 !important;
    box-shadow: inset 0px 0px 17px 0px #001b6b !important;
}

.critical-btn-signup {
    background: linear-gradient(to right,
            #0070b9,
            #01538a,
            #023150,
            #014979,
            #0070b9) !important;
    color: #ffffff !important;
    border: 1px solid #00aeef !important;
    box-shadow:
        inset 0px 0px 12px #00aeef,
        inset 0px 0px 18px #0070b9 !important;
}

/* Base header layout to prevent jumpiness */
.critical-header-container {
    max-width: 1600px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    height: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}