.identity-verification-reviews-page__stats-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.identity-verification-reviews-page__panel {
  border: 1px solid var(--admin-page-section-border);
  border-radius: var(--admin-page-section-radius);
  background: #ffffff;
  overflow: hidden;
}

.identity-verification-reviews-page__panel .search-filter-toolbar {
  margin: 0;
  padding: 24px;
  border: 0;
  border-bottom: 1px solid var(--admin-page-table-divider);
  border-radius: 0;
}

.identity-verification-reviews-page__list {
  display: flex;
  flex-direction: column;
}

.identity-verification-reviews-page__item {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 24px;
  border-bottom: 1px solid var(--admin-page-table-divider);
}

.identity-verification-reviews-page__item--expanded {
  background: #ffffff;
}

.identity-verification-reviews-page__item:last-child {
  border-bottom: 0;
}

.identity-verification-reviews-page__item-main {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.identity-verification-reviews-page__item-header,
.identity-verification-reviews-page__name-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.identity-verification-reviews-page__name,
.identity-verification-reviews-page__user-name {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px;
  line-height: 1.4;
}

.identity-verification-reviews-page__name {
  color: #0f172a;
  font-size: 16px;
  font-weight: 700;
}

.identity-verification-reviews-page__user-name {
  color: #475569;
  font-size: 13px;
  font-weight: 600;
}

.identity-verification-reviews-page__name-label {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 600;
}

.identity-verification-reviews-page__status-badge {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}

.identity-verification-reviews-page__status-badge--pending {
  background: #fff7ed;
  color: #ea580c;
}

.identity-verification-reviews-page__status-badge--approved {
  background: #dcfce7;
  color: #16a34a;
}

.identity-verification-reviews-page__status-badge--rejected {
  background: #fee2e2;
  color: #dc2626;
}

.identity-verification-reviews-page__meta {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
}

.identity-verification-reviews-page__detail-button {
  min-width: 104px;
  min-height: 40px;
  border-radius: 14px;
  color: #334155;
  background: #f8fafc;
  flex-shrink: 0;
}

.identity-verification-reviews-page__detail-button:hover {
  background: #f1f5f9;
}

.identity-verification-reviews-page__details {
  width: 100%;
  padding-top: 4px;
}

.identity-verification-reviews-page__details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 32px;
  padding: 24px;
  border-radius: 20px;
  background: #f8fafc;
}

.identity-verification-reviews-page__detail-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.identity-verification-reviews-page__detail-label {
  margin: 0;
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.4;
}

.identity-verification-reviews-page__detail-value {
  margin: 0;
  color: #0f172a;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.identity-verification-reviews-page__certificate-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
  padding: 0 24px;
}

.identity-verification-reviews-page__thumbnail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 160px));
  gap: 14px;
}

.identity-verification-reviews-page__thumbnail-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.identity-verification-reviews-page__thumbnail-card:hover
  .identity-verification-reviews-page__thumbnail-frame {
  border-color: #2563eb;
  background: #eff6ff;
}

.identity-verification-reviews-page__thumbnail-frame {
  display: flex;
  width: 100%;
  aspect-ratio: 4 / 3;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px dashed #cbd5e1;
  border-radius: 14px;
  background: #ffffff;
  transition:
    border-color 0.16s ease,
    background 0.16s ease;
}

.identity-verification-reviews-page__thumbnail-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.identity-verification-reviews-page__thumbnail-fallback {
  display: inline-flex;
  max-width: 100%;
  min-height: 72px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 12px;
  background: #f1f5f9;
  color: #2563eb;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
}

.identity-verification-reviews-page__thumbnail-title {
  overflow: hidden;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.identity-verification-reviews-page__certificate-empty,
.identity-verification-reviews-page__empty-state {
  color: #64748b;
  font-size: 14px;
}

.identity-verification-reviews-page__certificate-empty {
  display: inline-flex;
  width: fit-content;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px dashed #cbd5e1;
  border-radius: 14px;
  background: #ffffff;
}

.identity-verification-reviews-page__empty-state {
  padding: 28px 24px;
}

.identity-verification-reviews-page__preview-body {
  display: flex;
  min-height: 420px;
  flex: 1;
  align-items: center;
  justify-content: center;
  background: #0f172a;
}

.identity-verification-reviews-page__preview-image {
  display: block;
  width: 100%;
  max-height: calc(90vh - 90px);
  object-fit: contain;
}

.identity-verification-reviews-page__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
  padding: 0 24px 24px;
}

.identity-verification-reviews-page__approve-button,
.identity-verification-reviews-page__reject-button {
  min-height: 48px;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 700;
}

.identity-verification-reviews-page__approve-button {
  color: #ffffff;
  background: #16a34a;
}

.identity-verification-reviews-page__approve-button:hover {
  background: #15803d;
}

.identity-verification-reviews-page__reject-button {
  color: #ffffff;
  background: #ea580c;
}

.identity-verification-reviews-page__reject-button:hover {
  background: #c2410c;
}

.identity-verification-reviews-page__approve-button:disabled,
.identity-verification-reviews-page__reject-button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

@media (max-width: 900px) {
  .identity-verification-reviews-page__stats-grid,
  .identity-verification-reviews-page__details-grid {
    grid-template-columns: 1fr;
  }
}
