/*
 * Styling for the ForgeEmber Archetype Quiz
 *
 * The quiz uses a dark teal background with warm gold text to reflect
 * ForgeEmber’s brand aesthetic. Buttons and interactive elements are
 * designed for good contrast and accessibility.
 */

/* Container holds the entire quiz */
.fe-quiz-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 1.5rem;
    border: none;
    border-radius: 16px;
    background: #003c4c; /* deep teal */
    color: #cba567;      /* warm gold text */
    font-family: sans-serif;
}

/* Question wrapper */
.fe-quiz-question {
    margin-bottom: 1.5rem;
}

/* Question headings */
.fe-quiz-question h3 {
    margin-bottom: 0.5rem;
    color: #cba567; /* gold headings */
}

/* Option labels */
.fe-quiz-question label {
    display: block;
    margin-bottom: 0.25rem;
    cursor: pointer;
    color: #cba567; /* gold for labels */
}

/* Radio buttons */
.fe-quiz-question input[type="radio"] {
    margin-right: 0.5rem;
    /* accent-color colours the radio indicator when supported */
    accent-color: #cba567;
}

/* Submit button */
.fe-quiz-submit {
    background-color: #cba567; /* gold button */
    color: #003c4c;           /* dark teal text */
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.fe-quiz-submit:hover {
    background-color: #d9b86c; /* lighter gold on hover */
}

/* Result container */
.fe-quiz-result {
    margin-top: 1.5rem;
    background-color: #004a5a; /* slightly lighter teal than container */
    border: 1px solid #005b6f;
    padding: 1rem;
    border-radius: 12px;
    color: #cba567; /* gold text inside result */
}

/* Result heading */
.fe-quiz-result h2 {
    margin-top: 0;
    color: #f0c87a; /* light gold for result heading */
}

.fe-quiz-result p {
    margin-bottom: 0.75rem;
}

/* Call-to-action links */
.fe-cta a {
    color: #cba567;
    text-decoration: underline;
}

.fe-cta a:hover {
    text-decoration: none;
}

/* Reset button */
.fe-quiz-reset {
    margin-top: 1rem;
    background-color: transparent;
    color: #cba567;
    border: 2px solid #cba567;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.fe-quiz-reset:hover {
    background-color: #cba567;
    color: #003c4c;
}