/* Login / Register / shared auth pages — look Lopettia */

.auth-body {
  display: grid;
  place-items: center;
  padding: 32px 16px;
}

.auth-card {
  width: min(440px, 100%);
  padding: 36px 32px;
  position: relative;
}

.auth-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.auth-brand img { height: 44px; }
.auth-brand h1 {
  margin: 0;
  font-size: 22px;
  letter-spacing: 0.4px;
  background: linear-gradient(90deg, var(--lp-matrix), #fff 60%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.auth-brand p { margin: 2px 0 0; font-size: 12px; }

.auth-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 18px;
  background: rgba(255, 255, 255, 0.04);
  padding: 4px;
  border-radius: var(--lp-radius);
}

.auth-tabs .tab {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--lp-text-2);
  padding: 8px 10px;
  border-radius: var(--lp-radius-sm);
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.15s;
}
.auth-tabs .tab:hover { color: var(--lp-text); }
.auth-tabs .tab.active {
  background: var(--lp-glass-strong);
  color: var(--lp-text);
  box-shadow: inset 0 0 0 1px var(--lp-line-strong);
}

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

.auth-form label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: var(--lp-text-2);
}

.auth-form input,
.auth-form select {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--lp-line-strong);
  border-radius: var(--lp-radius-sm);
  padding: 10px 12px;
  color: var(--lp-text);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}
.auth-form input:focus,
.auth-form select:focus {
  border-color: var(--lp-matrix);
  background: rgba(0, 212, 184, 0.06);
}

.auth-form .block { width: 100%; margin-top: 4px; }

.auth-form p { margin: 4px 0 0; }

.auth-error {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: var(--lp-radius-sm);
  background: rgba(248, 113, 113, 0.10);
  border: 1px solid rgba(248, 113, 113, 0.4);
  color: #fecaca;
  font-size: 13px;
}

.auth-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--lp-line);
  font-size: 12px;
}
.auth-foot a { color: var(--lp-matrix); text-decoration: none; }

.auth-brandstrip {
  margin-top: 16px;
  justify-content: center;
}

.muted { color: var(--lp-text-mute); }
.small { font-size: 12px; }
