.oem-exam-list { display: flex; flex-wrap: wrap; gap: 16px; }
.oem-exam-card { border: 1px solid #ddd; border-radius: 8px; padding: 18px; width: 280px; background: #fff; }
.oem-exam-card h3 { margin-top: 0; }
.oem-btn { background: #1a3c6e; color: #fff; border: none; padding: 10px 18px; border-radius: 5px; cursor: pointer; font-size: 14px; }
.oem-btn:hover { background: #142f57; }
.oem-btn:disabled { opacity: .6; cursor: not-allowed; }

.oem-exam-runner { border: 1px solid #ddd; border-radius: 8px; padding: 20px; margin-top: 20px; background: #fff; user-select: none; -webkit-user-select: none; }
.oem-exam-runner textarea, .oem-exam-runner input { user-select: text; -webkit-user-select: text; }
.oem-timer-bar { position: sticky; top: 0; background: #fff8e1; border: 1px solid #f0c14b; padding: 10px 16px; border-radius: 6px; margin-bottom: 20px; display: flex; justify-content: space-between; align-items: center; font-weight: 600; z-index: 10; }
.oem-timer-bar.oem-timer-warning { background: #fdeaea; border-color: #d63638; color: #8a1f1f; }
.oem-integrity-banner { background: #fdeaea; border: 1px solid #d63638; color: #8a1f1f; padding: 10px 14px; border-radius: 6px; margin-bottom: 16px; font-size: 13px; font-weight: 600; }
.oem-integrity-banner.oem-integrity-warning { background: #fff8e1; border-color: #f0c14b; color: #7a5b00; }

.oem-question-block { border-bottom: 1px solid #eee; padding: 18px 0; }
.oem-question-block .oem-q-number { color: #1a3c6e; font-weight: 700; }
.oem-q-options label { display: block; margin: 6px 0; cursor: pointer; }
.oem-q-options input { margin-right: 8px; }
.oem-q-text-answer { width: 100%; max-width: 600px; padding: 8px; }
.oem-save-status { font-size: 12px; color: #777; margin-left: 10px; }

.oem-results-table { width: 100%; border-collapse: collapse; margin-top: 16px; }
.oem-results-table th, .oem-results-table td { border: 1px solid #ddd; padding: 10px; text-align: left; }
.oem-pass { color: #14602c; font-weight: 700; }
.oem-fail { color: #8a1f1f; font-weight: 700; }
.oem-muted { color: #888; font-size: 13px; }

.oem-cert-verify-form { margin: 16px 0; display: flex; gap: 8px; }

/* ---------- OTP login ---------- */
.oem-otp-login { max-width: 380px; background: #fff; border: 1px solid #ddd; border-radius: 10px; padding: 26px; }
.oem-otp-field { margin-bottom: 14px; }
.oem-otp-field label { display: block; font-size: 12.5px; font-weight: 700; margin-bottom: 6px; }
.oem-otp-field input { width: 100%; padding: 10px 12px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; box-sizing: border-box; }
.oem-otp-hint { font-size: 12.5px; color: #666; margin-bottom: 14px; }
.oem-otp-message { font-size: 12.5px; color: #17915b; min-height: 16px; margin-bottom: 10px; }
.oem-otp-message.oem-otp-error { color: #d43f3f; }
.oem-link-plain { background: none; border: none; color: #1a3c6e; text-decoration: underline; cursor: pointer; font-size: 12.5px; padding: 8px 0 0; display: block; width: 100%; text-align: center; }
.oem-grade-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; padding: 3px 8px; border-radius: 6px; background: #eef0fb; color: #22306b; font-weight: 800; font-size: 12.5px; }

/* ---------- Student dashboard ---------- */
.oem-student-dashboard h3 { margin-top: 30px; }
.oem-dash-welcome { border-bottom: 1px solid #eee; padding-bottom: 14px; margin-bottom: 4px; }

/* ---------- Admit card link ---------- */
.oem-admit-link { display: inline-block; margin-top: 8px; font-size: 12.5px; }
