﻿:root {
  --app-bg: linear-gradient(180deg, #eef2ff 0%, #f8fafc 100%);
  --card-radius: 20px;
}

body {
  font-family: "Noto Sans Arabic", "Segoe UI", sans-serif;
}

.quiz-bg {
  min-height: 100vh;
  background: var(--app-bg);
}

.mobile-shell {
  width: min(100%, 480px);
  margin-inline: auto;
}

.quiz-card {
  background: #fff;
  border-radius: var(--card-radius);
  box-shadow: 0 10px 30px rgba(15, 23, 42, .08);
}

.quiz-title {
  font-size: 1.35rem;
  font-weight: 800;
}

.question-image {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 14px;
  background: #eef2f7;
}

.question-text {
  font-size: 1.1rem;
  line-height: 1.8;
  font-weight: 700;
}

.option-btn {
  text-align: right;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid #dbe2ea;
  background: #fff;
  font-size: 1rem;
  font-weight: 600;
}

.option-btn:hover,
.option-btn:focus {
  background: #e8f1ff;
  border-color: #6ea8fe;
}

.option-btn.selected {
  background: #dbeafe;
  border-color: #0d6efd;
  color: #0f172a;
}

.exam-progress {
  height: 10px;
  border-radius: 0;
}

.bottom-nav {
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(8px);
  border-top: 1px solid #e7ecf3;
}

.pb-nav {
  padding-bottom: 88px;
}

.score-circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(#0d6efd 0deg, #0d6efd 260deg, #dbe8ff 260deg 360deg);
}

.score-circle span {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: 800;
}

.result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  text-align: center;
}

@media (max-width: 480px) {
  .question-image {
    height: 200px;
  }
}
