/* Greek ID Verification -- Results */

/* === VERDICT HERO CARD === */
.verdict-hero-card { border: none; box-shadow: none; background: transparent; }
.verdict-hero-card .card-body { padding: 0; }

.verdict-hero {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow);
  position: sticky;
  top: 64px;
}

.verdict-hero-score {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  font-family: 'Geist Mono', monospace;
  margin: 0 auto 8px;
  position: relative;
}
.verdict-hero-score::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 4px solid;
}
.verdict-hero-score.green { color: var(--green); }
.verdict-hero-score.green::after { border-color: var(--green); }
.verdict-hero-score.amber { color: var(--amber); }
.verdict-hero-score.amber::after { border-color: var(--amber); }
.verdict-hero-score.red { color: var(--red); }
.verdict-hero-score.red::after { border-color: var(--red); }

.verdict-hero-score.tampered-glow {
  animation: tamperPulse 2s ease-in-out infinite;
}
@keyframes tamperPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(207, 34, 46, 0.3); }
  50% { box-shadow: 0 0 20px 8px rgba(207, 34, 46, 0.2); }
}

.verdict-hero-level {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}
.verdict-hero-level.green { color: var(--green); }
.verdict-hero-level.amber { color: var(--amber); }
.verdict-hero-level.red { color: var(--red); }

.verdict-hero-desc {
  font-size: 0.78rem;
  color: var(--text-2);
  margin-top: 4px;
  line-height: 1.5;
}

.verdict-hero-divider {
  height: 1px;
  background: var(--border);
  margin: 14px 0;
}

/* Face inside verdict hero */
.verdict-hero-face { text-align: left; }

.verdict-face-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}
.verdict-face-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-2);
}
.verdict-face-val {
  font-size: 0.78rem;
  font-weight: 700;
  font-family: 'Geist Mono', monospace;
}
.verdict-face-val.pass { color: var(--green); }
.verdict-face-val.fail { color: var(--red); }

.verdict-face-explain {
  font-size: 0.7rem;
  color: var(--text-3);
  line-height: 1.5;
  margin-bottom: 6px;
}

.verdict-face-muted {
  font-size: 0.75rem;
  color: var(--text-3);
  font-style: italic;
}

/* Flags list */
.verdict-hero-flags {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 200px;
  overflow-y: auto;
}

.verdict-flag {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 500;
  padding: 3px 0;
}
.verdict-flag.fail { color: var(--red); }
.verdict-flag.warn { color: var(--amber); }
.verdict-flag.pass { color: var(--green); }

.verdict-hero-btns {
  display: flex;
  gap: 6px;
  margin-top: 14px;
  justify-content: center;
}

.verdict-hero-toc {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.verdict-toc-link {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  padding: 2px 6px;
  border-radius: 4px;
  transition: background 0.12s;
}
.verdict-toc-link:hover { background: var(--accent-bg); }

/* === DOC TABS (stronger) === */
.doc-view-tabs {
  display: flex;
  gap: 3px;
  margin-bottom: 10px;
  background: var(--surface-2);
  border-radius: 8px;
  padding: 3px;
}

.doc-view-tab {
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-3);
  cursor: pointer;
  border: 1px solid transparent;
  background: transparent;
  font-family: inherit;
  transition: all 0.12s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.doc-view-tab:hover {
  color: var(--text);
  border-color: var(--border);
  background: var(--surface);
}
.doc-view-tab.active {
  background: var(--accent);
  color: white;
  font-weight: 600;
  border-color: var(--accent);
  box-shadow: 0 1px 3px rgba(9, 105, 218, 0.3);
}

/* === DOCUMENT GRID === */
.doc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.doc-img-box {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.15s;
}

.doc-img-box:hover {
  border-color: var(--accent);
  box-shadow: 0 2px 8px rgba(9, 105, 218, 0.12);
}

.doc-img-box .label-float {
  position: absolute;
  top: 6px;
  left: 6px;
  background: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.magnify-hint {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.65);
  color: white;
  padding: 4px 8px;
  border-radius: 5px;
  font-size: 0.65rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
  backdrop-filter: blur(4px);
}
.doc-img-box:hover .magnify-hint { opacity: 1; }

/* === MRZ PILL FAIL === */
.mrz-pill-fail {
  background: var(--red-bg) !important;
  color: var(--red) !important;
}

/* === CHECKS GROUPED === */
.checks-group {
  margin-bottom: 10px;
}
.checks-group:last-child { margin-bottom: 0; }

.checks-group-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
  padding-left: 2px;
}

/* === DOC GRID WITH SELFIE === */
.doc-grid.has-selfie { grid-template-columns: 1fr 1fr auto; }
.doc-selfie-box {
  width: 120px;
  aspect-ratio: 1;
  position: relative;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.15s;
}
.doc-selfie-box:hover { border-color: var(--accent); }
.doc-selfie-box img { width: 100%; height: 100%; object-fit: cover; display: block; }
.doc-add-selfie {
  width: 120px;
  aspect-ratio: 1;
  border: 1px dashed var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  font-size: 0.68rem;
  color: var(--text-3);
  cursor: pointer;
  transition: all 0.15s;
}
.doc-add-selfie:hover { border-color: var(--accent); color: var(--accent); }

/* === REPLACE BUTTON ON IMAGES === */
.doc-replace-btn {
  position: absolute;
  bottom: 6px;
  right: 6px;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(0,0,0,0.6);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.15s;
  backdrop-filter: blur(4px);
  z-index: 3;
}
.doc-img-box:hover .doc-replace-btn,
.doc-selfie-box:hover .doc-replace-btn { opacity: 1; }

/* === RE-ANALYZE BAR === */
.reanalyze-bar {
  position: sticky;
  top: 52px;
  z-index: 150;
  background: var(--amber-bg);
  border-bottom: 1px solid #fde68a;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--amber);
  animation: fadeIn 0.2s ease;
}
.reanalyze-bar .tb { font-size: 0.75rem; }
