/* Login Page Styling */
.login-view {
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.login-card {
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 50px rgba(31, 38, 135, 0.05), 
              0 0 40px var(--accent-primary-glow);
  position: relative;
  overflow: hidden;
}

/* Gemini animated fluid color background container and blobs */
.gemini-bg-glows {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  mix-blend-mode: multiply;
  opacity: 0.4;
}

.blob-1 {
  width: 260px;
  height: 260px;
  top: -60px;
  left: -60px;
  background-color: hsla(217, 89%, 61%, 0.4);
  animation: float-blob-1 16s ease-in-out infinite alternate, color-shift-1 20s ease-in-out infinite;
}

.blob-2 {
  width: 220px;
  height: 220px;
  bottom: -40px;
  right: -40px;
  background-color: hsla(271, 91%, 65%, 0.4);
  animation: float-blob-2 18s ease-in-out infinite alternate, color-shift-2 22s ease-in-out infinite;
}

.blob-3 {
  width: 240px;
  height: 240px;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: hsla(339, 90%, 68%, 0.35);
  animation: float-blob-3 22s ease-in-out infinite alternate, color-shift-3 24s ease-in-out infinite;
}

.blob-4 {
  width: 180px;
  height: 180px;
  bottom: 20%;
  left: -30px;
  background-color: hsla(180, 80%, 50%, 0.35);
  animation: float-blob-4 14s ease-in-out infinite alternate, color-shift-4 18s ease-in-out infinite;
}

/* Float Animations to make them shift positions organically */
@keyframes float-blob-1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, 30px) scale(1.1); }
  100% { transform: translate(20px, 60px) scale(0.95); }
}

@keyframes float-blob-2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, -40px) scale(0.9); }
  100% { transform: translate(-10px, -70px) scale(1.15); }
}

@keyframes float-blob-3 {
  0% { transform: translate(-50%, -50%) translate(0, 0) scale(0.9); }
  50% { transform: translate(-50%, -50%) translate(-30px, 40px) scale(1.1); }
  100% { transform: translate(-50%, -50%) translate(40px, -20px) scale(1); }
}

@keyframes float-blob-4 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, -20px) scale(1.1); }
  100% { transform: translate(30px, 30px) scale(0.85); }
}

/* Color Shift Animations using flat, shifting colors */
@keyframes color-shift-1 {
  0%, 100% { background-color: hsla(217, 89%, 61%, 0.4); } /* Blue */
  25% { background-color: hsla(271, 91%, 65%, 0.4); }      /* Purple */
  50% { background-color: hsla(339, 90%, 68%, 0.4); }      /* Pink */
  75% { background-color: hsla(180, 80%, 50%, 0.4); }      /* Cyan */
}

@keyframes color-shift-2 {
  0%, 100% { background-color: hsla(271, 91%, 65%, 0.4); } /* Purple */
  25% { background-color: hsla(339, 90%, 68%, 0.4); }      /* Pink */
  50% { background-color: hsla(180, 80%, 50%, 0.4); }      /* Cyan */
  75% { background-color: hsla(217, 89%, 61%, 0.4); }      /* Blue */
}

@keyframes color-shift-3 {
  0%, 100% { background-color: hsla(339, 90%, 68%, 0.35); } /* Pink */
  25% { background-color: hsla(180, 80%, 50%, 0.35); }      /* Cyan */
  50% { background-color: hsla(217, 89%, 61%, 0.35); }      /* Blue */
  75% { background-color: hsla(271, 91%, 65%, 0.35); }      /* Purple */
}

@keyframes color-shift-4 {
  0%, 100% { background-color: hsla(180, 80%, 50%, 0.35); } /* Cyan */
  25% { background-color: hsla(217, 89%, 61%, 0.35); }      /* Blue */
  50% { background-color: hsla(271, 91%, 65%, 0.35); }      /* Purple */
  75% { background-color: hsla(339, 90%, 68%, 0.35); }      /* Pink */
}

/* App Logo Mark */
.logo-container {
  position: relative;
  z-index: 1;
  width: 80px;
  height: 80px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 15px rgba(99, 102, 241, 0.4));
}

.logo-inner i {
  font-size: 54px;
  color: var(--text-main);
}

/* Typography styles */
.login-title {
  position: relative;
  z-index: 1;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.login-subtitle {
  position: relative;
  z-index: 1;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 36px;
  max-width: 300px;
}

/* Sign In Button styling */
.btn-google {
  position: relative;
  z-index: 1;
  background: #ffffff;
  color: #1f2937;
  border: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 15px;
  font-weight: 600;
  width: 100%;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-google:hover {
  background: #fdfdfd;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.btn-google:active {
  transform: translateY(0);
}

.btn-google svg {
  width: 18px;
  height: 18px;
}

/* Powered By text */
.powered-by {
  position: relative;
  z-index: 1;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 24px;
  font-weight: 500;
  text-align: center;
}

/* Mobile responsive login view styling */
@media (max-width: 576px) {
  .login-view {
    padding: 0;
  }

  .login-card {
    width: 100%;
    height: 100%;
    max-width: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
  }

  .login-card.glass-card::before {
    display: none;
  }

  .gemini-bg-glows {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .glow-blob {
    opacity: 0.35;
    filter: blur(80px);
  }

  .blob-1 {
    width: 320px;
    height: 320px;
    top: -100px;
    left: -100px;
  }

  .blob-2 {
    width: 280px;
    height: 280px;
    bottom: -80px;
    right: -80px;
  }

  .blob-3 {
    width: 300px;
    height: 300px;
  }

  .logo-container {
    order: 1;
    margin-top: auto;
    margin-bottom: 16px;
  }

  .login-title {
    order: 2;
    margin-bottom: auto;
    font-size: 32px;
  }

  .login-subtitle {
    order: 3;
    color: #111111;
    font-weight: 500;
    margin-top: auto;
    margin-bottom: 20px;
    max-width: 100%;
    font-size: 15px;
  }

  .btn-google {
    order: 4;
    margin-bottom: 20px;
  }

  .powered-by {
    position: absolute;
    bottom: 24px;
    left: 0;
    width: 100%;
    margin-top: 0;
  }
}
