    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      font-family: Arial, Helvetica, sans-serif;
      background: #f3f6fb;
      color: #1f2937;
    }

    .page {
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 24px;
    }

    .quiz-card {
      width: 100%;
      max-width: 760px;
      background: white;
      border-radius: 18px;
      padding: 32px;
      box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
    }

    .top-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      margin-bottom: 14px;
    }

    .app-title {
      margin: 0;
      font-size: 22px;
    }

    .counter {
      font-size: 14px;
      color: #64748b;
      white-space: nowrap;
    }

    .progress-track {
      width: 100%;
      height: 9px;
      background: #e5e7eb;
      border-radius: 20px;
      overflow: hidden;
      margin-bottom: 30px;
    }

    .progress-bar {
      height: 100%;
      width: 10%;
      background: #2563eb;
      transition: width 0.25s ease;
    }

    .question-number {
      color: #2563eb;
      font-size: 14px;
      font-weight: bold;
      margin-bottom: 10px;
    }

    .question-text {
      font-size: 25px;
      line-height: 1.35;
      margin: 0 0 26px;
    }

    .answers {
      display: grid;
      gap: 13px;
    }

    .answer {
      display: flex;
      align-items: center;
      gap: 14px;
      width: 100%;
      border: 2px solid #e5e7eb;
      border-radius: 12px;
      padding: 15px 17px;
      background: white;
      cursor: pointer;
      text-align: left;
      font-size: 17px;
      transition: 0.15s;
    }

    .answer:hover {
      border-color: #93c5fd;
      background: #f8fbff;
    }

    .answer.selected {
      border-color: #2563eb;
      background: #eff6ff;
    }

    .letter {
      flex: 0 0 34px;
      height: 34px;
      border-radius: 50%;
      background: #eaf0f8;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: bold;
    }

    .answer.selected .letter {
      background: #2563eb;
      color: white;
    }

    .button-row {
      display: flex;
      justify-content: flex-end;
      margin-top: 30px;
    }

    .primary-button {
      border: 0;
      border-radius: 10px;
      padding: 13px 27px;
      background: #2563eb;
      color: white;
      font-size: 16px;
      font-weight: bold;
      cursor: pointer;
    }

    .primary-button:disabled {
      background: #94a3b8;
      cursor: not-allowed;
    }

    .primary-button:not(:disabled):hover {
      background: #1d4ed8;
    }

    .result-screen {
      display: none;
      text-align: center;
    }

    .score-circle {
      width: 150px;
      height: 150px;
      margin: 25px auto;
      border-radius: 50%;
      background: #eff6ff;
      border: 10px solid #2563eb;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .score-big {
      font-size: 38px;
      font-weight: bold;
      color: #1d4ed8;
    }

    .score-label {
      color: #64748b;
      font-size: 14px;
    }

    .result-message {
      font-size: 20px;
      margin-bottom: 24px;
    }

    .review {
      text-align: left;
      margin-top: 26px;
    }

    .review-item {
      border-top: 1px solid #e5e7eb;
      padding: 14px 4px;
      line-height: 1.5;
    }

    .correct {
      color: #15803d;
      font-weight: bold;
    }

    .wrong {
      color: #b91c1c;
      font-weight: bold;
    }

    @media (max-width: 600px) {
      .quiz-card {
        padding: 22px;
      }

      .question-text {
        font-size: 21px;
      }

      .answer {
        font-size: 16px;
      }

.	quiz-options {
		display: flex;
		gap: 20px;
		align-items: end;
		margin-bottom: 30px;
	}
	  
    }

.quiz-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
    margin-bottom: 20px;
}

.selection-group {
    display: flex;
    flex-direction: column;
}

.selection-group label {
    margin-bottom: 5px;
}

.selection-group select,
.selection-group button {
    width: 100%;
    box-sizing: border-box;
}

	
	.question-diagram {
		width: 100%;
		margin: 20px 0 25px 0;
		text-align: center;
	}

	.question-diagram svg {
		width: 100%;
		max-width: 600px;
		height: auto;
	}	
	
.loading-overlay {
    display: none;

    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(255, 255, 255, 0.92);

    z-index: 9999;

    align-items: center;
    justify-content: center;
}

.loading-box {
    text-align: center;
    padding: 40px;
}

.loading-box h2 {
    margin-top: 20px;
    margin-bottom: 10px;
}

.loading-box p {
    line-height: 1.6;
}

.loading-message {
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.7;
}


/* Spinner */

.spinner {
    width: 50px;
    height: 50px;

    border: 6px solid #ddd;
    border-top: 6px solid #333;

    border-radius: 50%;

    margin: auto;

    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}	