body {
    margin: 0;
    font-family: system-ui, Arial, sans-serif;
    background: url('assets/seamless-pattern-background-with-bright-sign-question-marks-on-blue-backdrop-feedback-brainstorm-opinion-reaction-questionnaire-learning-concept-business-office-wallpaper-vector.jpg');
    padding: 15px;
}

.container {
    min-height: 100vh;
    max-width: 700px;  /* mobile width */
    margin: auto;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.08);
}

header img {
    width: 100%;
    height: auto;
    max-height: 120px; /* adjust as needed */
    max-width: 600px;
    display: block;
}

h1 {
    font-size: 1.8rem;
    color: black;
}

h2 {
    font-size: 1.4rem;
    color: black;
}

h3 {
    font-size: 1.2rem;
    color: black;
}

p {
    font-size: 1rem;
}



.qBox {
    margin: 20px 0;
    padding: 15px;
    background: #fafafa;
    border-radius: 10px;
    border: 1px solid #ddd;

    /* remove constraints */
    min-height: unset;
    min-width: unset;
}

/* Question Title */
.qTitle {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Optional description */
.qDescription {
    font-size: 0.9rem;
    color: gray;
    margin-bottom: 10px;
}


.qOptionsRow {
    display: flex;
    justify-content: space-between;
}

.qOptionsRow input {
    display: none;
}

.qOptions {
    flex: 1;
    text-align: center;
    padding: 12px;
    margin: 0 4px;
    border-radius: 8px;
    background: #eee;
    border: 1px solid #ccc;
    cursor: pointer;
    font-size: 0.9rem;
    transition: transform 0.15s ease;
    box-shadow: 0.15s ease;
}

.navButtons {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
}

.navButtons button {
    flex: 1;
    padding: 12px;
    margin: 0 4px;
    border-radius: 8px;
    border: 1px solid #ccc;

    font-size: 0.9rem;
    text-align: center;

    cursor: pointer;
    transition: transform 0.15s ease;
    box-sizing: border-box;
}

.qOptionsRow input:checked + .qOptions {
    background: #4CAF50;
    color: white;
    border-color: #3e9442;
}

.qOptionsGreen { background-color: green; color: white; }
.qOptionsRed { background-color: red; color: white; }

.questions {
    font-size: medium;
    color: blue;
}

/* Hover effect */
.qOptions:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    background: #ddd; /* slightly lighter */
}

/* Pressed effect */
.qOptions:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    background: #ccc;
}

/* Submit button overrides to match "primary" color */
.submitCard {
    background: #eee;
    color: black;
    border-color: black;
}

.firstSubmitCard {
    background: #eee;
    color: black;
    border-color: black;
}

.firstSubmitCard:hover {
    background: #43a047;
    color: white;
}

.firstSubmitCard:active {
    background: #388e3c;
    color: white;
}

.submitCard:hover {
    background: #43a047;
    color: white;
}

.submitCard:active {
    background: #388e3c;
    color: white;
}

.backCard {
    background: #f0f0f0;
    color: black;
    border-color: #e0e0e0;
}

.backCard:hover {
    background: #e0e0e0;
}

.backCard:active {
    background: #d0d0d0;
}

/* PROGRESS BAR */
#progressWrapper {
    width: 100%;
    height: 10px;
    background: #eee;
    border-radius: 6px;
    margin-bottom: 20px;
    overflow: hidden;
}

#progressBar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #2196f3, #ffeb3b, #ff9800, #9c27b0, #f44336, #4caf50);
    transition: width 0.3s ease;
}

.careerCard {
    margin: 20px 0;
    padding: 15px;
    background: #fafafa;
    border-radius: 10px;
    border: 1px solid #ddd;
}

/* COMPONENTS */

header {
    font-size: large;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;

    border-radius: 8px;
    padding: 12px;
    margin-bottom: 12px;
}

footer {
    background-color: black;
    color: white;
    font-size: small;
    text-align: center;

    border-radius: 8px;
    margin-top: 12px;
    padding: 10px;
}


@media (max-width: 480px) {

    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.2rem; }
    body { background: linear-gradient(45deg, #00859C, #0089B0); }

    .qOptions {
        width: 100%;
        padding: 10px;
        margin: 0;
        box-sizing: border-box;

        font-size: 0.85rem;
    }

    .navButtons {
        flex-direction: column;
        margin-top: 32px;
        gap: 8px;
    }

    .navButtons button {
        width: 100%;
        margin: 0;
    }

    .qOptionsRow {
        flex-direction: column;
        gap: 8px;
    }

}


@media (prefers-color-scheme: dark) {
    body {
        background: linear-gradient(180deg, #121212 0%, #0e0e0e 100%);
    }

    .container {
        background: #1F1F1F;
    }


    h1 {
        color: white;
    }

    h2 {
        color: white;
    }

    h3 {
        color: white;
    }

    p {
        color: white;
    }

    .qBox {
        background: #292929;
        border-color: #464646;
    }

    /* Question Title */
    .qTitle {
        color: white;
    }

    /* Optional description */
    .qDescription {
        color: white;
    }

    .qOptions {
        color: white;
        background: #292929;
        border-color: #464646;
    }

    /* Hover effect */
    .qOptions:hover {
        background: #383838; /* slightly lighter */
    }

    /* Pressed effect */
    .qOptions:active {
        background: #383838;
    }

    /* Submit button overrides to match "primary" color */
    .submitCard {
        background: #292929;
        color: white;
        border-color: #464646;
    }

    .firstSubmitCard {
        background: #292929;
        color: white;
        border-color: #464646;
    }

    .firstSubmitCard:hover {
        background: #43a047;
        color: white;
    }

    .firstSubmitCard:active {
        background: #388e3c;
        color: white;
    }

    .submitCard:hover {
        background: #43a047;
        color: white;
    }

    .submitCard:active {
        background: #388e3c;
        color: white;
    }


    .backCard {
        background: #292929;
        color: white;
        border-color: #464646;
    }

    .backCard:hover {
        background: #383838;
    }

    .backCard:active {
        background: #383838;
    }

    /* PROGRESS BAR */
    #progressWrapper {
        background: #292929;
    }

    .careerCard {
        color: white;
        background: #292929;
        border-color: #464646;
    }

    /* COMPONENTS */
    header {
        background-color: #1F1F1F;
    }

    footer {
        background-color: #1F1F1F;
        color: white;
    }
}

/* 
Body bg: #141414
Container bg: #1F1F1F
Qbox BG: #292929
Borders: #464646
Hover: #383838
*/