/* Login Page Styles */
.login-page {
  min-height: 100vh;
  background: #0a0a0f;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(30, 64, 175, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.login-container {
  width: 100%;
  max-width: 440px;
}

.login-card {
  background: #1a1a24;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.15);
  padding: 48px 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  position: relative;
}

/* Home Button */
.home-button {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: all 0.2s ease;
  z-index: 10;
  backdrop-filter: blur(10px);
}

.home-button:hover {
  background: rgba(15, 23, 42, 0.95);
  border-color: rgba(148, 163, 184, 0.4);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.home-button svg {
  width: 18px;
  height: 18px;
}

/* Title and Subtitle */
.login-title {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 12px 0;
  text-align: center;
  letter-spacing: -0.02em;
}

.login-subtitle {
  font-size: 0.95rem;
  color: rgba(148, 163, 184, 0.8);
  margin: 0 0 32px 0;
  text-align: center;
  line-height: 1.5;
}

.signup-link {
  color: #3b82f6;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.signup-link:hover {
  color: #2563eb;
}

/* Form Styles */
.login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}

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

.form-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  background: #151520;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 12px;
  color: #ffffff;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.form-input::placeholder {
  color: rgba(148, 163, 184, 0.6);
}

.form-input:focus {
  outline: none;
  border-color: rgba(59, 130, 246, 0.5);
  background: #1a1a28;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Forgot Password */
.forgot-password {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: -8px;
  margin-bottom: 8px;
}

.forgot-text {
  font-size: 0.9rem;
  color: rgba(148, 163, 184, 0.8);
}

.reset-link {
  font-size: 0.9rem;
  color: #3b82f6;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.reset-link:hover {
  color: #2563eb;
}

/* Login Button */
.btn-login {
  width: 100%;
  padding: 14px 24px;
  background: #151520;
  color: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 8px;
}

.btn-login:hover {
  background: #1a1a28;
  border-color: rgba(148, 163, 184, 0.4);
  transform: translateY(-1px);
}

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

/* Divider */
.divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: rgba(148, 163, 184, 0.2);
}

.divider-text {
  font-size: 0.85rem;
  color: rgba(148, 163, 184, 0.6);
  font-weight: 500;
}

/* Google Button */
.btn-google {
  width: 100%;
  padding: 14px 24px;
  background: #151520;
  color: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.btn-google:hover {
  background: #1a1a28;
  border-color: rgba(148, 163, 184, 0.4);
  transform: translateY(-1px);
}

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

.google-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 640px) {
  .login-card {
    padding: 40px 28px;
  }

  .login-title {
    font-size: 1.75rem;
  }

  .login-subtitle {
    font-size: 0.9rem;
  }

  .form-input {
    padding: 12px 14px;
    font-size: 0.95rem;
  }
}
