body {
    font-family: 'Arial', Tahoma, Verdana, sans-serif;
    background-color: #121212;
    margin: 0;
    padding: 0;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.form-container {
    background-color: #212121CC;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.25);
    width: 90%;
    max-width: 600px;
    padding: 40px;
    box-sizing: border-box;
    text-align: center;
}

#user-info-form {
    margin-top: 40px;
}

.form-container h2 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 1.4rem;
    line-height: 1.4;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #fff;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    background: #323232CC;
    color: #fff;
    border: 1px solid #323232;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #e6c068;
}

/* Consent checkbox styles */
.consent-checkbox {
    display: flex;
    align-items: flex-start;
    margin: 15px 0;
    gap: 10px;
}

.consent-checkbox input[type="checkbox"] {
    width: 20px;
    margin-top: 3px;
    cursor: pointer;
}

.consent-checkbox label {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #fff;
    cursor: pointer;
    margin: 0;
}

.consent-checkbox a {
    color: #e6c068;
    text-decoration: none;
    transition: color 0.3s ease;
}

.consent-checkbox a:hover {
    text-decoration: underline;
}

.start-quiz-btn {
    background-color: #e6c068;
    color: #000;
    border: none;
    border-radius: 6px;
    padding: 12px 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    margin-top: 10px;
}

.start-quiz-btn:hover {
    background-color: #C4A046;
}

.quiz-container {
    background-color: #121212CC;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.25);
    width: 90%;
    max-width: 600px;
    padding: 30px;
    box-sizing: border-box;
}

.progress-container {
    width: 100%;
    height: 8px;
    background-color: #0a0a0a;
    border-radius: 4px;
    margin-bottom: 30px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background-color: #e6c068;
    transition: width 0.3s ease;
    border-radius: 4px;
}

.question-container {
    margin-bottom: 20px;
}

h2 {
    color: #fff;
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.4rem;
    line-height: 1.4;
}

h3 {
    color: #fff;
    text-align: center;
    margin-bottom: 25px;
    font-size: 1rem;
    line-height: 1.4;
}

h4 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 1.2rem;
    line-height: 1.4;
    white-space: pre-line;
}

.options-container {
    margin-bottom: 25px;
}

.option {
    display: block;
    background-color: #212121;
    border: 2px solid #323232;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    line-height: 1.4;
}

.option:hover {
    background-color: #323232;
    border-color: #b39035;
}

.option.selected {
    background-color: #424242;
    border-color: #e6c068;
    color: #fff;
}

.button-container {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.next-btn, .back-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.next-btn {
    background-color: #e6c068;
    color: #000;
    margin-left: auto;
}

.back-btn {
    background-color: #212121 !important;
    color: #fff;
    border: none;
}

.back-btn:hover {
    background: #323232 !important;
}

.next-btn:disabled {
    color: #323232;
    cursor: not-allowed;
    opacity: 0.7;
}

.back-btn:disabled {
    color: #7a7a7a;
    cursor: not-allowed;
    opacity: 0.7;
}

.next-btn:hover {
    background: #e6c068 !important;
}

.next-btn:not(:disabled):hover {
    background-color: #e6c068;
    color: #000;
}

.next-btn:not(:disabled):active {
    background-color: #e6c068;
    color: #000;
}

.next-btn:focus {
    background-color: #e6c068;
    color: #000;
    outline: none;
}

.back-button:hover {
    background: #212121 !important;
    color: #fff;
}

.back-btn:not(:disabled):hover {
    background-color: #212121;
    color: #fff;
}

.back-btn:not(:disabled):active {
    background-color: #212121;
    color: #fff;
}

.back-btn:focus {
    background-color: #212121;
    color: #fff;
    outline: none;
}

.result-container {
    text-align: center;
    padding: 30px 0;
}

.result-container h2 {
    color: #fff;
    margin-bottom: 15px;
}

.result-container p {
    color: #fff;
    font-size: 1.1rem;
    line-height: 1.6;
}

.loading-container {
    text-align: center;
    padding: 40px 20px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    border: 5px solid #212121;
    border-top: 5px solid #e6c068;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-container p {
    color: #fff;
    font-size: 1.1rem;
    margin-top: 15px;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .quiz-container, .form-container {
        width: 100%;
        padding: 40px 15px;
    }
    
    h2 {
        font-size: 20px !important;
    }
    
    .option {
        padding: 12px;
        font-size: 0.95rem;
    }
}