/* Modern redesign for login/register panels */
.login-panel {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 340px;
  max-width: 95vw;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(33,150,243,0.18), 0 2px 12px rgba(255,152,0,0.12);
  padding: 40px 32px 32px 32px;
  z-index: 2000;
  text-align: center;
  animation: loginpop 0.4s cubic-bezier(.68,-0.55,.27,1.55);
  border: 1.5px solid #e0e0e0;
}
.login-panel h2 {
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 24px;
  color: #2196f3;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px rgba(33,150,243,0.10);
}
.login-tabs {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0;
  margin-bottom: 18px;
  border-bottom: 2px solid #e0e0e0;
  background: none;
  box-shadow: none;
}
.tab-btn {
  background: #f5f5f5;
  color: #2196f3;
  border: none;
  border-radius: 16px 16px 0 0;
  padding: 14px 44px 10px 44px;
  font-size: 1.12rem;
  font-weight: bold;
  margin: 0 2px;
  box-shadow: 0 2px 8px rgba(33,150,243,0.08);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.14s;
  outline: none;
  position: relative;
}
.tab-btn.active {
  background: linear-gradient(90deg, #2196f3 0%, #ff9800 100%);
  color: #fff;
  transform: scale(1.08);
  box-shadow: 0 4px 16px rgba(33,150,243,0.18);
  z-index: 2;
}
.tab-content {
  animation: tabfade 0.3s;
  background: #f9f9f9;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(33,150,243,0.07);
  padding: 24px 18px 18px 18px;
  margin-bottom: 0;
}
.login-panel input[type="text"],
.login-panel input[type="password"] {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 18px auto 12px 0;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(33,150,243,0.10);
  padding: 12px 12px 12px 54px;
  outline: none;
  border: 1.5px solid #e0e0e0;
  font-size: 1.08rem;
  transition: border 0.18s, box-shadow 0.18s;
}
.login-panel button {
  background: linear-gradient(90deg, #2196f3 0%, #ff9800 100%);
  color: white;
  border: none;
  border-radius: 14px;
  padding: 12px 28px;
  font-size: 1.12rem;
  font-weight: bold;
  margin: 14px 8px 0 8px;
  box-shadow: 0 2px 12px rgba(33,150,243,0.12);
  cursor: pointer;
  transition: background 0.18s, transform 0.16s;
}
.login-panel button:hover {
  background: linear-gradient(90deg, #ff9800 0%, #2196f3 100%);
  transform: scale(1.07);
}
.login-panel .close-btn {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 32px;
  height: 32px;
  background: #f5f5f5;
  color: #2196f3;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(33,150,243,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, transform 0.14s;
  z-index: 10;
}
.login-panel .close-btn:hover {
  background: #e0e0e0;
  transform: scale(1.08);
}
/* Larger gender radio buttons and icons in register panel */
.register-gender-row {
  margin-left: 32px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px; /* spacing between each gender option */
}

.register-gender-row label {
  display: flex;
  align-items: center;
  gap: 2px; /* radio ↔ text spacing */
  margin: 0;
  padding: 0;
  font-size: 0.92em;
  white-space: nowrap;
  line-height: 1;
}

.register-gender-row input[type="radio"] {
  width: 14px;
  height: 14px;
  accent-color: #2196f3;
  margin: 0;
  padding: 0;
}

.register-gender-row .gender-icon {
  font-size: 1em;
  vertical-align: middle;
}

/* Ensure login/register tabs are in one line and styled as tabs */
.login-tabs {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0;
  margin-bottom: 0;
  border-bottom: 2px solid #e0e0e0;
  background: none;
  box-shadow: none;
}
.navigation-buttons button {
  font-family: 'Segoe UI', 'Noto Sans', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: bold;
  border: none;
  border-radius: 14px;
  padding: 10px 24px;
  box-shadow: 0 2px 12px rgba(33,150,243,0.10);
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.18s, transform 0.14s, box-shadow 0.14s;
  outline: none;
  margin: 0 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.navigation-buttons button.prev-btn {
  background: linear-gradient(90deg, #2196f3 60%, #1976d2 100%);
  color: #fff;
}
.navigation-buttons button.next-btn {
  background: linear-gradient(90deg, #4caf50 60%, #388e3c 100%);
  color: #fff;
}
.navigation-buttons button.report-btn {
  background: #ededed;
  color: #bdbdbd;
  border-radius: 12px;
  padding: 0 6px;
  font-size: 0.38rem;
  font-family: Verdana, Geneva, sans-serif;
  font-weight: 400;
  box-shadow: none;
  letter-spacing: 0;
  opacity: 0.18;
}
.navigation-buttons button.submit-btn {
  background: linear-gradient(90deg, #e91e63 30%, #ff9800 70%);
  color: #fff;
  border-radius: 50px;
}
.navigation-buttons button:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(33,150,243,0.18);
}
.navigation-buttons button.report-btn:hover {
  background: linear-gradient(90deg, #bdbdbd 0%, #e0e0e0 100%);
  opacity: 0.9;
  box-shadow: none;
}
.navigation-buttons button.submit-btn:hover {
  background: linear-gradient(90deg, #1976d2 0%, #2196f3 100%);
  box-shadow: 0 6px 24px rgba(33,150,243,0.32);
}
.navigation-buttons button.prev-btn:hover {
  background: linear-gradient(90deg, #1976d2 0%, #2196f3 100%);
  box-shadow: 0 6px 24px rgba(33,150,243,0.32);
}
.navigation-buttons button.next-btn:hover {
  background: linear-gradient(90deg, #388e3c 0%, #4caf50 100%);
  box-shadow: 0 6px 24px rgba(76,175,80,0.32);
}
.section-name {
  font-size: 1.18rem;
  font-weight: bold;
  font-family: 'Segoe UI', 'Noto Sans', Arial, sans-serif;
  color: #2196f3;
  background: linear-gradient(90deg, #e3f2fd 0%, #fffde7 100%);
  padding: 6px 18px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(33,150,243,0.10);
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 10px;
}
/* Section Pie Chart Block Styling */
.section-chart-block {
  display: inline-block;
  vertical-align: top;
  margin: 0 18px 18px 0;
  background: #f5f5f5;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(33,150,243,0.08);
  padding: 12px 18px 10px 18px;
  min-width: 240px;
  text-align: center;
}
.section-chart-title {
  font-size: 1.12rem;
  font-weight: bold;
  color: #2196f3;
  margin-bottom: 8px;
  letter-spacing: 1px;
  background: linear-gradient(90deg, #ff9800 0%, #2196f3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 8px rgba(255,152,0,0.10), 0 1px 2px #2196f3;
}
/* Highlighted Test Title (Exam Name) */
.test-title {
  text-align: center;
  font-size: 1.45rem;
  font-weight: bold;
  color: #fff;
  background: linear-gradient(90deg, #2196f3 0%, #ff9800 100%);
  padding: 12px 0 10px 0;
  border-radius: 16px;
  margin-bottom: 8px;
  letter-spacing: 1px;
  box-shadow: 0 2px 12px rgba(33,150,243,0.10);
  text-shadow: 0 2px 8px rgba(255,152,0,0.12), 0 1px 2px #2196f3;
}
.result-card .not-answered {
  color: #b0b8d9;
  font-weight: bold;
  margin-left: 8px;
  font-size: 1.08em;
  background: #fffde7;
  border-radius: 6px;
  padding: 2px 8px;
  display: inline-block;
}
.result-card .skipped {

  color: #ff9800;
  font-weight: bold;
  margin-left: 8px;
  font-size: 1.08em;
  background: #fff3e0;
  border-radius: 6px;
  padding: 2px 8px;
  display: inline-block;
}
/* Result Card & Analysis Modern Design */
.result-card {
  background: linear-gradient(120deg, #e3f2fd 60%, #fff3e0 100%);
  border-radius: 22px;
  box-shadow: 0 8px 32px rgba(33,150,243,0.13), 0 2px 12px rgba(255,152,0,0.10);
  padding: 36px 28px 28px 28px;
  max-width: 700px;
  margin: 32px auto 24px auto;
  text-align: center;
  position: relative;
  border: 3px solid;
  border-image: linear-gradient(90deg, #ff9800 10%, #673ab7 90%) 1;
  animation: resultpop 0.5s cubic-bezier(.68,-0.55,.27,1.55);
}
@keyframes resultpop {
  0% { transform: scale(0.8) translateY(40px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.result-card h2 {
  font-size: 2.2rem;
  font-weight: bold;
  color: #2196f3;
  margin-bottom: 10px;
  text-shadow: 0 2px 8px rgba(255,152,0,0.12);
}
.result-card p {
  font-size: 1.15rem;
  color: #673ab7;
  margin-bottom: 18px;
  font-weight: 500;
}
.result-card h3 {
  font-size: 1.3rem;
  color: #ff9800;
  margin: 18px 0 10px 0;
  font-weight: 700;
  letter-spacing: 1px;
}
.result-card ul {
  text-align: left;
  margin: 0 auto 0 auto;
  padding: 0 0 0 0;
  max-height: 320px;
  overflow-y: auto;
  background: rgba(255,255,255,0.85);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(33,150,243,0.07);
  font-size: 1.05rem;
  list-style: none;
}
.result-card ul li {
  margin: 0 0 18px 0;
  padding: 14px 18px 10px 18px;
  border-bottom: 1px solid #e3f2fd;
  border-radius: 8px;
  background: linear-gradient(90deg, #fffde7 60%, #e3f2fd 100%);
  box-shadow: 0 1px 4px rgba(255,152,0,0.07);
}
.result-card ul li:last-child {
  border-bottom: none;
}
.result-card .correct {
  color: #4caf50;
  font-weight: bold;
  margin-left: 8px;
  font-size: 1.1em;
}
.result-card .wrong {
  color: #e91e63;
  font-weight: bold;
  margin-left: 8px;
  font-size: 1.1em;
}
.result-card button {
  background: linear-gradient(90deg, #2196f3 0%, #ff9800 100%);
  color: white;
  border: none;
  border-radius: 14px;
  padding: 10px 28px;
  font-size: 1.08rem;
  font-weight: bold;
  margin: 18px 8px 0 8px;
  box-shadow: 0 2px 12px rgba(33,150,243,0.12);
  cursor: pointer;
  transition: background 0.18s, transform 0.16s;
}
.result-card button:hover {
  background: linear-gradient(90deg, #ff9800 0%, #2196f3 100%);
  transform: scale(1.07);
}
/* Modern footer redesign to match header */
.footer-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-bottom: 2px;
}
.footer-icon {
  font-size: 1.1rem;
  color: #fff;
  filter: drop-shadow(0 1px 4px #2196f3);
}
.footer-title {
  font-size: 1.02rem;
  font-weight: 600;
.q-image img {
  /* To apply these styles, wrap your <img> in <div class="q-image"> ... </div> */
  width: 100%;
  max-width: 100%;
  max-height: 180px;
  height: auto;
  display: block;
  margin: 12px auto 8px auto;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(33,150,243,0.10);
}
.q-image img {
  width: 100%;
  max-width: 120px;
  height: auto;
  display: block;
  margin: 12px auto 8px auto;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(33,150,243,0.10);
}
  font-weight: 700;
  margin-left: 2px;
  font-size: 1.1em;
}
/* Input row with icon */
.input-icon-row {
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  position: relative;
}
.input-icon-row input[type="text"],
.input-icon-row input[type="password"] {
  flex: 1;
  font-size: 1.15rem;
  text-shadow: none;
  margin-right: 2px;
    margin: 0 0 0 12px;
  padding-left: 64px;
  margin-top: 10px;
}
.input-icon {
  position: absolute;
  left: -18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3em;
  color: #2196f3;
  pointer-events: none;
  user-select: none;
}
.password-field {
  position: relative;
  font-size: 1.15rem;
  letter-spacing: 1px;
  text-shadow: none;
}
.password-field input[type="password"],
.password-field input[type="text"] {
  flex: 1;
  margin: 0;
  margin-left: 2px;
}
.toggle-eye {
  position: absolute;
  right: 1px;
  top: 55%;
  transform: translateY(-55%);
  cursor: pointer;
  font-size: 1.25em;
  color: #e65100;
  user-select: none;
}
.tab-btn {
  background: none;
  color: #2196f3;
  border: none;
  border-radius: 14px 14px 0 0;
  padding: 12px 38px 8px 38px;
  font-size: 1.08rem;
  font-weight: bold;
  margin: 0 2px;
  box-shadow: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.14s;
  outline: none;
  position: relative;
}
.tab-btn.active {
  background: linear-gradient(90deg, #ff9800 0%, #2196f3 100%);
  color: #fff;
  transform: scale(1.08);
  box-shadow: 0 4px 16px rgba(255,152,0,0.18);
  z-index: 2;
}
.tab-btn:not(.active) {
  background: none;
  color: #2196f3;
  opacity: 0.7;
  z-index: 1;
}
.tab-content {
  animation: tabfade 0.3s;
}
@keyframes tabfade {
  0% { opacity: 0; transform: translateY(12px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes loginpop {
  0% { transform: translate(-50%, -60%) scale(0.7); opacity: 0; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}
.login-panel h2 {
  font-size: 1.45rem;
  font-weight: bold;
  margin-bottom: 18px;
  color: #083a64;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px rgba(255,152,0,0.12);
}
.login-panel input[type="text"],
.login-panel input[type="password"] {
  width: 100%;
  max-width: 100%;
  max-height: 180px;
  height: auto;
  display: block;
    margin: 18px auto 12px 12px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(33,150,243,0.10);
  padding: 10px 10px 10px 64px;
  outline: none;
  transition: border 0.18s, box-shadow 0.18s;
}
.login-panel input:focus {
  border: 1.5px solid #ff9800;
  box-shadow: 0 2px 12px rgba(255,152,0,0.18);
}
.login-panel button {
  background: linear-gradient(90deg, #2196f3 0%, #ff9800 100%);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 10px 22px;
  font-size: 1.08rem;
  font-weight: bold;
  margin: 10px 8px 0 8px;
  box-shadow: 0 2px 12px rgba(33,150,243,0.12);
  cursor: pointer;
  transition: background 0.18s, transform 0.16s;
}
.login-panel button:hover {
  background: linear-gradient(90deg, #ff9800 0%, #2196f3 100%);
  transform: scale(1.07);
}
.login-panel .close-btn {
  background: none;
  color: #2196f3;
  border: none;
  font-size: 1.2rem;
  margin-top: 18px;
  cursor: pointer;
  text-decoration: underline;
}
.desc-en {
  font-size: 0.98rem;
  color: #444;
  font-weight: 500;
}
.desc-hi {
  font-size: 0.96rem;
  color: #00796b;
  font-weight: 400;
  font-family: 'Noto Sans', 'Mangal', Arial, sans-serif;
}
.category-desc {
  font-size: 0.98rem;
  color: #444;
  margin-bottom: 12px;
  text-align: center;
}
.open-btn {
  background: linear-gradient(90deg, #ff9800 0%, #2196f3 100%);
  color: white;
  border: none;
  border-radius: 24px;
  padding: 10px 28px;
  font-size: 1.08rem;
  font-weight: bold;
  margin-top: 12px;
  box-shadow: 0 2px 12px rgba(33,150,243,0.18), 0 0 0 0 #ff9800;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.16s, box-shadow 0.16s, background 0.18s;
  outline: none;
}
.open-btn .open-icon {
  display: inline-block;
  margin-right: 8px;
  font-size: 1.25em;
  animation: openiconmove 1.2s infinite alternate;
  vertical-align: middle;
}
@keyframes openiconmove {
  0% { transform: translateX(0); }
  100% { transform: translateX(8px); }
}
.open-btn:hover {
  background: linear-gradient(90deg, #2196f3 0%, #ff9800 100%);
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(33,150,243,0.32), 0 0 16px #ff9800;
}
/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid rgba(255,152,0,0.14);
  color: #222;
  padding: 6px 14px 4px 14px;
  min-height: 38px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(255,152,0,0.07), 0 1px 4px rgba(33,150,243,0.05);
}

header h1 {
  flex: 1;
  text-align: center;
  font-size: 1.18rem;
  margin: 0;
  font-family: 'Segoe UI', 'Noto Sans', Arial, sans-serif;
  letter-spacing: 1px;
  color: #673ab7;
  text-shadow: 0 1px 4px rgba(255,152,0,0.10), 0 1px 2px #2196f3;
  position: relative;
}
header h1::after {
  content: '';
  display: block;
  width: 40%;
  height: 2px;
  margin: 4px auto 0 auto;
  background: linear-gradient(90deg, #ff9800, #2196f3);
  border-radius: 1px;
  opacity: 0.3;
}

.home-btn-icon {
  background: linear-gradient(135deg, #2196f3 60%, #ff9800 100%);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.32rem;
  cursor: pointer;
  color: #fff;
  box-shadow: 0 2px 8px rgba(33,150,243,0.18);
  margin: 0 4px;
  transition: background 0.18s, transform 0.14s;
}

.login-btn {
  background: linear-gradient(135deg, #2196f3 60%, #ff9800 100%);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.18rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(33,150,243,0.18);
  margin: 0 4px;
  transition: background 0.18s, transform 0.14s;
}
.login-btn:hover, .home-btn-icon:hover {
  background: linear-gradient(135deg, #ff9800 60%, #2196f3 100%);
  transform: scale(1.08);
}

/* Exam sections */
.exam-section { padding: 20px; }
.rajasthan-theme { background: #fff3e0; }
.india-theme { background: #e3f2fd; }
.exam-list { display: flex; flex-wrap: wrap; gap: 15px; }

.category-cards {
  display: flex;
  flex-direction: row;
  gap: 20px;
  overflow-x: auto;
  flex-wrap: nowrap;
  padding-bottom: 10px;
  scrollbar-width: thin;
  scrollbar-color: #2196f3 #eee;
}

/* Custom scrollbar for webkit browsers */
.category-cards::-webkit-scrollbar {
  height: 8px;
}
.category-cards::-webkit-scrollbar-thumb {
  background: #2196f3;
  border-radius: 4px;
}
.category-cards::-webkit-scrollbar-track {
  background: #eee;
}
.exam-category {
  background: #f5f5f5;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  padding: 18px 16px 12px 16px;
  min-width: 240px;
  max-width: 320px;
  margin-bottom: 30px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.exam-category h3 {
  margin: 0 0 14px 0;
  font-size: 1.38rem;
  font-weight: bold;
  text-align: center;
  background: linear-gradient(90deg, #ff9800 30%, #673ab7 70%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* Removed invalid property 'text-fill-color' */
  letter-spacing: 1px;
  text-shadow: 0 2px 8px rgba(255,152,0,0.18), 0 1px 2px #673ab7;
  border-bottom: 2px solid #ff9800;
  padding-bottom: 4px;
}

.card {
  background: linear-gradient(135deg, #fff8e1 0%, #e3f2fd 100%);
  border-radius: 20px;
  box-shadow: 0 6px 24px rgba(255,152,0,0.15), 0 2px 8px rgba(103,58,183,0.12), 0 2px 8px rgba(0,0,0,0.10);
  padding: 22px 18px 16px 18px;
  width: 240px;
  text-align: center;
  margin-bottom: 14px;
  border: 3px solid;
  border-image: linear-gradient(90deg, #ff9800 10%, #673ab7 90%) 1;
  transition: transform 0.18s, box-shadow 0.18s, border-image 0.18s;
  position: relative;
  overflow: hidden;
}
.card::after {
  content: '';
  position: absolute;
  top: 0; left: -60%; width: 220%; height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.0) 60%);
  transform: skewX(-18deg);
  pointer-events: none;
  animation: cardshine 2.8s linear infinite;
}
@keyframes cardshine {
  0% { left: -60%; }
  100% { left: 100%; }
}
.card:hover {
  transform: translateY(-8px) scale(1.06);
  box-shadow: 0 12px 40px rgba(255,152,0,0.28), 0 6px 24px rgba(103,58,183,0.22), 0 6px 24px rgba(0,0,0,0.22);
  border-image: linear-gradient(90deg, #673ab7 10%, #ff9800 90%) 1;
  filter: drop-shadow(0 0 12px #ff9800);
}
.card button {
  background: linear-gradient(90deg, #4caf50, #2196f3);
  color: white;
  border: none;
  padding: 9px 16px;
  border-radius: 8px;
  margin-top: 14px;
  cursor: pointer;
  font-size: 1.02rem;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(33,150,243,0.10);
  transition: background 0.18s, transform 0.15s;
}
.card button:hover {
  background: linear-gradient(90deg, #2196f3, #4caf50);
  transform: scale(1.07);
}

/* Quiz container */
.quiz-container {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
#timer {
  font-size: 1.2rem;
  font-weight: bold;
  color: red;
  text-align: right;
  margin-bottom: 10px;
  font-size: 1.25rem;
  font-weight: 600;
}

.question {
  margin-bottom: 10px;
  font-size: 1.25rem;
  font-weight: 600;
  font-family: 'Segoe UI', 'Noto Sans', Arial, sans-serif;
}
.options button {
  display: block;
  width: 100%;
  margin: 5px 0;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #f1f1f1;
  cursor: pointer;
  font-size: 1.00rem;
  font-weight: 550;
}
.options .selected { background: #90caf9; border-color: #2196f3; }

/* Navigation */
.navigation-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
}
.navigation-buttons button {
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  color: #fff;
  font-weight: bold;
  transition: background 0.18s, transform 0.14s;
}
.navigation-buttons button:nth-child(1) {
  background: linear-gradient(90deg, #2196f3 60%, #1976d2 100%);
}
.navigation-buttons button.review-btn {
  background: linear-gradient(90deg, #ff9800 60%, #f44336 100%);
}
.navigation-buttons button:nth-child(3) {
  background: linear-gradient(90deg, #4caf50 60%, #388e3c 100%);
}
.navigation-buttons button#submit-btn {
  background: linear-gradient(90deg, #e91e63 60%, #9c27b0 100%);
}
.navigation-buttons button:hover { background: #f0f725; }

/* Palette */
.question-palette {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 15px;
}
.q-num-btn {
  width: 30px;
  height: 30px;
  border: 1px solid #888;
  border-radius: 4px;
  background: #f0f0f0;
  cursor: pointer;
}
.q-num-btn.answered { background: #4caf50; color: white; }
.q-num-btn.skipped { background: #ff9800; color: white; }
.q-num-btn.current { background: #2196f3; color: white; }

.q-num-btn.review {
  background: #8e24aa;
  color: white;
  border: 2px solid #6a1b9a;
}

/* Modern Back Button */
.back-btn {
  background: linear-gradient(90deg, #2196f3 0%, #ff9800 100%);
  color: #fff;
  border: none;
  border-radius: 18px;
  padding: 10px 32px;
  font-size: 1.08rem;
  font-weight: bold;
  box-shadow: 0 2px 12px rgba(33,150,243,0.12), 0 0 0 0 #ff9800;
  cursor: pointer;
  position: relative;
  margin: 24px auto 0 auto;
  display: block;
  outline: none;
  transition: background 0.18s, transform 0.15s, box-shadow 0.15s;
}
.back-btn:hover {
  background: linear-gradient(90deg, #ff9800 0%, #2196f3 100%);
  transform: scale(1.07);
  box-shadow: 0 8px 32px rgba(33,150,243,0.18);
}
.back-btn:active {
  transform: scale(0.97);
}
.back-btn .back-icon {
  display: inline-block;
  margin-right: 10px;
  font-size: 1.35em;
  animation: backiconmove 1.2s infinite alternate;
  vertical-align: middle;
}
@keyframes backiconmove {
  0% { transform: translateX(0); }
  100% { transform: translateX(-8px); }
}

/* Dashboard Panel Styles */
.dashboard-panel {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 340px;
  max-width: 90vw;
  background: linear-gradient(120deg, #e3f2fd 60%, #fff3e0 100%);
  border-radius: 22px;
  box-shadow: 0 8px 32px rgba(33,150,243,0.13), 0 2px 12px rgba(255,152,0,0.10);
  padding: 36px 28px 28px 28px;
  z-index: 2100;
  text-align: center;
  animation: dashboardpop 0.5s cubic-bezier(.68,-0.55,.27,1.55);
}
@keyframes dashboardpop {
  0% { transform: translate(-50%, -60%) scale(0.7); opacity: 0; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}
.dashboard-panel h2 {
  font-size: 1.45rem;
  font-weight: bold;
  margin-bottom: 18px;
  color: #2196f3;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px rgba(255,152,0,0.12);
}
.dashboard-section {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(33,150,243,0.08);
  margin: 18px 0;
  padding: 18px 16px;
  text-align: left;
}
.dashboard-section h3 {
  font-size: 1.18rem;
  color: #2196f3;
  margin-bottom: 8px;
}
.dashboard-panel .close-btn {
  background: none;
  color: #2196f3;
  border: none;
  font-size: 1.2rem;
  margin-top: 18px;
  cursor: pointer;
  text-decoration: underline;
}
.dashboard-btn, .register-btn, .logout-btn {
  background: linear-gradient(135deg, #43e97b 60%, #ff9800 100%);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.18rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(33,150,243,0.18);
  margin: 0 4px;
  transition: background 0.18s, transform 0.14s;
}
.dashboard-btn:hover, .register-btn:hover, .logout-btn:hover {
  background: linear-gradient(135deg, #ff9800 60%, #43e97b 100%);
  transform: scale(1.08);
}