body {
    font-family: 'Poppins', sans-serif;
    background-color: #c1e3f7;
    background-image: url('https://www.transparenttextures.com/patterns/light-paper-fibers.png');
}

.eval-container { max-width: 800px; margin: 40px auto; }

.card {
    border: none;
    border-radius: 24px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    background: #fdfdfd;
}

.card-header {
    /* El color se inyectará dinámicamente desde el PHP */
    color: white;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    position: relative;
    overflow: hidden;
}

.star { position: absolute; color: #ffd700; opacity: 0.3; }
.star.s1 { top: 10%; left: 5%; font-size: 1.5rem; }
.star.s2 { top: 60%; left: 15%; font-size: 1rem; }
.star.s3 { top: 25%; right: 5%; font-size: 2rem; }
.star.s4 { top: 70%; right: 20%; font-size: 1.2rem; }

.progress-bar {
    background: linear-gradient(90deg, #6be896, #3b82f6);
    transition: width 0.5s ease-in-out;
}

.option-container { display: flex; align-items: center; margin-bottom: 10px; }

.option-btn {
    flex-grow: 1;
    border-radius: 12px;
    transition: all 0.3s ease;
    border-width: 2px;
    border-style: solid;
    background-color: white;
    font-weight: 500;
    text-align: left;
    padding: 12px 20px;
}

.option-btn:hover {
    transform: scale(1.02);
    /* El border-color se inyectará dinámicamente */
}

.option-icon { margin-left: 15px; font-size: 1.5rem; opacity: 0.7; }

/* Colores para cada opción */
.option-btn-a { border-color: #8e44ad; }
.option-btn-b { border-color: #27ae60; }
.option-btn-c { border-color: #f39c12; }
.option-btn-d { border-color: #c0392b; }

.feedback-zone { min-height: 24px; font-style: italic; font-weight: 500; }

.question-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.meta-item { display: flex; align-items: center; font-weight: 600; color: #555; }
.meta-item i { margin-right: 8px; /* El color se inyectará dinámicamente */ }

.difficulty-badge { font-size: 0.8rem; padding: 0.3em 0.7em; }
.difficulty-facil { background-color: #d1e7dd; color: #0f5132; }
.difficulty-media { background-color: #fff3cd; color: #664d03; }
.difficulty-dificil { background-color: #f8d7da; color: #842029; font-weight: 500; }

.correct-answer {
    background-color: #d1e7dd !important;
    border-color: #198754 !important;
    color: #0a3622 !important;
    box-shadow: 0 0 12px rgba(25, 135, 84, 0.4);
}

.incorrect-answer {
    background-color: #f8d7da !important;
    border-color: #dc3545 !important;
    color: #58151c !important;
    box-shadow: 0 0 12px rgba(220, 53, 69, 0.4);
}

.pause-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.9);
    z-index: 10;
    display: none;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 12px;
}

.card-body { position: relative; }

.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
}

.modal-header {
    border-bottom: none;
    padding: 2rem 2rem 0.5rem;
}

.modal-title {
    font-weight: 700;
    color: #4a69bd;
}

.modal-body {
    padding: 1rem 2rem 2rem;
}

.modal-body p {
    font-size: 1.1rem;
    color: #555;
}

.modal-body .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}
