:root {
  color-scheme: light;
  --ink: #202124;
  --muted: #5b5f65;
  --line: #d4d7db;
  --paper: #ffffff;
  --soft: #eef3f8;
  --blue: #2f93bf;
  --blue-dark: #1f6b8b;
  --danger: #b42318;
  --success: #137333;
  --shadow: 0 20px 70px rgba(31, 44, 55, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #f5f6f8;
}

a {
  color: var(--blue-dark);
}

.verifyPage {
  background: linear-gradient(#f5f6f8 0 88%, #342d2a 88% 100%);
}

.verifyShell {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px;
}

.verifyPanel {
  width: min(100%, 980px);
  background: var(--paper);
  border: 1px solid #c8ccd1;
  box-shadow: var(--shadow);
  padding: clamp(28px, 5vw, 70px);
}

.verifyPanel.narrow {
  max-width: 680px;
}

.verifyPanel h1,
.adminShell h1 {
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.15;
  margin: 0 0 24px;
  color: #54565a;
}

.verifyPanel h2,
.adminShell h2 {
  font-size: 27px;
  margin: 28px 0 12px;
  color: #4c4f54;
}

.lead {
  font-size: clamp(21px, 3vw, 30px);
  line-height: 1.18;
  max-width: 760px;
  color: #55585d;
  margin: 0 0 34px;
}

.orderBox {
  border: 1px solid #d0d0d0;
  background: #eeeeef;
  color: #55585d;
  padding: 24px 28px;
  margin: 0 0 26px;
  font-size: clamp(18px, 2.5vw, 24px);
  line-height: 1.45;
}

.orderBox p {
  margin: 0 0 14px;
}

.orderBox p:last-child {
  margin-bottom: 0;
}

ol {
  color: #55585d;
  font-size: 16px;
  line-height: 1.55;
  max-width: 790px;
}

.verifyForm {
  margin-top: 22px;
}

.uploadGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 28px 34px;
}

.uploadBox {
  display: grid;
  gap: 10px;
}

.uploadTitle {
  font-size: 26px;
  line-height: 1.1;
  font-weight: 800;
  color: #55585d;
}

.dropZone {
  position: relative;
  min-height: 186px;
  border: 1px dashed #bfc4ca;
  border-radius: 8px;
  display: grid;
  place-items: center;
  padding: 18px;
  cursor: pointer;
  overflow: hidden;
}

.dropZone input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.dropText {
  display: block;
  text-align: center;
  color: #5c6065;
  font-size: 23px;
  line-height: 1.15;
  max-width: 230px;
}

.sampleCard {
  width: 152px;
  height: 82px;
  border-radius: 12px;
  background: #d4d4d2;
  border: 3px solid #aaaaaa;
  position: relative;
  margin-top: -12px;
}

.sampleCard::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 30px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #aaa;
}

.creditCard::before {
  display: none;
}

.sampleMask {
  position: absolute;
  left: 20px;
  right: 26px;
  top: 8px;
  height: 28px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
}

.sampleText {
  position: absolute;
  left: 42px;
  right: 10px;
  bottom: 16px;
  font-size: 11px;
  line-height: 1.15;
  color: #111;
}

.smallPrint {
  color: #55585d;
  line-height: 1.45;
  margin: 24px 0;
}

button,
.secondaryButton {
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
  min-height: 46px;
  padding: 12px 20px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.submitButton {
  width: 100%;
  background: #18181a;
  color: #fff;
}

.dangerButton {
  background: var(--danger);
  color: #fff;
}

.approveButton {
  background: var(--success);
  color: #fff;
}

.secondaryButton {
  background: #e7eef5;
  color: #16394a;
}

.textLink {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  padding: 0 14px;
}

.notice,
.error {
  border-radius: 8px;
  padding: 14px 16px;
  margin: 16px 0;
  line-height: 1.4;
}

.notice {
  background: #e9f2ff;
  color: #1f4d7a;
}

.error {
  background: #fff0f0;
  color: var(--danger);
}

.adminPage {
  background: #f4f6f8;
}

.adminShell {
  width: min(1180px, calc(100% - 32px));
  margin: 32px auto;
}

.adminHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}

.adminHeader h1 {
  margin-bottom: 4px;
}

.adminHeader p {
  color: var(--muted);
  margin: 0;
}

.adminPanel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.adminPanel.split {
  display: grid;
  grid-template-columns: minmax(280px, 360px) 1fr;
  gap: 28px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding: 14px 10px;
  vertical-align: top;
}

th {
  color: #54565a;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

td span {
  color: var(--muted);
}

dl {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 12px;
}

dt {
  color: var(--muted);
}

dd {
  margin: 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #e7eef5;
  color: #16394a;
  font-weight: 800;
  font-size: 13px;
}

.pill.submitted {
  background: #fff4d7;
  color: #684200;
}

.pill.approved {
  background: #ddf4e4;
  color: #0b5c28;
}

.pill.rejected,
.pill.denied {
  background: #ffe3e1;
  color: var(--danger);
}

.reviewForm {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 22px;
}

.reviewForm textarea {
  grid-column: 1 / -1;
  min-height: 120px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  font: inherit;
}

.previewGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.uploadPreview {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  margin: 0;
  background: #fff;
}

.uploadPreview img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #f1f2f3;
}

.uploadPreview figcaption {
  padding: 10px;
  color: var(--muted);
  font-size: 13px;
  word-break: break-word;
}

@media (max-width: 760px) {
  .verifyShell {
    padding: 0;
  }

  .verifyPanel {
    border-left: 0;
    border-right: 0;
  }

  .uploadGrid,
  .adminPanel.split {
    grid-template-columns: 1fr;
  }

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

  table {
    display: block;
    overflow-x: auto;
  }
}
