html,
body {
  min-height: 100%;
}

body.page-template-template-signup {
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(96, 165, 250, 0.22), transparent 28%),
    radial-gradient(circle at right bottom, rgba(29, 78, 216, 0.16), transparent 32%),
    linear-gradient(160deg, #f6fbff 0%, #edf4ff 50%, #f8fbff 100%);
}

.blesskinsignup-page {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.25rem;
}

.blesskinsignup-page::before,
.blesskinsignup-page::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.blesskinsignup-page::before {
  top: 9%;
  right: 8%;
  width: 320px;
  height: 320px;
  background: rgba(191, 219, 254, 0.55);
}

.blesskinsignup-page::after {
  left: -70px;
  bottom: 7%;
  width: 300px;
  height: 300px;
  background: rgba(147, 197, 253, 0.32);
}

.blesskinsignup-form-wrapper {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  padding: 2.5rem;
  border: 1px solid rgba(37, 99, 235, 0.1);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(16px);
}

.blesskinsignup-title {
  margin-bottom: 0.55rem;
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-align: center;
  color: #12316d;
}

.blesskinsignup-subtitle {
  margin-bottom: 1.6rem;
  text-align: center;
  color: #5d729c;
  line-height: 1.6;
}

.blesskinsignup-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.blesskinsignup-input-group {
  position: relative;
}

.blesskinsignup-input-field {
  width: 100%;
  min-height: 60px;
  padding: 1.45rem 1rem 0.7rem;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 255, 0.95));
  color: #102347;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.blesskinsignup-input-field:focus {
  border-color: rgba(37, 99, 235, 0.48);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
  transform: translateY(-1px);
  outline: none;
}

.blesskinsignup-input-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #6880ac;
  pointer-events: none;
  transition: all 0.2s ease;
}

.blesskinsignup-input-field:focus + .blesskinsignup-input-label,
.blesskinsignup-input-field:not(:placeholder-shown) + .blesskinsignup-input-label {
  top: 0.58rem;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: #2563eb;
}

.blesskinsignup-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 0.2rem;
  color: #5d729c;
  line-height: 1.6;
}

.blesskinsignup-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
  accent-color: #2563eb;
}

.blesskinsignup-checkbox-label a {
  color: #1d4ed8;
  font-weight: 700;
  text-decoration: none;
}

.blesskinsignup-checkbox-label a:hover {
  text-decoration: underline;
}

.blesskinsignup-btn {
  margin-top: 0.4rem;
  min-height: 56px;
  border: none;
  border-radius: 18px;
  background: linear-gradient(135deg, #1d4ed8 0%, #60a5fa 100%);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 18px 32px rgba(37, 99, 235, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.blesskinsignup-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 34px rgba(37, 99, 235, 0.3);
  filter: saturate(1.05);
}

.blesskinsignup-login-link {
  margin-top: 1.25rem;
  text-align: center;
  color: #5d729c;
}

.blesskinsignup-login-link a {
  color: #1d4ed8;
  font-weight: 700;
  text-decoration: none;
}

.blesskinsignup-login-link a:hover {
  text-decoration: underline;
}

.blesskinsignup-social-links {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.blesskinsignup-social-links .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(37, 99, 235, 0.12);
  background: #f7faff;
  color: #1d4ed8;
  font-size: 1.1rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.blesskinsignup-social-links .social-icon:hover {
  transform: translateY(-2px);
  background: #eff6ff;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.14);
}

.blesskin-login-error {
  margin-bottom: 1rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(239, 68, 68, 0.18);
  border-radius: 16px;
  background: rgba(254, 242, 242, 0.94);
  color: #b91c1c;
  line-height: 1.55;
}

@media (max-width: 640px) {
  .blesskinsignup-page {
    padding: 2rem 1rem;
  }

  .blesskinsignup-form-wrapper {
    padding: 1.65rem;
    border-radius: 22px;
  }

  .blesskinsignup-title {
    font-size: 1.8rem;
  }
}
