* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: linear-gradient(120deg, #013309, #088ebf);
  color: white;
  /* REMOVE flex centering */
}


main {
  width: 100%;
  max-width: 900px;   /* keeps content from being too wide */
  margin: 2rem auto;  /* centers horizontally */
  padding: 1rem;
}

.home {
  text-align: center;
}

.logo-container {
  margin-bottom: 2rem;
}

.logo {
  width: 160px;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  font-weight: 600;
}

p {
  opacity: 0.8;
  margin-top: 0.5rem;
}

.actions {
  margin-top: 2rem;
}

.login-btn {
  padding: 0.8rem 2.5rem;
  font-size: 1rem;
  border: none;
  border-radius: 999px;
  background: #4da3ff;
  color: white;
  cursor: pointer;
  transition: 0.2s;
}

.login-btn:hover {
  background: #78b9ff;
}

.vertical {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 320px;
  margin: auto;
}

.login-option {
  padding: 0.8rem;
  border-radius: 8px;
  border: none;
  background: #1f3b64;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.2s;
}

.login-option:hover {
  background: #2b4f86;
}

.create-btn {
  padding: 0.8rem;
  border-radius: 8px;
  border: 2px solid #4da3ff;
  background: transparent;
  color: #4da3ff;
  font-size: 1rem;
  cursor: pointer;
}

.create-btn:hover {
  background: #4da3ff;
  color: white;
}

.divider {
  text-align: center;
  opacity: 0.6;
  margin: 0.5rem 0;
}

.student-login {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.student-login input {
  padding: 0.7rem;
  border-radius: 6px;
  border: none;
  font-size: 1rem;
}

.hidden {
  display: none;
}


.dashboard {
  max-width: 800px;
  margin: 2rem auto;
  text-align: center;
  padding: 1rem;
  color: white;
}

.profile {
  margin-bottom: 2rem;
}

.pfp {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid #4da3ff;
  margin-bottom: 1rem;
  object-fit: cover;
}

.pfp-options {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.pfp-choice {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
}

.pfp-choice:hover {
  border: 2px solid #4CAF50;
}

.language-label {
  opacity: 0.8;
  margin-top: 0.3rem;
}

.dashboard-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  gap: 0.5rem; /* smaller gap reduces vertical spacing */
  justify-content: center;
}

.dash-btn {
  flex: 1 1 180px;
  padding: 1rem;
  padding: 0.8rem; /* slightly smaller padding also reduces vertical height */
  border: none;
  border-radius: 12px;
  background: #1f3b64;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.2s;
}

.dash-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin-bottom: 2rem;
}

.dash-logo {
  height: 60px;
  width: auto;
}

.app-name {
  font-size: 1.2rem;
  font-weight: 600;
}


.dash-btn:hover {
  background: #2b4f86;
}

.ipa-page {
  text-align: center;
  padding: 1rem;
  color: white;
}

.ipa-instructions {
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

.ipa-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
  gap: 1rem;
  max-width: 500px;
  margin: auto;
}

.ipa {
  padding: 1rem;
  border-radius: 10px;
  border: none;
  background: #1f3b64;
  color: white;
  font-size: 1.4rem;
  cursor: pointer;
  transition: 0.15s;
}

.ipa:hover {
  background: #4da3ff;
}

.sound-page {
  text-align: center;
  padding: 2rem;
  color: white;
}

.sound-card {
  background: #111a2e;
  max-width: 500px;
  margin: auto;
  padding: 2rem;
  border-radius: 16px;
}

.sound-symbol {
  font-size: 4rem;
  color: #4da3ff;
}

.sound-name {
  margin: 0.5rem 0 1rem;
  opacity: 0.8;
}

.instructions {
  margin-top: 1rem;
  line-height: 1.5;
}

.print-btn{
  background:#fff;
  color:#000;
  border:2px dashed #aaa;
  margin-top:10px;
  cursor:not-allowed;
  opacity:0.85;
}

.place-filters{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-bottom:20px;
}

.place{
  padding:8px 12px;
  border:none;
  border-radius:999px;
  font-size:0.85rem;
  font-weight:600;
  color:#fff;
  cursor:default;
}

#articulationImage {
  width: 450px !important;
  height: auto !important;
  display: block;
  margin: 1rem auto;
}

.site-footer {
  position: fixed;
  bottom: 12px;              /* distance from bottom */
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: white;
  z-index: 1000;             /* stays above content */
}

.site-footer p {
  font-size: 0.75rem;
  margin-bottom: 4px;
  opacity: 0.7;
}

.powered-logo {
  width: 80px;               /* adjust as needed */
  height: auto;
  display: block;
  margin: 0 auto;
  
  filter:
    drop-shadow(0 0 6px rgba(2, 36, 9, 0.9))
    drop-shadow(0 0 14px rgba(2, 36, 9, 0.7)) !important;
}

.game-instructions {
  max-width: 600px;       /* controls line length */
  margin: 2rem auto;      /* centers the block */
  padding: 0 1rem;
  text-align: left;       /* important: NOT centered text */
  line-height: 1.6;
}

.game-instructions li {
  margin-bottom: 0.75rem;
}

.game-board {
  display: block;
  max-width: 700px;
  width: 100%;
  margin: 2rem auto 3rem auto;
}

.stopwatch {
  text-align: center;
  margin-top: 3rem;
}

#coin {
  width: 120px;
  margin-bottom: 1rem;
}

.site-footer {
  position: fixed;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.assignments-section {
  background: rgba(255, 255, 255, 0.12);
  padding: 1.25rem 1.5rem;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.assignments-section:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.assignments-section h2 {
  margin-bottom: 0.5rem;
}

.assignment-list {
  padding-left: 1.2rem;
}

.assignment-item {
  margin: 0.5rem 0;
}

/* Status colors */
.overdue {
  background: #043600;
  border-left: 6px solid #e63946;
}

.in-progress {
  background: #043600;
  border-left: 6px solid #6c757d;
}

.due-soon {
  background: #043600;
  border-left: 6px solid #fcbf49;
}

#flipCoinBtn.pressed {
  transform: scale(0.95);
  opacity: 0.8;
}

.coin-container img {
  width: 120px;        /* ← adjust this number */
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1rem auto;
}

.coin-container {
  text-align: center;
  margin: 2rem 0 3rem 0;
}

.inbox {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.inbox {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

/* MESSAGE CARD */
.message {
  background: rgba(255, 255, 255, 0.12);
  padding: 1.25rem 1.5rem;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* Hover = feels clickable */
.message:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.message h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.message p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
  opacity: 0.95;
}

.message .timestamp {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.75rem;
  opacity: 0.7;
}

/* UNREAD MESSAGE */
.message.unread {
  border-left: 6px solid #fcbf49;
  background: rgba(252, 191, 73, 0.15);
}


.message .timestamp {
  font-size: 0.75rem;
  opacity: 0.7;
  display: block;
  margin-top: 0.5rem;
}

.message.unread {
  border-left: 5px solid #fcbf49;
}

.message.unread h3::after {
  content: " ●";
  color: #fcbf49;
  font-size: 0.9rem;
}

.inbox {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.top-nav {
  width: 100%;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  position: sticky;  /* keeps nav at top when scrolling */
  top: 0;
  z-index: 1000;
}

.top-nav .nav-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.5rem;
}


.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: white;
  text-decoration: none;
  font-weight: 600;
}

.nav-logo img {
  height: 20px;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0.85;
  transition: opacity 0.15s ease;
}

.nav-links a:hover {
  opacity: 1;
}

.speed-articulation {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

/* TYPE BUTTONS */
.type-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.type-buttons button {
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  opacity: 0.6;
}

.type-buttons button.active {
  opacity: 1;
  font-weight: 600;
}

/* DESCRIPTION BOX */
.type-description {
  padding: 1rem;
  margin-bottom: 2rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  min-height: 3.5rem;
}

/* WORD BANK */
.word-bank {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.word {
  padding: 0.8rem;
  font-size: 1rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.12);
}

.word.hidden {
  display: none;
}

.section-title {
  font-size: 1.2rem;
  margin: 1.5rem 0 0.5rem;
  color: white; /* matches site theme */
  font-weight: 600;
}

.content-box {
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  padding: 1.25rem;
  border-radius: 12px;
  margin-bottom: 1.25rem;
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}

.content-box h3 {
  margin-bottom: 0.75rem;
}

textarea,
.text-input {
  width: 100%;
  min-height: 120px;
  padding: 0.75rem;
  border-radius: 8px;
  border: none;
  font-family: inherit;
  font-size: 0.9rem;
}

.text-input {
  min-height: unset;
}

.action-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.dash-btn.secondary {
  background: rgba(255,255,255,0.15);
}

/* ===== Plans Page ===== */

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.plan-card {
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 8px 18px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.plan-card h2 {
  margin-bottom: 0.25rem;
}

.plan-card .price {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.plan-card ul {
  padding-left: 1rem;
  margin: 0.5rem 0 1rem;
}

.plan-card li {
  margin-bottom: 0.4rem;
}

.plan-card .dash-btn {
  margin-top: auto;
  align-self: center;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Title block */
.logo-container {
  text-align: center;
  margin-bottom: 1.5rem;
}

.logo-container h1 {
  margin-bottom: 0.4rem;
}

.about-btn {
  position: fixed;          /* stick to viewport */
  bottom: 1rem;             /* 1rem from bottom */
  left: 1rem;               /* 1rem from left */
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  z-index: 1000;
  transition: background 0.2s ease, transform 0.15s ease;
}

.about-btn:hover {
  background-color: rgba(0, 0, 0, 0.8);
  transform: translateY(-2px);
}

.game-btn {
  padding: 0.8rem;
  border-radius: 8px;
  border: 2px solid #4da3ff;
  background: transparent;
  color: #4da3ff;
  font-size: 1rem;
  cursor: pointer;
}

.game-btn:hover {
    background: #4da3ff;
    color: white;
}

.speed-instructions {
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

.select-btn {
  padding: 0.8rem;
  border-radius: 8px;
  border: 2px solid #4da3ff;
  background: transparent;
  color: #4da3ff;
  font-size: 1rem;
  cursor: pointer;
}

.select-btn:hover {
    background: #4da3ff;
    color: white;
}

.select-btn secondary {
  padding: 0.8rem;
  border-radius: 8px;
  border: 2px solid #4da3ff;
  background: transparent;
  color: #4da3ff;
  font-size: 1rem;
  cursor: pointer;
}

.select-btn secondary:hover {
    background: #4da3ff;
    color: white;
}

.print-btn {
  padding: 0.8rem;
  border-radius: 8px;
  border: 2px solid #4da3ff;
  background: transparent;
  color: #4da3ff;
  font-size: 1rem;
  cursor: pointer;
}

.print-btn:hover {
    background: #4da3ff;
    color: white;
}

.game-btn secondary {
  padding: 0.8rem;
  border-radius: 8px;
  border: 2px solid #4da3ff;
  background: transparent;
  color: #4da3ff;
  font-size: 1rem;
  cursor: pointer;
}

.game-btn:hover {
    background: #4da3ff;
    color: white;
}

.game-btn secondary {
  padding: 0.8rem;
  border-radius: 8px;
  border: 2px solid #4da3ff;
  background: transparent;
  color: #4da3ff;
  font-size: 1rem;
  cursor: pointer;
}

.game-btn:hover {
    background: #4da3ff;
    color: white;
}

.coin-btn {
  padding: 0.8rem;
  border-radius: 8px;
  border: 2px solid #4da3ff;
  background: transparent;
  color: #4da3ff;
  font-size: 1rem;
  cursor: pointer;
}

.coin-btn:hover {
    background: #4da3ff;
    color: white;
}

.vowel-controls {
  margin-bottom: 10px;
}

.vowel-controls button {
  padding: 6px 12px;
  margin-right: 6px;
  cursor: pointer;
}

.vowel-image img {
  width: 420px;        /* adjust freely */
  max-width: 90%;
  height: auto;
  margin: 1rem auto;
  display: block;
}

.vowel-output {
  font-size: 1.5rem;
  margin-top: 10px;
}

.vowel {
  margin-right: 8px;
  font-weight: bold;
}

.vowel.none {
  opacity: 0.5;
}

.vowel-controls button {
  padding: 0.5rem 0.9rem;
  margin: 0.25rem;
  border-radius: 6px;
  border: 2px solid transparent;
  background: #e9ecef;
  cursor: pointer;
  font-weight: 500;
}

.vowel-controls button.active {
  background: #2a9d8f;
  color: white;
  border-color: #1f7f73;
}

.ipa-page .ipa-box {
  background: #070730;
  border: 1px solid #070730;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}


/* Slight visual distinction (optional but nice) */
.consonant-box {
  border-left: 6px solid #457b9d;
}

.vowel-box {
  border-left: 6px solid #2a9d8f;
}

.ipa-box h2 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.playing {
  width: 800px;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .top-nav {
    overflow-x: auto;
  }

  .nav-inner {
    width: max-content;
    min-width: 100%;
  }

  .nav-links {
    display: flex;
    flex-wrap: nowrap;
    white-space: nowrap;
  }
}

@media (max-width: 768px) {
  .playing {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 768px) {
  .ipa {
    padding: 0.6rem;
    font-size: 1.1rem;
  }

  .ipa-grid {
    gap: 0.6rem;
  }
}

.login-box {
  background: #070730;
  border-radius: 16px;
  padding: 1.5rem;
  margin-top: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;

  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);

  animation: fadeIn 0.25s ease-out;
}

.hidden {
  display: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.back-btn {
  background: #1f3b64;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 0.6rem 1rem;
  cursor: pointer;
  margin-bottom: 1rem;
}

.back-btn:hover {
  opacity: 0.85;
}

.back-btn {
  position: fixed;          /* stick to viewport */
  bottom: 1rem;             /* 1rem from bottom */
  left: 1rem;               /* 1rem from left */
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  z-index: 1000;
  transition: background 0.2s ease, transform 0.15s ease;
}

.back-btn:hover {
  background-color: rgba(0, 0, 0, 0.8);
  transform: translateY(-2px);
}

.quiz-card {
  background: #06042e;
  padding: 1.5rem;
  border-radius: 12px;
  margin-top: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.quiz-card h3 {
  margin-top: 0;
}

.quiz-option {
  display: block;
  width: 100%;
  margin: 0.6rem 0;
  padding: 0.8rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  background: white;
  cursor: pointer;
  font-size: 1rem;
}

.quiz-option.selected {
  background: #2a9d8f;
  color: white;
}

.quiz-timer {
  font-weight: bold;
  color: #e63946;
}

.quiz-results {
  margin-top: 2rem;
  font-size: 1.2rem;
}

.quiz-container {
  max-width: 750px;
  margin: 2rem auto;
  padding: 2rem;
  background: white;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* Consonant active toggle */
.active-toggle {
  background: #1d3557 !important;
  color: white !important;
  box-shadow: 0 0 0 2px rgba(29,53,87,0.3);
  transform: scale(1.05);
}

/* Smooth transition */
.place,
.manner {
  transition: all 0.15s ease;
}

.quiz-option {
  width: 100%;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 14px;
  border: 2px solid #e0e0e0;
  background: #f9f9f9;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.quiz-option:hover {
  background: #e8f5f3;
  border-color: #2a9d8f;
}

.quiz-option.selected {
  background: #2a9d8f;
  color: white;
  border-color: #2a9d8f;
  box-shadow: 0 0 0 3px rgba(42,157,143,0.2);
}

.quiz-controls {
  margin-top: 2rem;
  display: flex;
  justify-content: space-between;
}

.quiz-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  font-weight: bold;
}

.students-container {
  padding: 40px;
  display: grid;
  gap: 25px;
}

.student-card {
  background: #0a0430 !important;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.progress-bar {
  width: 100%;
  height: 14px;
  background: #eee;
  border-radius: 8px;
  overflow: hidden;
  margin: 10px 0;
}

.progress-fill {
  height: 100%;
  background: #4CAF50;
}

main {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
}

.quiz-section,
.classwork-section,
.teacher-section {
  background: #0a0430;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  margin-bottom: 40px;
}

.quiz-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.quiz-card {
  background: #f8f9fb;
  padding: 20px;
  border-radius: 12px;
  transition: 0.2s ease;
}

.quiz-card:hover {
  transform: translateY(-3px);
}

.builder-page {
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
}

.builder-card {
  background: white;
  padding: 30px;
  border-radius: 18px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 2rem !important;
}

.builder-card input {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 14px;
}

.question-block {
  background: #f6f8fb;
  padding: 20px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.manner-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1rem;
}

.manner {
  padding: 8px 14px;
  border-radius: 20px;
  border: none;
  background: #e9ecef;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
}

.manner:hover {
  background: #ced4da;
}

.active-toggle {
  background: #1d3557 !important;
  color: white !important;
}

.selection-title {
  margin-top: 1.5rem !important;
  margin-bottom: 1.5rem;
  font-weight: 600;
  font-size: 1.2rem;
  color: #f8f9fb !important;
}

.stopwatch {
  margin-top: 2rem;
  text-align: center;
}

.timer-display {
  font-size: 2.2rem;
  font-weight: bold;
  margin: 1rem 0;
}

.timer-buttons button {
  margin: 0.3rem;
}

.quiz-question {
  color: #222;
}

.quiz-results {
  color: #222;
}

.quiz-container {
  color: #222;
}

/* Add this to your style.css */
.quiz-card h3 {
  color: #222; /* dark gray/near black */
  font-weight: bold;
}

/* Quiz option buttons */
.answer-btn {
  display: block;
  width: 100%;
  margin: 0.5rem 0;
  padding: 0.75rem 1rem;
  background-color: #f0f0f0; /* light gray */
  border: 2px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.answer-btn:hover {
  background-color: #e0e0e0;
  border-color: #999;
}

.answer-btn.selected {
  background-color: #4caf50;
  color: white;
  border-color: #4caf50;
}

.page-intro {
 margin-bottom: 1rem;
}

.home-image {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.home-image img {
  max-width: 200px;   /* adjust size */
  width: 100%;
  height: auto;
}

.login-image {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.login-image img {
  max-width: 250px;   /* adjust size */
  width: 100%;
  height: auto;
}

.quizzes-image {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.quizzes-image img {
  max-width: 300px;   /* adjust size */
  width: 100%;
  height: auto;
}

.speed-image {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.speed-image img {
  max-width: 250px;   /* adjust size */
  width: 100%;
  height: auto;
}

.assignments-image {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.assignments-image img {
  max-width: 250px;   /* adjust size */
  width: 100%;
  height: auto;
}

.inbox-image {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.inbox-image img {
  max-width: 250px;   /* adjust size */
  width: 100%;
  height: auto;
}

.practice-image {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.practice-image img {
  max-width: 250px;   /* adjust size */
  width: 100%;
  height: auto;
}

.assignment-card {
  background: rgba(0,0,0,0.1);
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
}

/* Add vertical space below the Create Quiz button */
a.dash-btn {
  display: inline-block;
  margin: 1.5rem 0; /* adjust this number to increase/decrease space */
}

/* Add extra spacing above the Existing Classwork header */
h3 {
  margin-top: 3rem !important;  /* gives breathing room above the list */
  margin-bottom: 1rem; /* optional: space between header and list */
}

.corner-footer {
  position: fixed;
  bottom: 10px;
  right: 10px;

  width: 220px;
  font-size: 10px;
  line-height: 1.3;

  color: rgba(255, 255, 255, 0.75);
  background: rgba(0, 0, 0, 0.4);

  padding: 8px 10px;
  border-radius: 8px;

  backdrop-filter: blur(6px);
  z-index: 9999;
}

.corner-footer p {
  margin: 0;
}

/* THIS creates the spacing + link styling */
.credits-link {
  display: block;
  margin-top: 8px;   /* space between disclaimer and link */
  text-align: right;

  color: #9fd3ff;
  text-decoration: none;
  font-size: 10px;
}

.credits-link:hover {
  text-decoration: underline;
}
