/* Post-login "select your card" dialog — shared across every page that includes auth.js.
 * Rendered inside auth.css's .ac-overlay.ac-root, so colours fall back to its --ac-* tokens
 * (always defined there) on pages that don't otherwise define --blue/--bg/--border/--text. */

.op-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(47, 111, 237, 0.12);
  color: var(--blue, var(--ac-primary, #2f6fed));
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.op-card-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.card-select-title { margin: 0 0 16px; padding-right: 32px; font-size: 20px; letter-spacing: -0.01em; }
.card-select-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.card-select-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 12px;
  background: var(--bg, var(--ac-hover, #eef3fc));
  border: 1px solid var(--border, var(--ac-border, #e2e8f4));
  border-radius: 12px;
  font: inherit;
  color: var(--text, var(--ac-text, #10224f));
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.card-select-item:hover,
.card-select-item:focus-visible {
  border-color: var(--blue, var(--ac-primary, #2f6fed));
  box-shadow: 0 0 0 2px var(--blue, var(--ac-primary, #2f6fed)) inset;
}
.card-select-item span.card-select-label { font-size: 0.92rem; font-weight: 600; line-height: 1.3; }

.card-select-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border, var(--ac-border, #e2e8f4));
}
.card-select-stay { font-size: 0.88rem; color: var(--ac-muted, #5b6b8c); }
.card-select-foot-close {
  border: 1px solid var(--border, var(--ac-border, #e2e8f4));
  background: transparent;
  color: var(--text, var(--ac-text, #10224f));
  font: inherit;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
}
.card-select-foot-close:hover,
.card-select-foot-close:focus-visible {
  border-color: var(--blue, var(--ac-primary, #2f6fed));
  color: var(--blue, var(--ac-primary, #2f6fed));
}
