@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;800&display=swap');

.neuman-wrapper {
    all: initial; font-family: 'Poppins', sans-serif; display: block;
    background: linear-gradient(135deg, #001122 0%, #002d5c 50%, #004d99 100%);
    padding: 30px; border-radius: 35px; box-sizing: border-box; color: white;
    min-height: 650px; position: relative; overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.5);
}

.neuman-wrapper * { box-sizing: border-box; }

/* Dashboard */
.quiz-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 25px; }
.quiz-card-item {
    background: white; border-radius: 25px; overflow: hidden; cursor: pointer;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); border: 4px solid white;
}
.quiz-card-item:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.4); }
.status-pending { filter: grayscale(1); opacity: 0.5; }
.status-completed { border-color: #2ecc71; box-shadow: 0 0 20px rgba(46, 204, 113, 0.4); }
.status-completed::after {
    content: '✅'; position: absolute; top: 12px; right: 12px;
    background: white; border-radius: 50%; width: 35px; height: 35px;
    display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.card-thumb { width: 100%; height: 140px; object-fit: cover; }
.card-info { padding: 15px; text-align: center; }
.card-info h3 { color: #003d82; font-size: 1.1rem; margin: 0; font-weight: 800; }

/* Quiz Player Header */
.quiz-top-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }
.progress-pill { background: #ffcc00; color: #003d82; padding: 10px 25px; border-radius: 50px; font-weight: 900; font-size: 1.2rem; }
.btn-back { background: rgba(255,255,255,0.1); border: 2px solid white; color: white; padding: 10px 20px; border-radius: 15px; cursor: pointer; font-weight: 700; }

#quiz-body { display: flex; flex-direction: column; gap: 30px; }
@media (min-width: 850px) { 
    #quiz-body { flex-direction: row; align-items: center; } 
    .q-visual-side { flex: 1.1; } 
    .q-options-side { flex: 0.9; } 
}

.q-card { background: white; color: #003d82; padding: 25px; border-radius: 20px; border-left: 12px solid #ffcc00; margin-bottom: 20px; }
.q-card p { font-size: 1.6rem; font-weight: 800; line-height: 1.2; }
.q-img-frame { width: 100%; height: 320px; border-radius: 20px; overflow: hidden; border: 6px solid white; box-shadow: 0 15px 40px rgba(0,0,0,0.4); }
.q-img-frame img { width: 100%; height: 100%; object-fit: cover; }

/* Botões A, B, C */
.opt-btn {
    background: white; color: #333; padding: 12px 20px; border-radius: 60px;
    margin-bottom: 15px; cursor: pointer; font-weight: 700; font-size: 1.2rem;
    transition: 0.3s; display: flex; align-items: center; gap: 15px; box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border: 2px solid transparent;
}
.opt-btn:hover { transform: translateX(12px); border-color: #ffcc00; }
.opt-letter {
    background: #ffcc00; color: #003d82; width: 45px; height: 45px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 1.3rem; flex-shrink: 0;
}

/* Cores de Feedback */
.opt-correct { background: #2ecc71 !important; color: white !important; transform: scale(1.05); }
.opt-correct .opt-letter { background: white; color: #2ecc71; }
.opt-error { background: #ff4757 !important; color: white !important; animation: shake 0.4s; }
.opt-error .opt-letter { background: white; color: #ff4757; }
.opt-reveal-correct { background: #d4edda !important; color: #155724 !important; border-color: #28a745 !important; transform: scale(1.02); }
.opt-reveal-correct .opt-letter { background: #28a745 !important; color: white !important; }

/* Feedback Popups */
.pop-msg {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0);
    padding: 40px 80px; border-radius: 100px; font-size: 3.5rem; font-weight: 900;
    z-index: 1000; border: 12px solid white; pointer-events: none;
    transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.5); box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}
.pop-correct { background: #2ecc71; color: white; }
.pop-incorrect { background: #ff4757; color: white; }
.pop-msg.show { transform: translate(-50%, -50%) scale(1) rotate(-5deg); }

.quiz-locked { pointer-events: none; }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-12px); } 75% { transform: translateX(12px); } }