.auth-page {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eef2f7 0%, #e0f2fe 50%, #f8fafc 100%);
}

.gradient-bg {
  background: linear-gradient(135deg, #0891b2 0%, #2563eb 50%, #7c3aed 100%);
  background-size: 200% 200%;
  animation: gradient-shift 15s ease infinite;
}

.glass-card {
  border: 1px solid rgba(203, 213, 225, 0.9);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
}

.auth-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #475569;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 160ms ease;
}

.auth-back-link:hover,
.auth-back-link:focus {
  color: #0e7490;
  outline: none;
}

.auth-logo-mark {
  display: inline-flex;
  width: 5rem;
  height: 5rem;
  align-items: center;
  justify-content: center;
  margin-block-end: 1rem;
  border-radius: 1rem;
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.22);
}

.auth-title {
  margin: 0 0 0.5rem;
  color: #0f172a;
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1;
}

.auth-subtitle {
  margin: 0;
  color: #475569;
}

.auth-card {
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 25px 55px rgba(15, 23, 42, 0.2);
}

.auth-note {
  border: 1px solid #fecdd3;
  border-radius: 0.75rem;
  background: #fff1f2;
  color: #9f1239;
  padding: 1rem;
}

.auth-note--success {
  border-color: #a7f3d0;
  background: #ecfdf5;
  color: #065f46;
}

.auth-note--info {
  border-color: #bae6fd;
  background: #ecfeff;
  color: #155e75;
}

.auth-message-list {
  display: grid;
  gap: 0.75rem;
  margin-block-end: 1.5rem;
}

.auth-field-label {
  display: block;
  margin-block-end: 0.5rem;
  color: #334155;
  font-size: 0.875rem;
  font-weight: 700;
}

.auth-field-required {
  color: #f43f5e;
}

.auth-icon-field {
  position: relative;
}

.auth-icon-field__icon {
  position: absolute;
  inset-block: 0;
  left: 0;
  display: flex;
  align-items: center;
  padding-left: 0.75rem;
  color: #64748b;
  pointer-events: none;
}

.auth-icon-field .auth-input {
  padding-left: 2.5rem;
}

.auth-input {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 0.75rem;
  background: #fff;
  color: #0f172a;
  padding: 0.75rem 1rem;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.auth-input::placeholder {
  color: #64748b;
}

.auth-input:focus {
  border-color: #06b6d4;
  outline: none;
  box-shadow: 0 0 0 2px rgba(6, 182, 212, 0.32);
}

.auth-submit {
  width: 100%;
  border: 0;
  border-radius: 0.75rem;
  color: #fff;
  padding: 0.75rem 1rem;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
  transition:
    opacity 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.auth-submit:hover,
.auth-submit:focus {
  opacity: 0.9;
  outline: none;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.24);
  transform: translateY(-0.125rem);
}

.auth-muted-text {
  color: #64748b;
  font-size: 0.875rem;
}

.login-card {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.login-card.is-mounted {
  opacity: 1;
  transform: translateY(0);
}

.floating-shapes {
  position: absolute;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  animation: float 20s infinite;
  background: rgba(6, 182, 212, 0.1);
}

.shape:nth-child(1) {
  top: -10%;
  left: -10%;
  width: 80px;
  height: 80px;
  animation-delay: 0s;
}

.shape:nth-child(2) {
  right: -10%;
  bottom: -10%;
  width: 120px;
  height: 120px;
  animation-delay: 2s;
}

.shape:nth-child(3) {
  top: 50%;
  right: 20%;
  width: 60px;
  height: 60px;
  animation-delay: 4s;
}

@keyframes gradient-shift {
  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}
