body.page-template-template-login {
  background: #070910;
}

body.page-template-template-login .site-header,
body.page-template-template-login .site-footer,
body.page-template-template-signup .site-header,
body.page-template-template-signup .site-footer {
  display: none;
}

body.page-template-template-login .site-main,
body.page-template-template-signup .site-main {
  min-height: 100vh;
  padding: 0;
}

.vg-login-page {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 24px 16px;
}

.vg-login-page__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(21, 117, 226, 0.2), #070910 50%, rgba(0, 34, 80, 0.45));
}

.vg-login-page__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
}

.vg-login-page__orb {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  filter: blur(100px);
  animation: vg-login-pulse 4s ease-in-out infinite;
}

.vg-login-page__orb--left {
  top: 20%;
  left: 15%;
  background: rgba(37, 99, 235, 0.22);
}

.vg-login-page__orb--right {
  right: 10%;
  bottom: 15%;
  background: rgba(20, 184, 166, 0.18);
}

.vg-login-shell {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 460px;
}

.vg-login-logo-wrap {
  text-align: center;
  margin-bottom: 22px;
}

.vg-login-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.vg-login-logo-link .custom-logo {
  max-height: 44px;
  width: auto;
}

.vg-login-logo-text {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #fff;
}

.vg-login-card {
  position: relative;
  border-radius: 18px;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  background: linear-gradient(135deg, rgba(26, 29, 36, 0.94), rgba(19, 21, 26, 0.9));
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), 0 0 80px rgba(21, 117, 226, 0.1);
  backdrop-filter: blur(10px);
}

.vg-login-card__line {
  position: absolute;
  left: 32px;
  right: 32px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
}

.vg-login-head {
  text-align: center;
  margin-bottom: 20px;
}

.vg-login-head h1 {
  color: #fff;
  margin: 0 0 8px;
  font-size: 30px;
}

.vg-login-head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
}

.vg-login-alert {
  margin-bottom: 14px;
  border-radius: 10px;
  border: 1px solid rgba(248, 113, 113, 0.7);
  color: #fecaca;
  background: rgba(127, 29, 29, 0.35);
  padding: 10px 12px;
  font-size: 14px;
}

.vg-login-form {
  display: grid;
  gap: 16px;
}

.vg-login-field label {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.vg-login-field input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  padding: 10px 12px;
  font-size: 14px;
}

.vg-login-field input:focus {
  outline: none;
  border-color: rgba(37, 99, 235, 0.85);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
}

.vg-login-password-wrap {
  position: relative;
}

.vg-login-password-wrap input {
  padding-right: 44px;
}

.vg-login-password-toggle {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
}

.vg-login-password-wrap.is-visible .vg-login-eye-open {
  display: none;
}

.vg-login-password-wrap:not(.is-visible) .vg-login-eye-closed {
  display: none;
}

.vg-login-checks {
  display: grid;
  gap: 12px;
}

.vg-login-checks label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.vg-login-checks a,
.vg-login-actions a,
.vg-login-foot a {
  color: #60a5fa;
  text-decoration: none;
}

.vg-login-checks a:hover,
.vg-login-actions a:hover,
.vg-login-foot a:hover {
  color: #2dd4bf;
}

.vg-login-actions {
  text-align: right;
  font-size: 14px;
}

.vg-login-submit {
  border: 0;
  border-radius: 10px;
  padding: 12px 14px;
  color: #fff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  background: linear-gradient(90deg, #2563eb, #14b8a6);
}

.vg-login-divider {
  position: relative;
  margin: 18px 0 14px;
  text-align: center;
}

.vg-login-divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.vg-login-divider span {
  position: relative;
  z-index: 1;
  padding: 0 10px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, rgba(26, 29, 36, 0.94), rgba(19, 21, 26, 0.9));
}

.vg-login-socials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.vg-login-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.vg-login-social-icon {
  width: 14px;
  height: 14px;
}

@media (hover: hover) {
  .vg-login-social-btn:hover {
    border-color: rgba(255, 255, 255, 0.26);
    background-color: rgba(255, 255, 255, 0.12);
  }
}

@supports (color: color-mix(in lab, red, red)) {
  @media (hover: hover) {
    .vg-login-social-btn:hover {
      background-color: color-mix(in oklab, white 12%, transparent);
    }
  }
}

.vg-login-foot {
  margin-top: 16px;
  text-align: center;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

@keyframes vg-login-pulse {
  0%,
  100% {
    opacity: 0.75;
  }
  50% {
    opacity: 1;
  }
}
