.exam-shell .stat-card{border:0;border-radius:18px;box-shadow:0 12px 30px rgba(15,23,42,.08)}
.exam-chip{display:inline-flex;gap:6px;align-items:center;border-radius:999px;background:#eef2ff;color:#3730a3;padding:5px 10px;font-size:12px;font-weight:700}
.exam-question-card{border:1px solid #e5e7eb;border-radius:16px;padding:16px;margin-bottom:14px;background:#fff}
.exam-muted{color:#64748b}.exam-print-signature{display:none}@media print{.no-print,.sidebar,.navbar,.topbar{display:none!important}.exam-print-signature{display:block!important}.container-fluid{width:100%!important}.card{box-shadow:none!important;border:1px solid #ddd!important}}

/* Parent exam modern UI */
.exam-parent-page{max-width:1180px}.exam-parent-hero,.exam-take-hero{position:relative;overflow:hidden;border-radius:28px;padding:28px;background:linear-gradient(135deg,#f8fafc 0%,#eef2ff 48%,#ecfeff 100%);border:1px solid rgba(99,102,241,.14);box-shadow:0 18px 45px rgba(15,23,42,.08)}
.exam-parent-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:18px}.exam-parent-hero:before,.exam-take-hero:before{content:"";position:absolute;width:220px;height:220px;border-radius:999px;background:rgba(59,130,246,.12);right:-70px;top:-80px}.exam-parent-hero-content,.exam-parent-hero-student,.exam-take-hero>div{position:relative;z-index:1}.exam-eyebrow{display:inline-flex;align-items:center;gap:8px;padding:7px 12px;border-radius:999px;background:rgba(255,255,255,.75);color:#334155;font-size:13px;font-weight:700;margin-bottom:12px}.exam-parent-hero h1,.exam-take-hero h1{font-size:clamp(28px,4vw,42px);font-weight:900;letter-spacing:-.04em;color:#0f172a;margin:0 0 8px}.exam-parent-hero p,.exam-take-hero p{max-width:720px;color:#64748b;margin:0;font-size:15px}.exam-parent-hero-student{display:flex;align-items:center;gap:12px;min-width:240px;background:rgba(255,255,255,.72);border:1px solid rgba(255,255,255,.9);border-radius:22px;padding:14px 16px;box-shadow:0 12px 28px rgba(15,23,42,.07)}.exam-avatar{width:46px;height:46px;border-radius:16px;display:grid;place-items:center;background:#fff;color:#2563eb}.exam-parent-hero-student strong,.exam-parent-hero-student span{display:block}.exam-parent-hero-student span{font-size:13px;color:#64748b}.exam-mini-stat{border:1px solid #e5e7eb;border-radius:22px;padding:18px;background:#fff;box-shadow:0 10px 26px rgba(15,23,42,.06)}.exam-mini-stat span{display:block;color:#64748b;font-size:13px;font-weight:700}.exam-mini-stat strong{font-size:30px;line-height:1;color:#0f172a}.exam-parent-card{height:100%;border:1px solid #e5e7eb;border-radius:26px;background:#fff;padding:22px;box-shadow:0 16px 38px rgba(15,23,42,.07);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.exam-parent-card:hover{transform:translateY(-3px);box-shadow:0 22px 50px rgba(15,23,42,.1);border-color:#c7d2fe}.exam-card-top{display:flex;justify-content:space-between;gap:12px}.exam-card-top h2{font-size:20px;font-weight:850;letter-spacing:-.02em;color:#111827;margin:10px 0 0}.exam-card-icon{width:48px;height:48px;border-radius:18px;display:grid;place-items:center;background:#f1f5f9;color:#2563eb;flex:0 0 auto}.exam-status-pill{display:inline-flex;align-items:center;border-radius:999px;padding:6px 11px;font-size:12px;font-weight:800}.exam-status-pill.open{background:#dbeafe;color:#1d4ed8}.exam-status-pill.done{background:#dcfce7;color:#15803d}.exam-status-pill.closed{background:#f1f5f9;color:#475569}.exam-description{min-height:48px;color:#475569;margin:16px 0}.exam-description.muted{color:#94a3b8}.exam-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.exam-info-grid>div{border:1px solid #eef2f7;background:#f8fafc;border-radius:18px;padding:12px}.exam-info-grid i{color:#6366f1;margin-right:6px}.exam-info-grid span{display:block;color:#64748b;font-size:12px;font-weight:700}.exam-info-grid strong{display:block;color:#0f172a;font-size:13px;margin-top:2px}.exam-card-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:18px}.exam-soft-note{color:#64748b;font-size:13px}.exam-empty-state{text-align:center;border:1px dashed #cbd5e1;border-radius:28px;background:#fff;padding:44px 22px;box-shadow:0 10px 28px rgba(15,23,42,.05)}.exam-empty-state div{width:64px;height:64px;margin:0 auto 14px;border-radius:22px;display:grid;place-items:center;background:#eef2ff;color:#4f46e5;font-size:26px}.exam-empty-state h2{font-weight:850;color:#0f172a}.exam-empty-state p{color:#64748b;margin:0 auto 18px;max-width:520px}.exam-back-link{display:inline-flex;align-items:center;gap:8px;text-decoration:none;font-weight:800;color:#475569;margin-bottom:12px}.exam-take-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:18px}.exam-take-summary{display:flex!important;flex-direction:column;gap:8px;min-width:230px}.exam-take-summary span{display:flex;align-items:center;gap:8px;border-radius:999px;padding:8px 12px;background:rgba(255,255,255,.78);font-size:13px;font-weight:750;color:#334155}.exam-result-banner,.exam-warning-banner{display:flex;align-items:center;gap:12px;border-radius:20px;padding:15px 17px;margin-bottom:18px}.exam-result-banner{background:#ecfdf5;border:1px solid #bbf7d0;color:#166534}.exam-warning-banner{background:#fffbeb;border:1px solid #fde68a;color:#92400e}.exam-result-banner strong,.exam-result-banner span{display:block}.parent-modern-question{border-radius:24px;border:1px solid #e5e7eb;padding:22px;box-shadow:0 12px 30px rgba(15,23,42,.06)}.question-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.question-number{display:inline-flex;align-items:center;border-radius:999px;background:#f8fafc;border:1px solid #e2e8f0;padding:6px 11px;font-weight:850;color:#0f172a;margin-right:8px}.question-head>strong{color:#4f46e5;background:#eef2ff;border-radius:999px;padding:7px 11px;font-size:13px}.question-text{font-size:16px;line-height:1.65;color:#111827;margin-bottom:16px}.question-answer-area{display:grid;gap:10px}.exam-option-card{display:flex;align-items:flex-start;gap:11px;border:1px solid #e5e7eb;border-radius:18px;padding:13px 14px;background:#fff;cursor:pointer;transition:border-color .2s ease,background .2s ease,transform .2s ease}.exam-option-card:hover{border-color:#a5b4fc;background:#f8fafc;transform:translateY(-1px)}.exam-option-card input{margin-top:5px}.option-letter{width:28px;height:28px;border-radius:10px;display:inline-grid;place-items:center;background:#eef2ff;color:#4338ca;font-weight:900;flex:0 0 auto}.exam-matching-row{display:grid;grid-template-columns:minmax(120px,1fr) 2fr;gap:10px;align-items:center}.match-left{border:1px solid #e5e7eb;background:#f8fafc;border-radius:16px;padding:11px 13px;font-weight:750;color:#334155}.exam-textarea,.exam-matching-row .form-control{border-radius:16px;border-color:#e5e7eb}.answer-feedback{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:14px;border-radius:16px;background:#f8fafc;border:1px solid #e5e7eb;padding:10px 12px;color:#475569}.answer-feedback i{color:#16a34a}.feedback-note{color:#64748b}.exam-submit-bar{position:sticky;bottom:14px;z-index:5;display:flex;gap:10px;align-items:center;justify-content:flex-end;border:1px solid rgba(226,232,240,.9);background:rgba(255,255,255,.9);backdrop-filter:blur(14px);border-radius:999px;padding:10px 12px;margin-top:20px;box-shadow:0 15px 40px rgba(15,23,42,.13)}
@media (max-width:768px){.exam-parent-hero,.exam-take-hero{display:block;padding:22px;border-radius:22px}.exam-parent-hero-student{margin-top:18px;min-width:0}.exam-info-grid{grid-template-columns:1fr}.exam-card-actions .btn{width:100%}.exam-take-summary{margin-top:16px;min-width:0}.question-head{align-items:flex-start;flex-direction:column}.exam-matching-row{grid-template-columns:1fr}.exam-submit-bar{position:static;border-radius:22px;flex-direction:column}.exam-submit-bar .btn{width:100%}}
@media print{.exam-parent-hero,.exam-take-hero,.exam-mini-stat,.exam-parent-card,.parent-modern-question,.exam-empty-state{box-shadow:none!important}.exam-submit-bar,.exam-back-link{display:none!important}}


/* Sınav durum ve başarı rozetleri */
.exam-status-pill.waiting{background:#f8fafc;color:#475569;border:1px solid #e2e8f0}.exam-status-pill.review{background:#fef3c7;color:#92400e;border:1px solid #fde68a}.exam-status-pill.expired{background:#fee2e2;color:#b91c1c;border:1px solid #fecaca}.exam-status-pill.done{background:#dcfce7;color:#15803d;border:1px solid #bbf7d0}.exam-status-pill.progress{background:#dbeafe;color:#1d4ed8;border:1px solid #bfdbfe}
.exam-score-wrap{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap}.exam-score-badge{display:inline-flex;align-items:center;border-radius:999px;padding:4px 9px;font-size:12px;font-weight:800;white-space:nowrap}.exam-score-badge.success{background:#dcfce7;color:#15803d}.exam-score-badge.good{background:#dbeafe;color:#1d4ed8}.exam-score-badge.develop{background:#fef3c7;color:#92400e}.exam-score-badge.support{background:#fee2e2;color:#b91c1c}.exam-score-badge.pending{background:#f1f5f9;color:#475569}
.exam-question-image{margin:12px 0 14px;border:1px solid #e5e7eb;border-radius:18px;background:#f8fafc;padding:10px;overflow:hidden}
.exam-question-image img{display:block;max-width:100%;height:auto;max-height:420px;object-fit:contain;margin:0 auto;border-radius:14px}
.exam-question-image.admin-preview img{max-height:220px}
.exam-question-image.admin-list img{max-height:180px}
.exam-question-image.parent-view{background:#fff;border-color:#e2e8f0}
.exam-question-image.parent-view img{max-height:460px}
@media print{.exam-question-image{break-inside:avoid;background:#fff!important}.exam-question-image img{max-height:360px}}


/* Exam timer and answer feedback */
.exam-timer-bar{
    display:flex;align-items:center;justify-content:space-between;gap:14px;
    border:1px solid #bfdbfe;background:#eff6ff;color:#1e3a8a;
    border-radius:22px;padding:14px 18px;margin:-4px 0 18px;
    box-shadow:0 12px 28px rgba(37,99,235,.08)
}
.exam-timer-bar>div{display:flex;align-items:center;gap:10px;font-weight:850}
.exam-timer-bar #examCountdown{font-size:26px;font-weight:950;letter-spacing:.02em}
.exam-timer-bar.danger{border-color:#fecaca;background:#fef2f2;color:#991b1b;animation:examTimerPulse 1.2s infinite}
@keyframes examTimerPulse{0%,100%{box-shadow:0 12px 28px rgba(220,38,38,.08)}50%{box-shadow:0 14px 34px rgba(220,38,38,.22)}}

.exam-option-card.correct-option,
.exam-matching-row.correct-option{
    border-color:#22c55e!important;background:#ecfdf5!important;color:#14532d!important
}
.exam-option-card.wrong-option,
.exam-matching-row.wrong-option{
    border-color:#ef4444!important;background:#fef2f2!important;color:#7f1d1d!important
}
.exam-option-card.correct-option .option-letter{
    background:#22c55e!important;color:#fff!important
}
.exam-option-card.wrong-option .option-letter{
    background:#ef4444!important;color:#fff!important
}
.correct-answer-note{
    margin-top:8px;padding:8px 11px;border-radius:14px;
    background:#dcfce7;color:#166534;font-weight:800;font-size:13px
}
.wrong-answer-field{border-color:#ef4444!important;background:#fff7f7!important}
.answer-feedback.is-correct{border-color:#bbf7d0;background:#f0fdf4;color:#166534}
.answer-feedback.is-wrong{border-color:#fecaca;background:#fef2f2;color:#991b1b}
@media (max-width:576px){
    .exam-timer-bar{align-items:flex-start;flex-direction:column}
    .exam-timer-bar #examCountdown{font-size:24px}
}
