@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Sen:wght@400;700;800&display=swap');

:root
{
    --primary-color: rgb(0, 74, 167);
    --secondary-color: rgb(255,255,255);
    --text-color: rgb(255,255,255);
}

body {
    font-family: "Jost";
    width: 100%;
    min-height: 100vh;
    background-image: url(/static/theme/images/bg.jpg);
    background-size: cover;
    display: grid;
    grid-template-rows: auto auto auto 1fr;  /* First row: auto, second row: fills remaining space */
    padding: 50px 110px 70px 90px;
    overflow-x: hidden;
}
main {
    height: 100%;
    /*background-image: url(/static/theme/images/bg-2.jpg);*/
    background-size: 100% 100%;
    position: relative;
    padding: 0px 0 80px 0;
    /*min-height: 100vh;  !* Or whatever you want *!*/
}
.avatar
{
    position: absolute;
    left: 150px;
    bottom: 100px;
    pointer-events: none;
}


.step-bar
{
  background-color: rgb(255, 255, 255);
  width: 100%;
  height: 15px;
    display: none;
}
.step-bar .fill
{
    background-color: var(--primary-color);
    transition: 0.5s;
    width: 0;
    height: 100%;
}
.stats-bar
{
  background-color: rgb(255, 255, 255);
  width: 100%;
  height: 30px;
}

form
{
    display: grid;
    height: 100%;
    place-content: center;
    text-align: center;
    margin: 0 auto;
    width: 50%;
    padding: 50px 0;
}
.step-number
{
    font-size: 16px;
    color: var(--text-color);
    font-weight: bold;
    margin-bottom: 20px;

}
.quiz-question
{
    font-size: 52px;
    color: var(--text-color);
    font-weight: bold;
}
fieldset
{
    width: 75%;
    margin: 0 auto;
    margin-top: 30px;
    overflow: hidden;
}
.radio-field
{
    width: 100%;
    height: 95px;
    position: relative;
    display: grid;
    align-content: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 12px;
}
.radio-field input
{
    -webkit-appearance: none;
    position: absolute;
    left: 0;
    left: 0;
    height: 100%;
    width: 100%;
    border: solid 3px var(--text-color);
    background-color: var(--primary-color);
    border-radius: 10px;
    cursor: pointer;
    transition: 0.5s;
}
.radio-field input:checked
{
    box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.12);
    border-color: rgb(51, 178, 54);
}
.radio-field input:checked::before
{
    content: "";
    position: absolute;
    border-left: solid 5px rgb(51, 178, 54);
    border-bottom: solid 5px rgb(51, 178, 54);
    top: 43px;
    right: 50px;
    width: 25px;
    height: 15px;
    transform: rotate(-45deg);
    border-radius: 3px;
    opacity: 0;
    z-index: 1000;
}
.radio-field label
{

    font-size: 26px;
    color: var(--text-color);
    font-weight: bold;
    position: relative;
    z-index: 10;
    pointer-events: none;
}
.next-prev
{
    position: absolute;
    bottom: -34px;
    left: 0;
    display: flex;
    justify-content: space-between; 
    width: 100%;   
    flex-wrap: wrap;
}

.next-prev button
{
    border: solid 2px rgb(186, 186, 186);
    background-color: rgb(255, 255, 255);
    width: 225px;
    height: 76px;
    font-size: 18px;
    color: rgb(0, 0, 0);
    font-weight: bold;
}

.next-prev .next
{
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-color);
}


.next-prev button i
{
    position: relative;
    top: 3px;
}


#error div
{
    position: fixed;
    top: 20px;
    left: 20px;
}


    .game-stats-wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: linear-gradient(135deg, rgba(0, 74, 167, 0.9) 0%, rgba(0, 74, 167, 0.7) 100%);
        padding: 15px 30px;
        margin-bottom: 20px;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(10px);
    }

.user-info-container {
    display: flex;
    align-items: end;
    flex: 1;
    min-height: fit-content;  /* Or whatever height you want */
    align-content: end;
}

    .user-info {
        /*text-align: left;*/
        color: white;
        font-weight: 700;
        font-size: 16px;
        letter-spacing: 0.5px;
        margin: 0;
        width: 100%;
        /*padding: 0px 0px 0px 5px;*/
        padding-bottom: 5px;
        /*display: inline-block;*/
        text-align: right;
    }

    .jackpot-display-container {
        display: flex;
        align-items: center;
        /*justify-content: fl;*/
        flex: 1;
        padding-left: 20px;
        /*border-left: 2px solid rgba(255, 255, 255, 0.2);*/
    }

    .stats-display-container {
        display: flex;
        align-items: center;
        /*justify-content: fl;*/
        flex: 1;
        padding-left: 20px;
        border-left: 2px solid rgba(255, 255, 255, 0.2);
    }

    .stats-display-container .start {
        border-left: none !important;
    }

    #jackpot-display {
        color: white;
        font-weight: bold;
        font-size: 18px;
        text-align: center;
    }
        #score-display {
        color: white;
        font-weight: bold;
        font-size: 18px;
        text-align: center;
    }
        .stats-title-display {
        color: white;
        font-weight: bold;
        font-size: 14px;
        text-align: center;
    }
        .stats-value-display {
        color: white;
        font-weight: bold;
        font-size: 18px;
        text-align: center;
    }