.auth-page-wrapper {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
  }
/* ===== AUTH CONTAINER ===== */
.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 55px); /* учитываем padding-top у body */
  padding: 20px;
}

.auth-card {
  background: var(--bg-card);
  padding: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  width: 100%;
  max-width: 420px;
  animation: fadeInUp 0.6s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* ===== AUTH for REG DISABLED CONTAINER ===== */
.auth-regdisabled-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

}

.auth-regdisabled-card {
  background: var(--bg-card);
  margin-top: 120px;
  padding: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  max-width: 420px;
  animation: fadeInUp 0.6s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== HEADER ===== */
.auth-header {
  text-align: center;
  margin-bottom: 30px;
}

.auth-title {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 10px;
}

.auth-subtitle {
  margin: 0;
  font-size: 16px;
}

/* ===== FORM ===== */
.auth-form {
  margin-bottom: 24px;
}

.auth-field {
  margin-bottom: 20px;
}

.auth-field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 14px;
}

.auth-input {
  width: 100%;
  padding: 14px;
  background: var(--bg-darker);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: white;
  font-size: 16px;
  transition: all 0.3s ease;
  outline: none;
}

.auth-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(227, 173, 62, 0.3);
}

/* ===== BUTTONS ===== */
.auth-btn {
  display: block;
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

/* Используем ваш .btn-gold-inv для основной кнопки */
.auth-btn:hover {
  background-color: var(--gold-bright) !important;
  border-color: var(--gold) !important;
  color: var(--bg-dark) !important;
}

/* ===== FOOTER & LINKS ===== */
.auth-footer {
  text-align: center;
  margin-top: 24px;
}

.forgot-password {
  display: block;
  margin-bottom: 16px;
  text-decoration: none;
  font-size: 14px;
}

.forgot-password:hover {
  text-decoration: underline;
  color: var(--gold-light) !important;
}

.signup-hint {
  font-size: 14px;
  margin: 0;
}

.signup-link {
  text-decoration: none;
  font-weight: 600;
}

.signup-link:hover {
  text-decoration: underline;
  color: var(--gold-light) !important;
}

/* ===== DIVIDER ===== */
.auth-divider {
  position: relative;
  text-align: center;
  margin: 30px 0;
}

.auth-divider span {
  background: var(--bg-card);
  padding: 0 16px;
  position: relative;
  z-index: 1;
}

.auth-divider:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border-color);
  z-index: 0;
}

/* ===== SOCIAL BUTTONS ===== */
.social-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-btn:hover {
  background-color: var(--gold) !important;
  border-color: var(--gold) !important;
  color: var(--bg-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(227, 173, 62, 0.3);
}

.social-btn i {
  font-size: 18px;
}

/* ===== HINT ===== */
.social-hint {
  text-align: center;
  margin-bottom: 20px;
}

.social-hint p {
  font-size: 13px;
  margin: 0;
}

/* ===== ALERTS ===== */
.alert {
  padding: 12px;
  border-radius: var(--radius-sm);
  margin: 16px 0;
  font-size: 14px;
  background: var(--bg-darker);
  border: 1px solid var(--border-color);
  color: var(--gold);
}

.alert-info {
  border-color: var(--gold);
}

.alert-error {
  border-color: var(--danger);
  color: var(--danger);
}

.alert-link {
  font-weight: bold;
  text-decoration: underline;
}