.auth-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px 80px;
  position: relative;
  z-index: 1;
}
.auth-card {
  width: 100%;
  max-width: 420px;
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 8px;
  padding: 36px 32px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}
:root.light .auth-card {
  background: var(--card);
  box-shadow: 0 4px 20px rgba(131, 98, 0, 0.1);
  border-color: rgba(131, 98, 0, 0.15);
}
.auth-card h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 6px;
  letter-spacing: 0.08em;
}
.auth-card .subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  letter-spacing: 0.04em;
  line-height: 1.6;
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 4px;
  font-family: 'Lato', sans-serif;
  font-size: 0.92rem;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.form-group textarea {
  resize: vertical;
  min-height: 80px;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}
:root.light .form-group input,
:root.light .form-group textarea {
  border-color: rgba(131, 98, 0, 0.2);
}
.btn-full {
  width: 100%;
}
.btn-auth {
  padding: 10px 14px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  margin-top: 8px;
}
.auth-footer {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(201, 168, 76, 0.1);
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.auth-footer a {
  color: var(--gold);
  text-decoration: none;
}
@media (hover: hover) {
  .auth-footer a:hover {
    text-decoration: underline;
  }
}
.auth-footer a:active {
  text-decoration: underline;
}
.error-msg {
  background: rgba(192, 57, 43, 0.1);
  color: #e07060;
  border: 1px solid rgba(192, 57, 43, 0.2);
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 0.84rem;
  margin-bottom: 18px;
}
.success-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
  text-align: center;
}
.info-box {
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 6px;
  padding: 14px 16px;
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.auth-page-footer {
  margin-top: auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.75rem;
  color: var(--text-muted);
  position: sticky;
  bottom: 0;
  background: var(--surface, #1a1814);
  border-top: 1px solid rgba(201, 168, 76, 0.12);
  z-index: 100;
}
.auth-page-footer a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.18s;
}
@media (hover: hover) {
  .auth-page-footer a:hover {
    color: var(--gold);
  }
}
.auth-page-footer a:active {
  color: var(--gold);
}
.auth-page-footer span {
  opacity: 0.5;
}
@media (max-width: 600px) {
  .auth-card {
    padding: 28px 20px;
  }
}
