body {
    font-family: "Montserrat", sans-serif;
}

/* Quiz container layout */
#quiz-dynamic-container {
    display: flex;
    flex-direction: column;
}

#optionsContainer {
    flex-grow: 1;
}

.form-radio:checked {
    background-color: #FF4500;
    border-color: #FF4500;
    background-image: url(https://lh3.googleusercontent.com/aida-public/AB6AXuCP6MTjAfG3e0TvGj4xbibDvx046LRyXZzQaJDD8ZtL9fY0tEknRuPNh_7GaJ-x02UksAn_MlUVfUYZGmmAiCQ8v4AJAfkKyhARXjHAs3Rk6YTO-a_WvOJF5Ewbr9CPs9f_8SkuxBG1ixmtU6bSYJDUNUs0fALng662PWG2jLdxuWyloI9mFmHWxdk8z0_18iCflAQVdHa6QNQRl0cxKeRlIqNbs01Dteb4ynyLQWYfp8d_Hkc5ZhBiTrjzEz_7qUT0SZmJwVJJQlM);
}

/* Quiz Options */
.option {
    width: 100%;
    padding: 16px 20px;
    background: rgba(245, 245, 245, 0.5);
    border: 2px solid transparent;
    border-radius: 12px;
    font-size: 15px;
    color: #111827;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
}

.dark .option {
    background: rgba(55, 65, 81, 0.5);
    color: #F9FAFB;
}

.option:hover {
    border-color: #FF4500;
}

.option.selected {
    background: #FF4500;
    color: white;
    border-color: #FF4500;
}

/* Multiple Select */
.option-multiple {
    display: flex;
    align-items: center;
    gap: 12px;
}

.checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid #c4c4c4;
    border-radius: 6px;
    flex-shrink: 0;
    transition: all 0.2s ease;
    position: relative;
}

.option-multiple:hover .checkbox {
    border-color: #FF4500;
}

.option-multiple.selected .checkbox {
    background: white;
    border-color: white;
}

.option-multiple.selected .checkbox::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff4500' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.selection-hint {
    font-size: 13px;
    color: #9CA3AF;
    margin-top: 8px;
}

/* Input Fields */
.input-wrapper {
    width: 100%;
}

.quiz-input {
    width: 100%;
    height: 56px;
    padding: 0 20px;
    background: rgba(245, 245, 245, 0.5);
    border: 2px solid transparent;
    border-radius: 12px;
    font-size: 15px;
    color: #111827;
    transition: all 0.2s ease;
    outline: none;
}

.dark .quiz-input {
    background: rgba(55, 65, 81, 0.5);
    color: #F9FAFB;
}

.quiz-input::placeholder {
    color: #9CA3AF;
}

.quiz-input:focus {
    border-color: #FF4500;
    background: white;
}

.dark .quiz-input:focus {
    background: #374151;
}

.quiz-input.error {
    border-color: #EF4444;
}

.input-error {
    font-size: 13px;
    color: #EF4444;
    margin-top: 8px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.input-error.visible {
    opacity: 1;
}
