/* Kenne deine Rechte Quiz Styles */

#vue-rechte-app {
    max-width: 1024px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Loading Screen */
.loading-screen {
    text-align: center;
    padding: 60px 20px;
}

.loading-container {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f8f9fa;
    border-left-color: #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-text {
    font-size: 18px;
    color: #6c757d;
    margin: 0;
    font-weight: 400;
}

/* Typography */
h1 {
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 10px;
    color: #333;
    line-height: 1.2;
}

.elementor-kit-6 h2 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 0;
    border-bottom: 0;
    color: #333;
}

.quiz-subtitle-row {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.quiz-subtitle {
    font-size: 16px;
    color: #537BFF;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.quiz-selection {
    font-size: 16px;
    color: #6c757d;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Selection Screen */
.selection-screen {
    text-align: left;
}

.selection-group {
    margin-bottom: 0;
}

.radio-group {
    display: flex;
    flex-direction: row;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 18px;
    border-radius: 0;
    background-color: transparent;
    border: none;
    transition: all 0.3s ease;
    min-width: 0;
    padding-right: 1.5rem;
}

.radio-option:hover {
    background-color: transparent;
}

.radio-option.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #f8f9fa;
}

.radio-option.disabled:hover {
    background-color: transparent;
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 24px;
    height: 24px;
    border: 2px solid #6c757d;
    border-radius: 50%;
    margin-right: 15px;
    position: relative;
    flex-shrink: 0;
}

.radio-option input[type="radio"]:checked + .radio-custom {
    border-color: #007bff;
    background-color: #007bff;
}

.radio-option input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background-color: white;
    border-radius: 50%;
}

/* Question Screen */
.question-screen {
    text-align: left;
}

.question-container {
    margin-bottom: 0;
}

.elementor-kit-6 h2.question-text {
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 30px;
    color: black;
    font-size: 35px;
}

.options-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.elementor-kit-6 label {
    font-family: "Fraunces", serif;
    font-weight: 200;
}

.elementor-kit-6 .option-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    padding: 10px 0;
    border: none;
    background-color: transparent;
    transition: all 0.3s ease;
    vertical-align: middle;
}

.option-label:hover {
    background-color: transparent;
}

.option-label input[type="radio"] {
    display: none;
}

.option-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #6c757d;
    border-radius: 50%;
    margin-right: 15px;
    flex-shrink: 0;
    position: relative;
    align-self: center;
}

.option-label input[type="radio"]:checked + .option-custom {
    border-color: #007bff;
    background-color: #007bff;
}

.option-label input[type="radio"]:checked + .option-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background-color: white;
    border-radius: 50%;
}

.option-prefix {
    font-family: 'Fraunces', serif;
    font-weight: 200;
    font-size: 30px;
    line-height: 35px;
    color: black;
    margin-right: 10px;
    flex-shrink: 0;
}

.option-text {
    font-family: 'Fraunces', serif;
    font-weight: 200;
    font-size: 30px;
    line-height: 35px;
    color: black;
}

/* Answer Display */
.answer-display {
    margin-top: 30px;
    background-color: #f8f9fa;
}

.answer-info {
    padding: 20px;
}

.answer-info.correct {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
}

.answer-info.incorrect {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
}

.result-text {
    margin: 0;
    font-size: 24px;
}

.result-text.correct {
    color: #155724;
}

.result-text.incorrect {
    color: #721c24;
}

.detailed-answer {
    padding: 20px;
    background-color: white;
}

.detailed-answer p {
    margin-bottom: 10px;
    line-height: 1.5;
}

.detailed-answer p:last-child {
    margin-bottom: 0;
}

/* Completion Screen */
.completion-screen {
    text-align: left;
}

.completion-container {
    margin-bottom: 30px;
}

.completion-container h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
}

.completion-container p {
    line-height: 1.6;
    margin-bottom: 15px;
    color: #333;
}

.completion-container p:last-child {
    margin-bottom: 0;
}

.completion-container .highlight {
    color: #007bff;
    font-weight: 500;
}

/* Buttons */
.button-container {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 40px;
}

.elementor-kit-6 button, .elementor-kit-6 input[type="button"], .elementor-kit-6 input[type="submit"], .elementor-kit-6 .elementor-button {
    font-size: 25px;
}

.btn {
    background: #DEE3D9 0% 0% no-repeat padding-box;
    border-radius: 100px;
    border: none;
    padding: 0.5rem 1.5rem;
    cursor: pointer;
    color: #000000;
    font-family: 'Euclid Mono', 'Vanguard', monospace;
    font-size: 25px;
}

.btn:disabled {
    opacity: .5;
    cursor: not-allowed;
    color: #000000;
}

.elementor-kit-6 .btn-primary {
    background: #FFAEA7 0% 0% no-repeat padding-box !important;
    color: #000000;
}

.elementor-kit-6 .btn-primary:hover:not(:disabled) {
    background: #F2968F 0% 0% no-repeat padding-box !important;
}

.elementor-kit-6 .btn-secondary {
    background: #DEE3D9 0% 0% no-repeat padding-box;
    color: #000000;
}

.elementor-kit-6 .btn-secondary:hover:not(:disabled) {
    background: #c8d1c0 0% 0% no-repeat padding-box;
}

.elementor-kit-6 .btn-answer {
    background: #F2968F 0% 0% no-repeat padding-box;
    color: #000000;
}

.elementor-kit-6 .btn-answer:hover:not(:disabled) {
    background: #c8d1c0 0% 0% no-repeat padding-box;
}

/* Responsive Design */
@media (max-width: 768px) {
    #vue-rechte-app {
        padding: 20px 15px;
    }
    
    h1 {
        font-size: 36px;
    }
    
    .question-container {
        padding: 20px;
    }
    
    .question-text {
        font-size: 18px;
    }
    
    .option-label {
        padding: 15px;
    }
    
    .button-container {
        flex-direction: column-reverse;
    }
    
    .btn {
        width: 100%;
    }
}