.verification-page {
  padding: 20px;
}
/* ===== Stat cards (top row) ===== */
.static-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}
.static-grid .custom-card {
  display: flex;
  align-items: center;
  gap: 16px;
}
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.card-icon.verified { background: #eef7f0; color: #2e7d46; }
.card-icon.pending   { background: var(--chola-accent-light); color: var(--chola-accent-dark); }
.card-icon.total     { background: #eef0fb; color: #4650c9; }

.static-title {
  font-size: 12px;
  color: var(--chola-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.static-value {
  font-size: 26px;
  font-weight: 700;
  font-family: var(--chola-font-head);
  color: var(--chola-ink);
}

/* ===== Two-column layout: list + details panel ===== */
.account-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 20px;
  align-items: start;
}
.list-card { padding: 0; overflow: hidden; }

/* Filter tabs */
.card-header {
  display: flex;
  gap: 90px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--chola-border);
}
.list-filter {
  display: flex;
  gap: 4px;
}
.list-filter a {
  font-family: var(--chola-font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--chola-text-secondary);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.15s, color 0.15s;
}
.list-filter a:hover { background: var(--chola-bg); }
.list-filter a.active {
  color: var(--chola-accent-dark);
  background: var(--chola-accent-light);
}
.filter-count {
  font-size: 11px;
  font-weight: 700;
  background: rgba(0,0,0,0.06);
  padding: 1px 7px;
  border-radius: 20px;
}
.list-filter a.active .filter-count {
  background: var(--chola-accent);
  color: #fff;
}
.verify-error {
  font-size: 13px;
  color: var(--chola-danger);
}

/* Table — fixed height, scrolls internally */
.account-table-wrap {
  height: 560px;
  overflow-y: auto;
}
.account-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--chola-font-body);
}
.account-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  text-align: left;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--chola-text-secondary);
  padding: 12px 20px;
  background: var(--chola-bg);
  border-bottom: 1px solid var(--chola-border);
  white-space: nowrap;
}
.account-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--chola-border);
  font-size: 13.5px;
  color: var(--chola-ink);
  vertical-align: middle;
}
.account-row { cursor: pointer; transition: background 0.15s; }
.account-row:hover { background: var(--chola-bg); }
.account-row.active {
  background: var(--chola-accent-light);
}
.account-row.active td { color: var(--chola-ink); }

/* account identity cell */
.account-cell { 
  display: flex; gap: 12px; 
  align-items: center; 
}
.account-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.account-avatar-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--chola-accent-light);
  color: var(--chola-accent-dark);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
}
.account-cell-text {
  min-width: 0; /* allows child truncation to work inside a flex item */
}
.account-name {
  font-weight: 600;
  color: var(--chola-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.role-badge {
  display: inline-block;
  margin-top: 4px;
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
  background: var(--chola-primary);
  color: var(--chola-text-inverse);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.account-contact { 
  display: flex; gap: 5px;
  align-items: center;
  font-size: 12px; 
}

/* Status pill */
.status-pill {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
}
.status-pending  { background: var(--chola-accent-light); color: var(--chola-accent-dark); }
.status-verified { background: #eef7f0; color: #1e5c32; }
.status-rejected { background: var(--chola-danger-bg); color: var(--chola-danger); }

/* Row action buttons */
.row-actions {
  display: flex;
  gap: 6px;
  white-space: nowrap;
}
.row-actions .btn-icon {
  padding: 6px 8px;
  font-size: 12px;
}
.btn-view {
  background: var(--chola-border);
  color: var(--chola-text-secondary);
  border-color: var(--chola-border);
  text-decoration: none;
}
.btn-view:hover { color: var(--chola-ink); }
.btn-view-full {
  background: var(--chola-bg);
  color: var(--chola-ink);
  border-color: var(--chola-border);
  text-decoration: none;
  margin-bottom: 10px;
}

/* Empty state (list) */
.empty-state {
  text-align: center;
  padding: 64px 24px;
  color: var(--chola-text-secondary);
}
.empty-icon {
  font-size: 34px;
  color: var(--chola-border);
  margin-bottom: 12px;
  display: block;
}

/* ===== Details panel (right column) ===== */
.details-card {
  position: sticky;
  top: 20px;
  height: calc(560px + 65px); /* table height + filter bar, so both cards line up */
  overflow-y: auto;
}
.details-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--chola-text-secondary);
}
.details-empty p { font-size: 13.5px; margin-top: 8px; }

.details-header {
  display: flex; 
  flex-direction: column;
  justify-content: center; 
  align-items: center;
  padding-bottom: 18px; 
  margin-bottom: 18px;
  border-bottom: 1px solid var(--chola-border);
}
.details-header .profile-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--chola-border);
}
.details-header .profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.details-name {
  font-family: var(--chola-font-head);
  font-size: 15px;
  font-weight: 600;
  color: var(--chola-ink);
}
.details-status {
  display: flex; gap: 10px;
  justify-content: center;
  align-items: center;
  margin-top: 5px;
}
.details-username {
  font-family: var(--chola-font-head);
  font-size: 12px;
  color: var(--chola-text-secondary);
}

.details-section { margin-bottom: 20px; }
.detail-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 0;
  font-size: 13px;
}
.detail-label { color: var(--chola-text-secondary); flex-shrink: 0; }
.detail-value { color: var(--chola-ink); font-weight: 500; text-align: right; word-break: break-word; }

.details-actions {
  display: flex;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--chola-border);
}
.details-actions .inline-form { flex: 1; }
.details-actions .btn-icon { width: 100%; justify-content: center; }

.btn-icon {
  font-family: var(--chola-font-body);
  font-size: 12.5px;
  font-weight: 600;
  border-radius: 8px;
  padding: 9px 12px;
  border: 1.5px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-icon:hover { transform: translateY(-1px); }
.btn-verify {
  background: #eef7f0;
  color: #1e5c32;
  border-color: #8ecb9e80;
}
.btn-reject {
  background: var(--chola-danger-bg);
  color: var(--chola-danger);
  border-color: #d4898980;
}

@media (max-width: 900px) {
  .account-container { grid-template-columns: 1fr; }
  .details-card { position: static; max-height: none; }
}
@media (max-width: 768px) {
  .static-grid { grid-template-columns: 1fr; }
  .list-filter { overflow-x: auto; }
  .account-table th, .account-table td { padding: 10px 14px; }
}