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

.bgOrbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb1,
.orb2,
.orb3,
.orb4 {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  will-change: transform;
}

.orb1 {
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, #93c5fd 0%, #60a5fa 55%, transparent 72%);
  opacity: 0.65;
  top: -140px;
  right: -120px;
  animation: floatOrb1 18s ease-in-out infinite;
}

.orb2 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, #818cf8 0%, #6366f1 50%, transparent 70%);
  opacity: 0.55;
  bottom: -100px;
  left: 15%;
  animation: floatOrb2 22s ease-in-out infinite;
}

.orb3 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, #7dd3fc 0%, #38bdf8 55%, transparent 72%);
  opacity: 0.5;
  top: 38%;
  left: -100px;
  animation: floatOrb3 20s ease-in-out infinite;
}

.orb4 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, #c4b5fd 0%, #a78bfa 50%, transparent 70%);
  opacity: 0.45;
  top: 12%;
  right: 28%;
  animation: floatOrb4 24s ease-in-out infinite;
}

.card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  padding: 36px 32px 32px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow:
    0 20px 60px rgba(var(--primary-rgb) / 0.14),
    0 0 0 1px rgba(var(--primary-rgb) / 0.2);
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
}

.logo {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;
  background: transparent;
  flex-shrink: 0;
}

.brandText {
  display: flex;
  flex-direction: column;
}

.domain {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
}

.appName {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 2px;
}

.title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 6px;
}

.subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 28px;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

.inputWrap {
  position: relative;
  display: flex;
  align-items: center;
}

.inputIcon {
  position: absolute;
  left: 14px;
  color: var(--text-secondary);
  opacity: 1;
  pointer-events: none;
  stroke-width: 2.25;
}

.inputWrap input {
  width: 100%;
  min-height: var(--field-height);
  padding: var(--field-padding-y) 44px var(--field-padding-y) 42px;
  font-size: var(--field-font-size);
  line-height: 1.4;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.inputWrap input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb) / 0.14);
}

.togglePassword {
  position: absolute;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  opacity: 1;
  padding: 4px;
  transition: color 0.2s;
}

.togglePassword:hover {
  color: var(--primary);
}

.submitBtn {
  width: 100%;
  padding: 13px;
  font-size: 15px;
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, var(--primary-glow) 0%, var(--primary) 55%, var(--primary-dark) 100%);
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 14px rgba(var(--primary-rgb) / 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  margin-top: 4px;
}

.submitBtn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(var(--primary-rgb) / 0.42);
}

.submitBtn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.error {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #b91c1c;
  font-size: 13px;
  line-height: 1.5;
}

@keyframes floatOrb1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 25px) scale(1.06); }
}

@keyframes floatOrb2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(35px, -20px) scale(1.05); }
}

@keyframes floatOrb3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, 30px) scale(1.08); }
}

@keyframes floatOrb4 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-25px, -15px) scale(1.04); }
}

@media (max-width: 480px) {
  .card {
    padding: 28px 20px 24px;
  }

  .title {
    font-size: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .orb1,
  .orb2,
  .orb3,
  .orb4 {
    animation: none;
  }
}
