body,
html {
  height: 100%;
}

.footer-section {
  background-color: black;
  color: #fefefe;
  padding-top: 30px;
  padding-bottom: 90px;
  margin-top: 10px;
}

.body-section {
  min-height: 100%;
  padding-top: 50px;
}

.question-text {
  font-weight: 500;
  font-size: 1.5rem;
}

.bolded-extra {
  font-weight: 900;
}

.default-question-row {
  border-color: rgba(118, 118, 118, 0.3);
  border-style: solid;
  border-width: 4px;
  border-radius: 8px;
}

.exam-mode-selected-answer-row {
  border-color: #000000;
  border-style: solid;
  border-width: 4px;
  border-radius: 8px;
}

.correct-question-row {
  border-color: #56cc9d;
  background-color: rgba(120, 224, 143, 0.3);
  border-style: solid;
  border-width: 7px;
  border-radius: 8px;
}

.margin-r-3px {
  margin-right: 3px;
}

.question-row {
  cursor: pointer;
}

.flip-card {
  background-color: white;
  border-color: #767676;
  border-style: solid;
  border-width: 3px;
  padding-top: 50px;
  padding-bottom: 50px;
  border-radius: 8px;
}

.centered-image {
  margin: auto;
  display: block;
}

.question-button-text {
  font-weight: bold;
  font-size: 1.5rem;
}

.description-text {
  font-size: 1.25rem;
  font-weight: 600;
}

.text-xsm {
  font-size: 0.5rem;
}

.text-sm {
  font-size: 0.75rem;
}

.progress {
  background-color: #767676;
}

.radio-text {
  font-weight: 400;
  font-size: 1.125rem;
}

.explanation {
  border-color: rgba(118, 118, 118, 0.3);
  border-style: solid;
  border-width: 4px;
  border-radius: 8px;
  background-color: white;
  margin-bottom: 10px;
  padding: 20px;
}

.explanation-hide {
  display: none;
  visibility: hidden;
}

.hide-content {
  display: none;
  visibility: hidden;
}

.loading-spinner {
  margin-left: 7px;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 600;
  margin-left: 5px;
  font-style: italic;
}

.bug-button {
  margin-left: 10px;
}

.smartbanner {
  z-index: 1000;
  color: #333;
  padding: 10px;
  border-bottom: 3px solid #ccc;
}

.one-time-payment {
  font-weight: 900;
}

.bug-paragraph {
  cursor: pointer;
  color: #007bff;
  text-decoration: underline;
}

.cursor-pointer {
  cursor: pointer;
}

.next-text {
  padding-right: 10px;
}

.legal-disclaimer {
  font-size: 12px;
}

.check-list {
  list-style: none;
  font-size: 16px;
  padding: 0;
  margin: 0;
}

.check-list li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.check-list i {
  margin-right: 1rem;
}

.front-list-icon {
  margin-right: 1rem;
  font-size: 20px;
}

/* # */

img[src*="#styled-markdown-image"] {
  width: 100%;
}

.btn-soft {
  border-radius: 12px;
  font-weight: 900;
  padding: 10px 12px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: rgba(0, 0, 0, 0.04);
}

/* Timer pill */
#timer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 220px;
  padding: 10px 18px;
  margin: 12px auto 0 auto;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.06);
  font-weight: 900;
  letter-spacing: 0.6px;
  font-size: 1.55rem;
  color: rgba(17, 24, 39, 1);
}

#timer::before {
  content: "⏱";
  font-size: 1.15rem;
  opacity: 0.85;
  transform: translateY(-1px);
}

/* States you can toggle from JS */
#timer.is-warning {
  border-color: rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.1);
  color: rgba(146, 64, 14, 1);
}

#timer.is-danger {
  border-color: rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.1);
  color: rgba(127, 29, 29, 1);
  animation: timerPulse 1s ease-in-out infinite;
}

@keyframes timerPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 10px 18px rgba(239, 68, 68, 0.08);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 14px 22px rgba(239, 68, 68, 0.16);
  }
}
