/* =========================
   FLOW SCREENS
   ========================= */
.flow {
  display: none;
  height: 100%;
}

.flow.active {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Headings should not stick to cards */
.card-content h1 {
  margin-bottom: 14px;
}

/* =========================
   PAYMENT QR
   ========================= */

.upi-qr {
  display: flex;
  justify-content: center;
  align-items: center;

  margin: var(--space-md) 0;
  padding: var(--space-md);

  background: var(--color-bg-card);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
}

.upi-qr img {
  width: 220px;
  max-width: 100%;
  height: auto;
  display: block;
}

.form-error {
  color: #d32f2f;
  font-size: 14px;
  margin-top: 8px;
}

/* =========================
   QR ENTRY
   ========================= */

.scan-btn {
  width: 100%;
}

.divider-small {
  font-size: 12px;
  color: var(--color-text-secondary);
  text-align: center;
}

.qr-input {
  display: flex;
  align-items: center;
  gap: 8px;

  justify-content: center;
  margin-top: 6px;
}

.qr-prefix,
.qr-dash {
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.5px;
}

.qr-number {
  width: 110px;
  text-align: center;
}

.qr-suffix {
  width: 90px;
  text-align: center;
}

#screen-login .nav-back,
#screen-login .nav-logout {
  display: none;
}

#consent-qr-container {
  display: flex;
  justify-content: center;
  margin: 16px 0;
}

/* =========================
   DASHBOARD STATS
========================= */

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);

  margin-top: var(--space-md);
}

.stat-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);

  padding: var(--space-md);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;
}

.stat-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text-primary);

  margin-bottom: 4px;
}

.stat-label {
  font-size: 12px;
  color: var(--color-text-secondary);
}

#resume-list {
  margin-top: var(--space-sm);
}

@media (max-width: 360px) {
  .dashboard-stats {
    grid-template-columns: 1fr;
  }
}