/* ================================
   EduZone Professional UI Theme
   ================================ */

/* --- Font Imports --- */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@500;600;700&display=swap");

/* --- Root Variables for Theming --- */
:root {
  --color-primary: #1e3a8a;
  --color-primary-dark: #172554;
  --color-accent: #10b981;
  --color-bg: #f9fafb;
  --color-surface: #ffffff;
  --color-text: #111827;
  --color-text-muted: #6b7280;
  --color-border: #e5e7eb;
  --color-hover: #2563eb;
  --color-error: #ef4444;

  --font-primary: "Inter", sans-serif;
  --font-secondary: "Poppins", sans-serif;
}


/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}


/* --- Global Reset --- */
body {
  font-family: var(--font-primary);
  color: var(--color-text);
  background-color: var(--color-bg);
  margin: 0;
  padding: 0;
  line-height: 1.6;
}
 




  .exam-card {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  }

  .exam-header {
    background: #0d6efd;
    color: #fff;
    padding: 15px 20px;
    border-radius: 12px;
  }

  .exam-title {
    font-weight: 600;
    font-size: 1.5rem;
  }

  .exam-timer {
    font-size: 1.2rem;
    font-weight: 500;
  }

  .question-numbers-card {
    background: #fff3e0;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  }

  .question {
    padding: 20px;
    border-left: 5px solid #0d6efd;
    background-color: #f8f9fa;
    border-radius: 12px;
    display: none;
    transition: all 0.3s ease;
  }

  .question.active {
    display: block;
  }

  .qnum-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-weight: bold;
    transition: all 0.2s;
  }

  .qnum-btn.active {
    background-color: #0d6efd;
    color: #fff;
    border-color: #0d6efd;
  }

  .option-img {
    display: inline-block;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.2s;
  }

  .option-img img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    display: block;
  }

  .option-img input:checked + img {
    border: 2px solid #0d6efd;
    border-radius: 10px;
    transform: scale(1.05);
  }

  @media (max-width: 992px){
    .option-img img {
      width: 80px;
      height: 80px;
    }
  }