:root {
  color-scheme: dark;
  --ink: #071012;
  --text: #f8fbf8;
  --muted: #b8c6c2;
  --muted-soft: #82918d;
  --panel: rgba(248, 251, 248, 0.08);
  --line: rgba(248, 251, 248, 0.18);
  --line-strong: rgba(248, 251, 248, 0.28);
  --green: #a7ff3f;
  --teal: #28e0c8;
  --orange: #ff6b35;
  --gold: #ffcf4a;
  --field: rgba(7, 16, 18, 0.82);
  --panel-glass: rgba(7, 16, 18, 0.68);
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(118deg, rgba(167, 255, 63, 0.1), transparent 31%),
    linear-gradient(252deg, rgba(255, 107, 53, 0.12), transparent 29%),
    linear-gradient(180deg, #071012 0%, #0b1d22 48%, #050b0d 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(40, 224, 200, 0.08), transparent 38%, rgba(255, 207, 74, 0.07)),
    repeating-linear-gradient(104deg, transparent 0 66px, rgba(248, 251, 248, 0.045) 67px 68px),
    repeating-linear-gradient(0deg, transparent 0 128px, rgba(248, 251, 248, 0.024) 129px 130px);
  content: "";
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.94), transparent 92%);
}

.vr-page {
  width: min(1180px, calc(100% - 36px));
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(20px, 3vw, 34px) 0 48px;
}

.vr-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-bottom: clamp(26px, 4vw, 42px);
}

.vr-logo {
  display: block;
  width: min(340px, 68vw);
  height: auto;
}

.vr-header span,
.vr-soft-pill,
.vr-admin-logout,
.vr-evidence-link {
  border: 1px solid rgba(167, 255, 63, 0.24);
  border-radius: 999px;
  padding: 11px 15px;
  background: rgba(167, 255, 63, 0.07);
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.vr-admin-logout,
.vr-evidence-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.vr-admin-logout:hover,
.vr-evidence-link:hover {
  border-color: rgba(167, 255, 63, 0.42);
  background: rgba(167, 255, 63, 0.1);
}

.vr-hero {
  display: block;
  position: relative;
  margin-bottom: 22px;
  padding: clamp(12px, 2vw, 18px) 0 clamp(10px, 2vw, 18px);
}

.vr-kicker,
.vr-panel-head p,
.vr-result-head p,
.vr-upload-head p {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.vr-hero h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(3.1rem, 8vw, 7rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

.vr-copy {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.65;
}

.vr-step-track {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.vr-step-track span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 14px 9px 10px;
  background: rgba(248, 251, 248, 0.055);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.vr-step-track b {
  display: inline-grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--teal));
  color: var(--ink);
  font-size: 0.68rem;
  line-height: 1;
}

.vr-panel,
.vr-alert,
.vr-notice {
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(248, 251, 248, 0.14), rgba(248, 251, 248, 0.04)),
    var(--panel-glass);
  box-shadow: 0 30px 110px rgba(0, 0, 0, 0.28);
}

.vr-panel {
  margin-top: 18px;
  padding: clamp(22px, 4vw, 36px);
  backdrop-filter: blur(16px);
}

.vr-verify-panel {
  position: relative;
  overflow: hidden;
}

.vr-verify-panel::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--teal), var(--gold), var(--orange));
  content: "";
}

.vr-panel-head h2,
.vr-result-head h2,
.vr-upload-head h2 {
  margin: 0;
  font-size: clamp(1.65rem, 4vw, 2.45rem);
  line-height: 1;
  letter-spacing: 0;
}

.vr-upload-head small {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.45;
}

.vr-alert,
.vr-notice {
  margin: 18px 0;
  padding: 16px 18px;
  font-weight: 800;
  line-height: 1.45;
}

.vr-alert {
  border-color: rgba(255, 107, 53, 0.44);
  color: #ffd5c8;
}

.vr-notice {
  border-color: rgba(167, 255, 63, 0.36);
  color: #eaffd0;
}

.vr-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  align-items: end;
  gap: 16px;
  margin-top: 24px;
}

.vr-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.vr-form input {
  width: 100%;
  min-height: 58px;
  border: 1px solid rgba(248, 251, 248, 0.22);
  border-radius: 8px;
  outline: 0;
  padding: 14px 16px;
  background: var(--field);
  color: var(--text);
  font: inherit;
  letter-spacing: 0;
}

.vr-form input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(40, 224, 200, 0.16);
}

.vr-form button {
  min-height: 58px;
  border: 0;
  border-radius: 8px;
  padding: 0 24px;
  background: linear-gradient(135deg, var(--green), var(--teal) 62%, var(--gold));
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.09em;
  white-space: nowrap;
}

.vr-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 46px rgba(40, 224, 200, 0.16);
}

.vr-result-head,
.vr-upload-head,
.vr-existing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.vr-result-head > span {
  border-radius: 999px;
  padding: 10px 15px;
  background: rgba(167, 255, 63, 0.14);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.vr-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.vr-grid div,
.vr-existing {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 17px;
  background: linear-gradient(145deg, rgba(248, 251, 248, 0.075), rgba(248, 251, 248, 0.035));
}

.vr-grid span,
.vr-existing span,
.vr-existing small,
.vr-upload-head > span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.vr-grid strong,
.vr-existing strong {
  display: block;
  overflow-wrap: anywhere;
  margin-top: 8px;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.35;
}

.vr-existing {
  margin-top: 14px;
}

.vr-existing small {
  margin-top: 5px;
  color: var(--teal);
  text-transform: none;
  letter-spacing: 0;
}

.vr-upload-head {
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.vr-upload-form {
  grid-template-columns: minmax(0, 1fr) auto;
}

.vr-password-form {
  grid-template-columns: minmax(0, 1fr) auto;
}

.vr-file {
  min-width: 0;
}

.vr-file input[type="file"] {
  min-height: 68px;
  padding: 19px;
  border-style: dashed;
  border-color: rgba(40, 224, 200, 0.42);
  background:
    linear-gradient(135deg, rgba(40, 224, 200, 0.1), rgba(167, 255, 63, 0.05)),
    var(--field);
}

.vr-file small {
  margin-top: 2px;
  color: var(--muted-soft);
  font-size: 0.84rem;
  font-weight: 750;
  letter-spacing: 0;
}

.vr-list-panel {
  padding: 0;
  overflow: hidden;
}

.vr-list-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(20px, 4vw, 30px);
  border-bottom: 1px solid var(--line);
}

.vr-list-toolbar p {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.vr-list-toolbar h2 {
  margin: 0;
  font-size: clamp(2.3rem, 6vw, 4rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.vr-search-form {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: min(520px, 100%);
}

.vr-search-form input {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(248, 251, 248, 0.22);
  border-radius: 8px;
  outline: 0;
  padding: 11px 13px;
  background: var(--field);
  color: var(--text);
  font: inherit;
}

.vr-search-form button {
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  padding: 0 16px;
  background: linear-gradient(135deg, var(--green), var(--teal) 62%, var(--gold));
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.09em;
}

.vr-table-wrap {
  overflow-x: auto;
}

.vr-submission-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
}

.vr-submission-table th,
.vr-submission-table td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.vr-submission-table th {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.vr-submission-table td {
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.42;
}

.vr-submission-table small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.78rem;
}

.vr-empty {
  padding: 30px 16px;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 860px) {
  .vr-page {
    width: min(100% - 28px, 720px);
    padding-top: 18px;
  }

  .vr-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .vr-form,
  .vr-password-form,
  .vr-upload-form,
  .vr-grid {
    grid-template-columns: 1fr;
  }

  .vr-result-head,
  .vr-upload-head,
  .vr-existing {
    align-items: flex-start;
    flex-direction: column;
  }

  .vr-form button {
    width: 100%;
  }

  .vr-list-toolbar,
  .vr-search-form {
    align-items: stretch;
    flex-direction: column;
  }

  .vr-search-form {
    min-width: 0;
  }

  .vr-search-form button {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .vr-logo {
    width: min(290px, 78vw);
  }

  .vr-hero h1 {
    font-size: clamp(2.55rem, 16vw, 4.4rem);
  }

  .vr-header span {
    white-space: normal;
  }
}
