<style>
:root {
    --bg-dark: #121212;
    --card-bg: #1e1e1e;
    --text-main: #e0e0e0;
    --text-muted: #b0b0b0;
    --primary: #3498db;
    --success: #27ae60;
    --error: #c0392b;
    --border: #333;
}

body.dark-theme {
    background-color: var(--bg-dark);
    color: var(--text-main);
    margin: 0;
    padding: 20px;
    font-family: 'Inter', system-ui, sans-serif;
}

.post-quiz {
    max-width: 650px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.quiz-header h2 { margin-top: 0; color: #fff; }
.quiz-header p { color: var(--text-muted); line-height: 1.6; }

.question-card {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.question-text {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
}

.options-list {
    list-style: none;
    padding: 0;
}

.option-item {
    background: #252525;
    border: 2px solid var(--border);
    padding: 12px 16px;
    margin-bottom: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.option-item:hover {
    border-color: var(--primary);
    background: #2a2a2a;
}

/* Estados */
.option-item.correct {
    background: rgba(39, 174, 96, 0.2);
    border-color: var(--success);
    color: #fff;
    cursor: default;
}

.option-item.incorrect {
    background: rgba(192, 57, 43, 0.2);
    border-color: var(--error);
    color: #fff;
    cursor: default;
}

.option-item.disabled {
    opacity: 0.5;
    cursor: default;
}

.explanation {
    margin-top: 1rem;
    padding: 1rem;
    background: #151515;
    border-left: 4px solid var(--primary);
    font-size: 0.9rem;
    display: none; /* Controlado por JS */
}

.quiz-results {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(145deg, #2c3e50, #000);
    border-radius: 10px;
    text-align: center;
}
.option-item {
  display: flex;
  flex-direction: column; /* Para que el feedback quede debajo del texto de la opción */
  justify-content: center;
  background: #2a2a2a;
  border: 2px solid #444;
  padding: 12px 16px;
  margin-bottom: 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s;
  min-height: 50px;
}

/* Evitar que el feedback se vea apretado */
.option-item div {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}
