.member-auth-page header {
  display: none;
}

.member-auth-page::before {
  display: none;
}

.member-auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at top, #0d1b3d 0%, #050b1a 60%, #030712 100%);
  font-family: "Segoe UI", Arial, sans-serif;
  color: #fff;
  padding: 20px;
}

.member-auth-page > .custom-container {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.template-login-card {
  width: 100%;
  max-width: 420px;
  background: linear-gradient(180deg, #0a1530 0%, #070f22 100%);
  border: 1px solid rgba(80, 120, 200, 0.25);
  border-radius: 20px;
  padding: 40px 32px;
  box-shadow: 0 0 60px rgba(20, 60, 160, 0.25);
  position: relative;
  overflow: hidden;
}

.template-login-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(circle, rgba(30, 90, 220, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.template-login-card > * {
  position: relative;
  z-index: 1;
}

.template-login-card .logo-wrap {
  text-align: center;
  margin-bottom: 8px;
}

.template-login-card .logo-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 8px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 10px 28px rgba(61, 139, 255, 0.25));
}

.template-login-card .brand-name {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1.2;
}

.template-login-card .brand-name .accent {
  color: #ff8c1a;
}

.template-login-card .brand-name .primary {
  color: #3d8bff;
}

.template-login-card .tagline {
  font-size: 11px;
  letter-spacing: 2px;
  color: #cfd8ea;
  margin-top: 4px;
  font-weight: 600;
}

.template-login-card .tagline .accent {
  color: #ff8c1a;
}

.template-login-card .tagline .primary {
  color: #3d8bff;
}

.template-login-card .tagline .dot {
  color: #cfd8ea;
}

.template-login-card h1.welcome {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  margin-top: 28px;
  margin-bottom: 0;
  color: #fff;
}

.template-login-card h1.welcome .primary {
  color: #3d8bff;
}

.template-login-card .subtitle {
  text-align: center;
  font-size: 14px;
  color: #b7c2da;
  margin-top: 6px;
  margin-bottom: 26px;
}

.template-login-card .auth-form {
  position: relative;
  overflow: visible;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

.template-login-card .auth-form::before {
  display: none;
}

.template-login-card label {
  display: block;
  font-size: 13px;
  color: #dbe2f2 !important;
  margin-bottom: 6px;
  margin-top: 18px;
  font-weight: 400;
}

.template-login-card .input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(15, 25, 55, 0.6);
  border: 1px solid rgba(90, 120, 190, 0.4);
  border-radius: 10px;
  padding: 0 14px;
  transition: border-color 0.2s;
}

.template-login-card .input-wrap:focus-within {
  border-color: #3d8bff;
}

.template-login-card .input-wrap svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.template-login-card .input-wrap input {
  flex: 1;
  min-height: auto;
  background: transparent !important;
  border: none !important;
  outline: none;
  color: #fff !important;
  font-size: 14px;
  padding: 13px 10px !important;
  box-shadow: none !important;
}

.template-login-card .input-wrap input::placeholder {
  color: #7686a8 !important;
}

.template-login-card .toggle-pass {
  cursor: pointer;
  opacity: 0.7;
  background: none !important;
  border: none;
  width: auto;
  height: auto;
  padding: 0;
  border-radius: 0;
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.template-login-card .forgot {
  text-align: right;
  margin-top: 12px;
}

.template-login-card .forgot a {
  font-size: 13px;
  color: #3d8bff;
  text-decoration: none;
}

.template-login-card .forgot a:hover {
  text-decoration: underline;
}

.template-login-card .btn-submit {
  width: 100%;
  margin-top: 22px;
  padding: 14px;
  border: none !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, #1a5fd9 0%, #3d8bff 100%) !important;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(30, 90, 220, 0.35);
  transition: transform 0.15s;
}

.template-login-card .btn-submit:hover {
  transform: translateY(-1px);
}

.template-login-card .divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 26px 0 18px;
  color: #8a97b8;
  font-size: 13px;
}

.template-login-card .divider::before,
.template-login-card .divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(120, 140, 190, 0.3);
}

.template-login-card .social-row {
  display: flex;
  gap: 12px;
}

.template-login-card .btn-social {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(90, 120, 190, 0.4);
  background: rgba(15, 25, 55, 0.4);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
}

.template-login-card .btn-social:hover {
  background: rgba(25, 40, 80, 0.6);
  color: #fff;
}

.template-login-card .signup-row {
  text-align: center;
  margin-top: 26px;
  font-size: 13px;
  color: #b7c2da;
}

.template-login-card .signup-row a {
  color: #ff8c1a;
  text-decoration: none;
  font-weight: 600;
}

.template-login-card .signup-row a:hover {
  text-decoration: underline;
}

@media (max-width: 430px) {
  .member-auth-page {
    padding: 20px;
  }

  .template-login-card {
    padding: 36px 26px;
  }
}
