/* src/styles/auth.css */
.auth-container {
  display: flex;
  background: var(--bg);
  justify-content: center;
  align-items:  center;
  min-height: 100vh;
  padding: 20px;
}

.auth-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  text-align: center;
  width: 100%;
  max-width: 400px;
  padding: 40px;
}

.auth-title {
  margin-bottom: 8px;
  font-size: 28px;
  font-weight: 800;
}

.auth-subtitle {
  color: var(--text-dim);
  margin-bottom: 32px;
  font-size: 14px;
}

.auth-tabs {
  display: flex;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--bg-hover);
  gap: 0;
  margin-bottom: 24px;
}

.auth-tab {
  color: var(--text-dim);
  cursor: pointer;
  background: none;
  border: none;
  flex: 1;
  padding: 10px;
  transition: background .2s, color .2s;
  font-size: 14px;
  font-weight: 600;
}

.auth-tab:hover {
  background: var(--bg-hover);
}

.auth-tabActive {
  background: var(--accent);
  color: #fff;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.auth-input {
  border-radius: var(--radius);
  border: 1px solid var(--bg-hover);
  background: var(--bg);
  color: var(--text);
  outline: none;
  padding: 12px 16px;
  transition: border-color .2s;
  font-family: inherit;
  font-size: 16px;
}

.auth-input:focus {
  border-color: var(--accent);
}

.auth-btn {
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  border: none;
  padding: 14px;
  transition: opacity .2s;
  font-size: 16px;
  font-weight: 600;
}

.auth-btn:hover {
  opacity: .9;
}

.auth-btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.auth-error {
  color: var(--error);
  margin-top: 4px;
  font-size: 14px;
}

.auth-passkey {
  margin-bottom: 16px;
  font-size: 48px;
}

.auth-hint {
  color: var(--text-dim);
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.5;
}
