/*
=========================================================
  MAIN.CSS — Qckr Web Client
  Screen-specific styles: Login, Lobby, Chat
=========================================================
*/

/* ═══════════════════════════════════════════════════════
   SCREEN SYSTEM
═══════════════════════════════════════════════════════ */
.screen {
  position: fixed;
  inset: 0;
  display: none;
  overflow: hidden;
}
.screen-active { display: flex; }

/* ═══════════════════════════════════════════════════════
   AUTH SCREENS (Login + Lobby share this shell)
═══════════════════════════════════════════════════════ */
#screen-login,
#screen-lobby {
  align-items: center;
  justify-content: center;
}

/* Animated background orbs */
.auth-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.auth-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.auth-orb-1 {
  width: 500px; height: 500px;
  top: -120px; left: -100px;
  background: rgba(125, 0, 255, 0.18);
  animation: orbFloat 8s ease-in-out infinite;
}
.auth-orb-2 {
  width: 380px; height: 380px;
  bottom: -80px; right: -60px;
  background: rgba(0, 217, 255, 0.10);
  animation: orbFloat 11s ease-in-out infinite reverse;
}
.auth-orb-3 {
  width: 260px; height: 260px;
  top: 50%; left: 55%;
  background: rgba(125, 0, 255, 0.08);
  animation: orbFloat 14s ease-in-out infinite;
}

/* Auth card shell */
.auth-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 48px 40px;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--border-soft);
  background: var(--glass-bg);
  backdrop-filter: blur(28px);
  box-shadow: var(--shadow-lg), var(--shadow-purple-md);
}

.auth-shell::-webkit-scrollbar { display: none; }
.auth-shell { scrollbar-width: none; }

.auth-logo-wrap,
.auth-heading,
.auth-sub {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Logo */
.auth-logo-wrap {
  position: relative;
  margin-bottom: 28px;
}
.auth-logo-img  { height: 40px; width: auto; }
.auth-logo-text {
  font-family: var(--font-brand);
  font-size: 2rem;
  font-weight: 700;
  color: white;
  text-shadow: 0 0 24px rgba(125,0,255,0.4);
}
.auth-logo-pulse {
  position: absolute;
  top: 50%; right: -18px;
  transform: translateY(-50%);
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--qckr-online);
  animation: qckrPulse 2s infinite;
}

.auth-heading {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: var(--tracking-display);
  margin-bottom: 6px;
}
.auth-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* Field groups */
.field-group { margin-bottom: 18px; }
.field-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 7px;
  letter-spacing: 0.02em;
}
.field-hint {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 5px;
}

/* Auth error */
.auth-error {
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 77, 109, 0.3);
  background: rgba(255, 77, 109, 0.10);
  color: #FF7F96;
  font-size: 13px;
  margin-bottom: 16px;
}

/* Canvas LMS toggle */
.canvas-toggle-wrap { margin-bottom: 18px; }
.canvas-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  background: rgba(255,255,255,0.03);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  transition: background var(--transition-normal), border-color var(--transition-normal);
}
.canvas-toggle:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(125,0,255,0.3);
  color: var(--text-primary);
}
.canvas-toggle-icon  { font-size: 16px; }
.canvas-toggle-badge {
  margin-left: auto;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: rgba(125,0,255,0.18);
  color: #C084FC;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.canvas-toggle-chevron {
  font-size: 12px;
  transition: transform var(--transition-normal);
}
.canvas-toggle-chevron.open { transform: rotate(90deg); }

.canvas-fields {
  padding: 16px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(125,0,255,0.2);
  background: rgba(125,0,255,0.04);
  margin-bottom: 18px;
}
.canvas-info {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.6;
}
.canvas-info strong { color: var(--text-secondary); }

/* ── OTP inputs ── */
.otp-sent-label {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 24px;
  line-height: 1.6;
}
.otp-inputs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}
.otp-digit {
  width: 52px;
  height: 60px;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  font-family: var(--font-display);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-primary);
  background: var(--bg-input);
  color: var(--text-primary);
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}
.otp-digit:focus {
  border-color: var(--qckr-purple);
  box-shadow: 0 0 0 3px rgba(125,0,255,0.2);
  outline: none;
}
.otp-digit.filled { border-color: rgba(125,0,255,0.5); }
.otp-sep {
  color: var(--text-muted);
  font-size: 20px;
  padding-inline: 4px;
}

.otp-resend {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 18px;
}
.otp-resend-btn {
  color: var(--qckr-purple);
  font-weight: 600;
  font-size: 13px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 4px;
  transition: color var(--transition-fast);
}
.otp-resend-btn:hover { color: var(--qckr-purple-hover); }

/* ═══════════════════════════════════════════════════════
   LOBBY
═══════════════════════════════════════════════════════ */
.lobby-avatar {
  font-size: 48px;
  margin-bottom: 16px;
  text-align: center;
}

.lobby-section-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.canvas-course-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  max-height: 200px;
  overflow-y: auto;
}
.canvas-course-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  background: rgba(255,255,255,0.03);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--transition-normal), border-color var(--transition-normal);
}
.canvas-course-item:hover {
  background: rgba(125,0,255,0.10);
  border-color: rgba(125,0,255,0.3);
}
.canvas-course-item .course-code {
  font-size: 11px;
  color: var(--text-muted);
}

.lobby-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--text-muted);
  font-size: 12px;
}
.lobby-divider::before,
.lobby-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border-soft);
}

/* ═══════════════════════════════════════════════════════
   CHAT SCREEN — APP SHELL
═══════════════════════════════════════════════════════ */
#screen-chat { display: none; }
#screen-chat.screen-active { display: block; }

.app-shell {
  display: grid;
  grid-template-columns: 280px 1fr;
  height: 100vh;
  overflow: hidden;
}

/* ═══════════════════════════════════════════════════════
   SIDEBAR
═══════════════════════════════════════════════════════ */
.sidebar {
  display: flex;
  flex-direction: column;
  padding: var(--space-6);
  border-right: 1px solid var(--border-soft);
  background: var(--bg-sidebar);
  overflow-y: auto;
  height: 100vh;
}

.sidebar-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  flex-shrink: 0;
}
.logo-img {
  height: 32px;
  width: auto;
}

.sidebar-section { margin-bottom: 8px; }
.sidebar-section-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 10px;
  padding-left: 4px;
}

/* Room items in sidebar */
.sidebar-rooms {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sidebar-room-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--text-secondary);
  background: transparent;
  transition:
    background      var(--transition-normal),
    border-color    var(--transition-normal),
    color           var(--transition-normal),
    transform       var(--transition-fast);
}
.sidebar-room-item:hover {
  background: rgba(255,255,255,0.04);
  color: var(--text-primary);
  transform: translateX(2px);
}
.sidebar-room-item.active {
  border-color: rgba(125,0,255,0.28);
  background: linear-gradient(135deg, rgba(125,0,255,0.20), rgba(155,61,255,0.12));
  color: white;
  box-shadow: var(--shadow-purple-sm);
}
.sidebar-room-badge {
  font-size: 10px;
  font-weight: 700;
  color: var(--qckr-online);
  background: rgba(0,245,180,0.14);
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.05em;
}

/* Online users in sidebar */
.sidebar-user-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sidebar-user-name {
  font-size: 14px;
  font-weight: 600;
}
.sidebar-user-status {
  font-size: 11px;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════
   CHAT AREA
═══════════════════════════════════════════════════════ */
.chat-area {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-chat);
  height: 100vh;
  overflow: hidden;
}

/* Header */
.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 72px;
  border-bottom: 1px solid var(--border-soft);
  backdrop-filter: blur(12px);
  flex-shrink: 0;
  background: rgba(26,31,46,0.85);
}

.room-code-badge {
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(125,0,255,0.3);
  background: rgba(125,0,255,0.10);
  font-size: 12px;
  font-weight: 700;
  color: #C084FC;
  letter-spacing: 3px;
  cursor: pointer;
  transition: background var(--transition-normal);
  font-family: var(--font-display);
}
.room-code-badge:hover { background: rgba(125,0,255,0.18); }
.room-code-badge:empty { display: none; }

/* Messages */
.messages-area {
  flex: 1;
  overflow-y: auto;
  padding: 24px 32px 160px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Individual message */
.message {
  max-width: 720px;
  padding: 14px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.04);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02));
  box-shadow: var(--shadow-sm);
  transition: background var(--transition-normal), transform var(--transition-fast);
  animation: qckrFade 200ms ease both;
}
.message:hover {
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.03));
}
.message.own {
  align-self: flex-end;
  background: linear-gradient(135deg, rgba(125,0,255,0.22), rgba(155,61,255,0.15));
  border-color: rgba(125,0,255,0.2);
}
.message.private {
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(125,0,255,0.4);
}
.message.instructor {
  border-left: 3px solid var(--qckr-danger);
  background: rgba(255,77,109,0.06);
}
.message.system {
  align-self: center;
  font-size: 12px;
  color: var(--text-muted);
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 4px 0;
}

.msg-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.msg-author {
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-display);
}
.msg-time {
  font-size: 11px;
  color: var(--text-muted);
}
.msg-body {
  font-size: 15px;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}

/* ── Image bubble ── */
.message-image {
  max-width: 360px;
  padding: 12px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  background: var(--bg-surface);
  animation: qckrFade 200ms ease both;
}
.message-image.own {
  align-self: flex-end;
  border-color: rgba(125,0,255,0.2);
  background: rgba(125,0,255,0.08);
}
.message-image img {
  max-width: 100%;
  max-height: 280px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: opacity var(--transition-normal), outline var(--transition-fast);
  object-fit: contain;
}
.message-image img:hover { opacity: 0.88; outline: 2px solid var(--qckr-purple); }
.img-sender {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-family: var(--font-display);
}
.img-hint {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ═══════════════════════════════════════════════════════
   QUIZ CARD
═══════════════════════════════════════════════════════ */
.quiz-card {
  max-width: 600px;
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.05);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
  box-shadow: var(--shadow-md);
  animation: qckrFade 240ms ease both;
  position: relative;
  overflow: hidden;
}
.quiz-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(125,0,255,0.8), rgba(0,217,255,0.6));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.quiz-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}
.quiz-question {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  flex: 1;
  padding-right: 12px;
}
.quiz-creator {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.answer-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.btn-quiz {
  min-width: 140px;
  border: 1px solid var(--border-soft);
  color: var(--text-secondary);
  background: rgba(255,255,255,0.04);
  font-family: var(--font-ui);
  font-size: 14px;
}
.btn-quiz:hover {
  color: white;
  background: rgba(255,255,255,0.07);
}
.btn-quiz.selected {
  color: #061018;
  background: linear-gradient(135deg, var(--qckr-cyan), #5BE7FF);
  border-color: var(--qckr-cyan);
  box-shadow: 0 4px 16px rgba(0,217,255,0.2);
}
.btn-quiz:disabled {
  cursor: default;
  opacity: 0.7;
}

/* ═══════════════════════════════════════════════════════
   POLL CARD
═══════════════════════════════════════════════════════ */
.poll-card {
  max-width: 520px;
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  border: 1.5px solid rgba(0, 180, 120, 0.35);
  background: linear-gradient(180deg, rgba(0,180,120,0.04), rgba(0,180,120,0.01));
  box-shadow: var(--shadow-md), 0 0 24px rgba(0,180,120,0.06);
  animation: qckrFade 240ms ease both;
}

.poll-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #00b478;
  margin-bottom: 10px;
}
.poll-question {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 18px;
}

.poll-option-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.poll-opt-btn {
  min-width: 120px;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  background: rgba(255,255,255,0.04);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  transition: background var(--transition-normal), border-color var(--transition-normal);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}
.poll-opt-btn:hover:not(:disabled) {
  background: rgba(0,180,120,0.12);
  border-color: rgba(0,180,120,0.3);
}
.poll-opt-btn.chosen {
  background: rgba(0,120,80,0.35);
  border-color: #00b478;
  color: white;
}
.poll-opt-btn:disabled { cursor: default; opacity: 0.65; }

.poll-bar-bg {
  flex: 1;
  height: 8px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.06);
  overflow: hidden;
}
.poll-bar-fill {
  height: 100%;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, #00b478, #00D68F);
  width: 0%;
  transition: width 0.45s ease;
}
.poll-count {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  min-width: 28px;
  text-align: right;
}
.poll-closed-label {
  font-size: 12px;
  font-weight: 700;
  color: #00b478;
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ═══════════════════════════════════════════════════════
   INPUT BAR
═══════════════════════════════════════════════════════ */
.input-bar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 20px 32px 28px;
  background: linear-gradient(to top,
    rgba(26,31,46,0.98),
    rgba(26,31,46,0.80),
    transparent
  );
  backdrop-filter: blur(14px);
}
.input-bar-inner {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  padding: 10px 14px;
}
.attach-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.06);
  font-size: 18px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--transition-normal);
  margin-bottom: 3px;
}
.attach-btn:hover { background: rgba(255,255,255,0.10); }

.msg-textarea {
  flex: 1;
  min-height: 40px;
  max-height: 120px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
  font-size: 15px;
  line-height: 1.5;
  resize: none;
  overflow-y: auto;
  scrollbar-width: none;        /* Firefox */
  -ms-overflow-style: none;     /* IE/Edge */
  transition:
    border-color var(--transition-normal),
    background   var(--transition-normal),
    box-shadow   var(--transition-normal);
}
.msg-textarea::placeholder { color: var(--text-muted); }
.msg-textarea:focus {
  border-color: rgba(125,0,255,0.5);
  background: rgba(255,255,255,0.07);
  box-shadow: 0 0 0 3px rgba(125,0,255,0.12);
  outline: none;
}
.msg-textarea::-webkit-scrollbar { display: none; }
.msg-textarea { scrollbar-width: none; -ms-overflow-style: none; }

/* ═══════════════════════════════════════════════════════
   TOAST NOTIFICATION
═══════════════════════════════════════════════════════ */
#toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
}
#toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ═══════════════════════════════════════════════════════
   LOADING SPINNER (shown while connecting / sending code)
═══════════════════════════════════════════════════════ */
.spinner {
  display: inline-block;
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin-right: 6px;
  vertical-align: middle;
}

/* ═══════════════════════════════════════════════════════
   LIGHT THEME OVERRIDES
═══════════════════════════════════════════════════════ */
body.light-theme .msg-textarea {
  background: rgba(0,0,0,0.04);
  color: var(--text-primary);
}
body.light-theme .msg-textarea:focus {
  background: rgba(0,0,0,0.06);
}
body.light-theme .message {
  background: rgba(0,0,0,0.02);
  border-color: rgba(0,0,0,0.06);
}
body.light-theme .message:hover {
  background: rgba(0,0,0,0.04);
}
body.light-theme .btn-quiz {
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.08);
  color: var(--text-secondary);
}
body.light-theme .btn-quiz:hover {
  background: rgba(0,0,0,0.07);
  color: var(--text-primary);
}
body.light-theme .attach-btn {
  background: rgba(0,0,0,0.06);
}
body.light-theme .poll-bar-bg {
  background: rgba(0,0,0,0.08);
}
body.light-theme .sidebar-room-item:hover {
  background: rgba(0,0,0,0.04);
}
body.light-theme .glass-panel {
  background: rgba(255,255,255,0.85);
}

.quiz-card {
    max-width: 680px;
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.05);
    background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
    box-shadow: var(--shadow-md);
    margin-bottom: 8px;
    position: relative;
    overflow: visible;  /* ← was hidden, cutting off options */
}

.answer-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
    justify-content: flex-start;
}

.btn-quiz {
    flex: 1 1 140px;
    max-width: 200px;
    min-width: 120px;
    border: 1px solid var(--border-soft);
    color: var(--text-secondary);
    background: rgba(255,255,255,0.04);
    font-family: var(--font-ui);
    font-size: 13px;
    height: auto;
    padding: 10px 14px;
    white-space: normal;
    text-align: left;
    line-height: 1.4;
}

.btn-quiz:hover {
    color: white;
    background: rgba(255,255,255,0.07);
}

.btn-quiz.selected {
    color: #061018;
    background: linear-gradient(135deg, var(--qckr-cyan), #5BE7FF);
    border-color: var(--qckr-cyan);
    box-shadow: 0 4px 16px rgba(0,217,255,0.2);
}

.btn-quiz:disabled { cursor: default; opacity: 0.7; }

.messages-area {
    padding-bottom: 180px;
}