.auth-page .container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.auth-shell {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px 0 88px;
  margin: 0 auto;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: linear-gradient(180deg, #10151d 0%, #0b1016 100%);
  padding: 34px 30px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.28);
  margin: 0 auto;
  display: block;
}

.auth-card--register {
  max-width: 460px;
}

.auth-card > * {
  display: block;
  width: 100%;
}

.auth-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 22px;
}

.auth-logo {
  width: auto;
  max-width: 148px;
  height: 34px;
  display: block;
  object-fit: contain;
  object-position: center;
}

.auth-title {
  margin: 0 0 8px;
  font-size: 30px;
  line-height: 1.1;
}

.auth-subtitle {
  margin: 0 0 24px;
  color: #9ca6b8;
  font-size: 14px;
}

.auth-alt-btn {
  display: block;
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: #fff;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.auth-alt-btn:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.18);
}

.auth-alt-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.auth-divider {
  margin: 18px 0;
  font-size: 12px;
  color: #6f7b90;
  position: relative;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 38%;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.auth-divider::before {
  left: 0;
}

.auth-divider::after {
  right: 0;
}

.auth-form-block {
  display: block;
  text-align: left;
  width: 100%;
}

.auth-input-group {
  display: block;
  margin-bottom: 14px;
  width: 100%;
}

.auth-input-group label,
.auth-label-row label {
  font-size: 13px;
  color: #c8d0dc;
}

.auth-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.auth-input {
  width: 100%;
  padding: 12px 14px;
  margin-top: 6px;
  background: #0b0f14;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: #fff;
}

.auth-input:focus {
  outline: none;
  border-color: rgba(225, 29, 72, 0.5);
  box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.08);
}

.auth-helper-link {
  font-size: 12px;
  color: #9ca6b8;
  text-decoration: none;
}

.auth-primary-btn {
  display: block;
  width: 100%;
  padding: 13px;
  margin-top: 10px;
  background: #e11d48;
  border: none;
  border-radius: 10px;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.auth-primary-btn:hover {
  background: #be123c;
  transform: translateY(-1px);
}

.auth-check-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 6px 0 18px;
  color: #9ca6b8;
  font-size: 12px;
  line-height: 1.6;
}

.auth-check-row span {
  display: inline;
  width: auto;
}

.auth-check-row input {
  margin-top: 3px;
  width: auto;
  flex: 0 0 auto;
}

.auth-check-row a,
.auth-footer-text a {
  color: #fff;
}
a {
	text-decoration: none;
}

.auth-footer-text {
  display: block;
  margin: 18px 0 0;
  font-size: 13px;
  color: #9ca6b8;
}

.auth-message {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13px;
  text-align: left;
}

.auth-message--success {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.24);
  color: #b6f0c7;
}

.auth-message--error {
  background: rgba(225, 29, 72, 0.12);
  border: 1px solid rgba(225, 29, 72, 0.24);
  color: #ffc0cf;
}

.auth-bottom-note {
  margin: 18px 0 0;
  font-size: 11px;
  line-height: 1.6;
  color: #6f7b90;
}

@media (max-width: 560px) {
  .auth-shell {
    padding: 48px 0 68px;
  }

  .auth-card {
    max-width: 100%;
    padding: 24px 16px;
    border-radius: 18px;
  }

  .auth-logo {
    max-width: 128px;
    height: 30px;
  }

  .auth-title {
    font-size: 24px;
  }
}
