@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap");

:root {
  --siemens-font: "Open Sans", "Segoe UI", Roboto, Arial, sans-serif;
  --siemens-teal: #009999;
  --siemens-navy: #061426;
  --siemens-navy-dark: #020b16;
  --siemens-text: #0b1020;
}

body.siemens-theme {
  font-family: var(--siemens-font);
  background: radial-gradient(circle at top, rgba(0, 153, 153, 0.1), transparent 55%), linear-gradient(180deg, var(--siemens-navy) 0%, var(--siemens-navy-dark) 100%);
  color: var(--siemens-text);
}

.siemens-theme .card {
  border-radius: 22px;
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.siemens-heading {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 12px;
  text-align: center;
  margin-bottom: 20px;
}

.siemens-heading__logo {
  width: 64px;
  height: auto;
}

.siemens-title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: #1b2432;
}

.siemens-title span {
  color: var(--siemens-teal);
}

.siemens-theme label {
  font-weight: 600;
  color: #1f2937;
}

.siemens-theme .input,
.siemens-theme .select {
  font-family: var(--siemens-font);
  border-radius: 14px;
  border: 1px solid rgba(0, 153, 153, 0.35);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.siemens-theme .input:focus,
.siemens-theme .select:focus {
  border-color: var(--siemens-teal);
  box-shadow: 0 0 0 3px rgba(0, 153, 153, 0.25);
  outline: none;
}

.siemens-theme .btn {
  background: var(--siemens-teal);
  color: #0b1020;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.siemens-theme .btn:hover:not(:disabled) {
  background: #00b3b3;
  box-shadow: 0 6px 16px rgba(0, 153, 153, 0.35);
  transform: translateY(-1px);
}

.siemens-theme .btn:disabled {
  background: rgba(0, 153, 153, 0.35);
  color: rgba(11, 16, 32, 0.5);
}

.siemens-theme .leaderboard-item,
.siemens-theme .footer-actions,
.siemens-theme .pill {
  font-family: var(--siemens-font);
}

.siemens-theme .leaderboard-item {
  border-bottom: 1px dashed rgba(9, 14, 27, 0.1);
}

.siemens-theme .timer-bar {
  background: rgba(0, 153, 153, 0.15);
}

.siemens-theme .timer-fill {
  background: var(--siemens-teal);
}

.siemens-theme .timer-badge {
  background: #0b1020;
  color: #fff;
}

.siemens-theme .pill {
  background: rgba(0, 153, 153, 0.12);
  color: var(--siemens-text);
  font-weight: 600;
}

.siemens-theme .muted {
  color: rgba(17, 25, 40, 0.8);
}

.siemens-theme .card--quiz-header {
  margin-bottom: 16px;
}

.siemens-theme .quiz-topic {
  font-weight: 600;
  color: rgba(11, 16, 32, 0.85);
}

.siemens-theme .quiz-title {
  font-size: 22px;
  margin: 4px 0 0 0;
}

@media (max-width: 520px) {
  .siemens-title {
    font-size: 24px;
  }

  .siemens-heading__logo {
    width: 56px;
  }
}
