.verificationDetails {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
}

.verificationHeading {
  position: relative;
  z-index: 1;
  align-self: center;
  margin: 0 0 -20px;
}

.verificationSeal {
  display: block;
  width: 82px;
  height: 82px;
  overflow: visible;
}

.verificationSealOuter {
  fill: #087b32;
  stroke: #075b28;
  stroke-width: 1.5;
}

.verificationSealCenter {
  fill: #087b32;
  stroke: #fff;
  stroke-width: 1.5;
}

.verificationSealText {
  fill: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 1.1px;
}

.verificationSealText:last-of-type {
  transform: translateY(3px);
}

.verificationSealCheck {
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5;
}

.verificationSealStar {
  fill: #fff;
}

.verificationCard {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(110px, 32%);
  grid-template-rows: minmax(0, 1fr);
  align-items: stretch;
  gap: 14px;
  width: 100%;
  aspect-ratio: 86 / 54;
  padding: 28px;
  overflow: hidden;
  border: 2px solid #0d6657;
  border-radius: 14px;
  background:
    linear-gradient(135deg, #fff 0 72%, #eef5f1 72% 100%);
  box-shadow: 0 10px 28px #11211e20;
}

.verificationCard.isExpired {
  grid-template-columns: minmax(0, 1fr);
}

.verificationWatermark {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #087b32;
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  opacity: 0.14;
  pointer-events: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.verificationWatermark span {
  transform: rotate(-24deg);
}

.verificationCard.isExpired .verificationWatermark {
  color: #a23a2a;
}

.verificationCardContent {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.4;
}

.verificationHolderName {
  margin: 0 0 3px;
  color: var(--green);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
}

.verificationTable {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 2px;
  table-layout: fixed;
  color: var(--ink);
  font-size: 11px;
}

.verificationTable th,
.verificationTable td {
  padding: 4px 5px;
  border-bottom: 2px solid #fff;
  overflow-wrap: anywhere;
}

.verificationTable .verificationNameRow td,
.verificationTable tr:nth-child(2) th,
.verificationTable tr:nth-child(2) td {
  background: #dcefe8;
}

.verificationTable tr:nth-child(3) th,
.verificationTable tr:nth-child(3) td {
  background: #f5edcf;
}

.verificationTable tr:nth-child(4) th,
.verificationTable tr:nth-child(4) td {
  background: #e4eaf2;
}

.verificationTable tr:nth-child(5) th,
.verificationTable tr:nth-child(5) td {
  background: #e8eee8;
}

.verificationTable th {
  width: 33%;
  border-right: 2px solid rgba(255, 255, 255, 0.85);
  font-weight: 700;
  text-align: right;
}

.verificationTable td {
  font-weight: 600;
  text-align: left;
}

.verificationTable tr:not(.verificationNameRow) th {
  text-align: right;
}

.verificationTable tr:not(.verificationNameRow) td {
  text-align: left;
}

.verificationTable .verificationNameRow td {
  border-right: 0;
  color: var(--green);
  font-size: clamp(11px, 2.7vw, 16px);
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
  text-align: center;
}

.verificationPhotoFrame {
  position: relative;
  z-index: 3;
  display: flex;
  min-width: 0;
  min-height: 0;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.verifiedHolderPhoto {
  display: block;
  max-width: 100%;
  max-height: 100%;
  min-height: 0;
  object-fit: contain;
  border: 2px solid #fff;
  border-radius: 8px;
  box-shadow: 0 3px 12px #11211e25;
}

.verificationPhotoFrame p {
  margin: 0;
  color: #64706c;
  font-size: 12px;
  text-align: center;
}

@media (max-width: 650px) {
  .verificationDetails {
    max-width: 360px;
  }

  .verificationHeading {
    margin-bottom: -16px;
  }

  .verificationSeal {
    width: 76px;
    height: 76px;
  }

  .verificationCard {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    aspect-ratio: 54 / 86;
    padding: 34px 14px 18px;
    background: linear-gradient(180deg, #fff 0 75%, #eef5f1 75% 100%);
  }

  .verificationCard.isExpired {
    justify-content: center;
  }

  .verificationPhotoFrame {
    order: -1;
    width: min(66%, 170px);
    height: 32%;
  }

  .verifiedHolderPhoto {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
  }

  .verificationCardContent {
    align-items: stretch;
    gap: 9px;
    width: 100%;
    font-size: 12px;
    text-align: left;
  }

  .verificationTable .verificationNameRow td,
  .verificationTable tr:nth-child(2) th,
  .verificationTable tr:nth-child(2) td {
    background-color: #dcefe8;
  }

  .verificationTable tr:nth-child(3) th,
  .verificationTable tr:nth-child(3) td {
    background-color: #f5edcf;
  }

  .verificationTable tr:nth-child(4) th,
  .verificationTable tr:nth-child(4) td {
    background-color: #e4eaf2;
  }

  .verificationTable tr:nth-child(5) th,
  .verificationTable tr:nth-child(5) td {
    background-color: #e8eee8;
  }

  .verificationHolderName {
    font-size: 18px;
    text-align: center;
  }

  .verificationTable th,
  .verificationTable td {
    padding: 6px 7px;
    font-size: 12px;
  }

  .verificationTable th {
    width: 33%;
  }
}
