/* ===== Access / Key page ===== */
.access-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
}

.access-lang {
  display: inline-flex;
  gap: 0.25rem;
}
.access-lang .lang-btn {
  padding: 0.35rem 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.access-lang .lang-btn:hover { color: var(--text); border-color: rgba(255, 212, 100, 0.3); }
.access-lang .lang-btn.active { color: var(--accent); border-color: var(--accent); }

.back-link {
  position: absolute;
  top: 2rem;
  left: 1.5rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}
.back-link:hover {
  color: var(--text);
}

.access-card {
  max-width: 420px;
  margin: 0 auto;
  padding: 2.5rem;
  position: relative;
}

.access-header {
  margin-bottom: 2rem;
  text-align: center;
}

.access-header h1 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.access-header p {
  font-size: 0.9375rem;
}

#access-error.sr-only {
  position: static;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  overflow: visible;
  clip: auto;
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

#access-error:not(:empty) {
  display: block;
}

.access-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.1s;
}

.access-close:hover {
  background: rgba(255, 212, 100, 0.06);
  color: var(--text);
  border-color: rgba(255, 212, 100, 0.4);
  transform: translateY(-1px);
}

/* Success page */
.success-card .license-display {
  margin-bottom: 0;
}

.license-value {
  font-family: ui-monospace, monospace;
  font-size: 1rem;
  padding: 0.75rem 1rem;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--accent);
  word-break: break-all;
  margin-top: 0.5rem;
}
