body.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0f0c29;
  position: relative;
  overflow: hidden;
}

/* Video Background */
.video-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

/* Dark overlay on top of video */
.video-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 8, 30, 0.6);
  z-index: 1;
  pointer-events: none;
}

/* Card */
.login-wrapper {
  width: 100%;
  max-width: 440px;
  padding: 1rem;
  position: relative;
  z-index: 10;
}

.login-card {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 2.8rem 2.5rem 2.2rem;
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  animation: cardIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Brand */
.brand-icon-ring {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: linear-gradient(135deg, #5c67f2, #7b4cca);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  box-shadow: 0 8px 24px rgba(92, 103, 242, 0.45);
  animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
  0%,
  100% {
    box-shadow: 0 8px 24px rgba(92, 103, 242, 0.45);
  }

  50% {
    box-shadow: 0 8px 36px rgba(92, 103, 242, 0.75);
  }
}

.brand-icon-ring i {
  font-size: 2rem;
  color: #fff;
}

.brand-title {
  color: #fff;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.brand-subtitle {
  color: rgba(255, 255, 255, 1);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.3px;
}

/* Divider */
.login-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.8rem 0 1.6rem;
  color: rgba(255, 255, 255, 0.28);
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.login-divider::before,
.login-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

/* Shared OAuth Button Base */
.btn-oauth {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  width: 100%;
  padding: 0.85rem 1.5rem;
  background: #fff;
  color: #1a1a2e;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
}

.btn-oauth::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.22s;
}

.btn-oauth:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  color: #1a1a2e;
}

.btn-oauth:hover::after {
  opacity: 1;
}

.btn-oauth:active {
  transform: translateY(0);
}

.btn-oauth:disabled,
.btn-oauth.disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
  pointer-events: none;
}

/* Google Button */
.btn-google::after {
  background: linear-gradient(
    135deg,
    rgba(234, 67, 53, 0.07),
    rgba(66, 133, 244, 0.07)
  );
}

/* OAuth logo size */
.g-logo {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* Separator between buttons */
.btn-oauth + .btn-oauth {
  margin-top: 0.75rem;
}

/* Info box */
.login-info-box {
  background: rgba(92, 103, 242, 0.12);
  border: 1px solid rgba(92, 103, 242, 0.28);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 1.6rem;
}

.login-info-box i {
  color: #a5b0ff;
  font-size: 1rem;
  margin-top: 1px;
  flex-shrink: 0;
}

.login-info-box p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.8rem;
  margin: 0;
  line-height: 1.5;
}

/* Error alert */
.login-error-alert {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
}

.login-error-alert p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  margin: 0;
  line-height: 1.5;
  text-align: center;
}

/* Footer */
.login-footer {
  text-align: center;
  margin-top: 1.8rem;
  padding-top: 1.2rem;
}

.login-footer small {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.75rem;
}
