/* Auth Page — Piano Black */
body { background: #000; margin: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }

.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.auth-container { width: 100%; max-width: 400px; }
.auth-brand { text-align: center; margin-bottom: 32px; }
.auth-brand__logo {
  color: #c46849;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
  text-decoration: none;
  display: block;
  margin-bottom: 6px;
}
.auth-brand__sub { color: #555; font-size: 0.85rem; }

.auth-card {
  background: #0a0a0a;
  border: 1px solid #1a1a1a;
  border-radius: 12px;
  padding: 32px;
}
.auth-tabs {
  display: flex;
  border-bottom: 1px solid #1a1a1a;
  margin-bottom: 24px;
}
.auth-tab {
  flex: 1;
  padding: 12px;
  background: none;
  border: none;
  color: #555;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}
.auth-tab:hover { color: #a0a0a0; }
.auth-tab--active { color: #c46849; border-bottom-color: #c46849; }

.auth-form { display: none; }
.auth-form--active { display: block; }

.auth-field { margin-bottom: 16px; }
.auth-field label {
  display: block;
  color: #808080;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 6px;
}
.auth-field input {
  width: 100%;
  padding: 12px 14px;
  background: #000;
  border: 1px solid #1a1a1a;
  border-radius: 8px;
  color: #f0f0f0;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.auth-field input:focus { border-color: #c46849; }
.auth-field input::placeholder { color: #333; }

.auth-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.auth-checkbox input[type="checkbox"] { accent-color: #c46849; width: 16px; height: 16px; }
.auth-checkbox label { color: #808080; font-size: 0.85rem; cursor: pointer; }

.auth-submit {
  width: 100%;
  padding: 14px;
  background: #c46849;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.auth-submit:hover { background: #d4785a; }
.auth-submit:disabled { opacity: 0.5; cursor: not-allowed; }

.auth-alert {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-bottom: 16px;
  display: none;
}
.auth-alert--error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #ef4444;
}
.auth-alert--success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: #22c55e;
}
.auth-footer {
  text-align: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #1a1a1a;
}
.auth-footer a { color: #c46849; text-decoration: none; font-size: 0.9rem; }
.auth-footer a:hover { text-decoration: underline; }

.auth-back { text-align: center; margin-top: 20px; }
.auth-back a { color: #555; text-decoration: none; font-size: 0.85rem; }
.auth-back a:hover { color: #c46849; }
