body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #f4f6f8;
}

#app {
  padding: 40px;
  text-align: center;
}

#start-screen {
  position: fixed;
  inset: 0;
  background: #0f172a;
  color: #fff;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#start-screen button {
  margin-top: 20px;
  padding: 12px 24px;
  font-size: 18px;
  cursor: pointer;
}

#fullscreen-blocker {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

#timer {
  position: fixed;
  top: 16px;
  right: 16px;
  background: #111;
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  z-index: 9999;
}
.fs-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 36px 40px;
  max-width: 460px;
  width: 90%;
  text-align: center;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

.fs-icon {
  font-size: 42px;
  margin-bottom: 12px;
}

.fs-card h1 {
  font-size: 26px;
  margin-bottom: 12px;
  color: #0f172a;
}

.fs-desc {
  font-size: 15px;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 28px;
}

.fs-primary-btn {
  width: 100%;
  padding: 14px 18px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
}

.fs-primary-btn:hover {
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.4);
}

.fs-hint {
  margin-top: 16px;
  font-size: 13px;
  color: #64748b;
}
.start-card {
  background: #ffffff00;
  padding: 42px 44px;
  border-radius: 16px;
  max-width: 520px;
  width: 90%;
  text-align: center;
  box-shadow: 0 30px 70px rgba(144, 144, 144, 0.5);
}

.start-icon {
  font-size: 48px;
  margin-bottom: 14px;
}

.start-card h1 {
  font-size: 30px;
  margin-bottom: 12px;
}

.start-desc {
  font-size: 15px;
  color: #cbd5f5;
  line-height: 1.6;
  margin-bottom: 22px;
}

.start-rules {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.start-rules li {
  margin: 6px 0;
  font-size: 14px;
  color: #e2e8f0;
}

.start-btn {
  width: 100%;
  padding: 14px;
  font-size: 17px;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
}

.start-btn:hover {
  box-shadow: 0 10px 24px rgba(34, 197, 94, 0.45);
}

.start-hint {
  margin-top: 14px;
  font-size: 13px;
  color: #94a3b8;
}
#timer {
  position: fixed;
  top: 18px;
  right: 18px;
  background: linear-gradient(135deg, #020617, #020617);
  color: #f8fafc;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  z-index: 9999;
}

.end-card {
  background: #0f172a;
  padding: 44px;
  border-radius: 16px;
  text-align: center;
  max-width: 480px;
  width: 90%;
  box-shadow: 0 30px 60px rgba(103, 141, 255, 0.55);
  margin: auto;
  margin-top:12% ;
}

.end-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.end-card h1 {
  margin-bottom: 12px;
  color: #ebefff;
}

.end-card p {
  font-size: 15px;
  color: #a6a8ac;
  line-height: 1.6;
}

.end-note {
  margin-top: 14px;
  font-size: 13px;
  color: #64748b;
}
.block-card {
  background: #0f172a;
  padding: 42px;
  border-radius: 16px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55);
  margin: auto;
  margin-top: 13%;
  color: #dd2121;
}

.block-icon {
  font-size: 44px;
  margin-bottom: 14px;
}

.block-desc {
  font-size: 16px;
  margin-bottom: 10px;
  color:  #e8e8e8;
}

.block-meta {
  font-size: 14px;
  color: #d2e2f8;
}

.block-hint {
  margin-top: 14px;
  font-size: 13px;
  color: #fb7676;
}

.mock-test {
  background: #ffffff;
  border-radius: 18px;
  padding: 36px 38px;
  max-width: 760px;
  margin: 0 auto;
  box-shadow: 0 25px 55px rgba(2, 6, 23, 0.12);
  text-align: left;
}

.mock-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #020617;
}

.mock-instruction {
  font-size: 14px;
  color: #475569;
  background: #f8fafc;
  padding: 14px 16px;
  border-left: 4px solid #2563eb;
  margin-bottom: 22px;
  border-radius: 8px;
  line-height: 1.6;
}

.mock-label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #020617;
}

.mock-textarea {
  width: 95%;
  min-height: 180px;
  padding: 14px 16px;
  font-size: 15px;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  resize: vertical;
  font-family: inherit;
  background: #ffffff;
}

.mock-textarea::placeholder {
  color: #94a3b8;
}

.mock-textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

.mock-hint {
  margin-top: 14px;
  font-size: 13px;
  color: #64748b;
}

.audit-panel {
  margin-top: 40px;
  background: #020617;
  border-radius: 14px;
  padding: 20px;
  color: #e5e7eb;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.audit-title {
  font-size: 16px;
  margin-bottom: 12px;
  font-weight: 600;
  color: #38bdf8;
}

.audit-logs {
  max-height: 240px;
  overflow-y: auto;
  background: #020617;
  border-radius: 10px;
  padding: 10px;
  font-family: monospace;
  font-size: 12px;
}

.audit-log-row {
  padding: 6px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.audit-log-row:last-child {
  border-bottom: none;
}

.audit-event {
  color: #22c55e;
  font-weight: 600;
}

.audit-time {
  color: #94a3b8;
  font-size: 11px;
  white-space: nowrap;
}

.audit-empty {
  color: #64748b;
  text-align: center;
  padding: 30px 10px;
}
