.login-page {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://assets.nflxext.com/ffe/siteui/vlv3/f841d4c7-10e1-40af-bcae-07a3f8dc141a/f6d7434e-d6de-4185-a6d4-c77a2d08737b/US-en-20220502-popsignuptwoweeks-perspective_alpha_website_small.jpg');
  background-size: cover;
  background-position: center;
  z-index: 9999;
  pointer-events: auto;
}

.login-container {
  background-color: rgba(0, 0, 0, 0.85);
  padding: 60px 68px 40px;
  border-radius: 8px;
  width: 100%;
  max-width: 450px;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 10000;
  pointer-events: auto;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.login-title {
  color: white;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 28px;
}

.login-error {
  background-color: #e87c03;
  color: white;
  padding: 10px 20px;
  border-radius: 4px;
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.login-message {
  background-color: #2e7d32;
  color: white;
  padding: 10px 20px;
  border-radius: 4px;
  margin-bottom: 16px;
  font-size: 0.9rem;
}

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

.password-input-wrapper {
  position: relative;
  width: 100%;
}

.password-toggle {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #737373;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
}

.password-toggle:hover {
  color: white;
}

.login-input {
  background-color: #333;
  color: white;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 16px 20px;
  font-size: 1rem;
  outline: none;
  transition: background-color 0.2s, border-color 0.2s;
  width: 100%;
}

.login-input:focus {
  background-color: #454545;
  border-color: #e50914;
}

.terms-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  cursor: pointer;
  user-select: none;
}

.terms-text {
  color: #737373;
  font-size: 0.85rem;
}

.terms-text .link {
  color: white;
  font-weight: bold;
}

.terms-text .link:hover {
  text-decoration: underline;
}

.login-btn {
  background-color: var(--primary-color);
  color: white;
  padding: 16px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 4px;
  margin-top: 24px;
  transition: background-color 0.2s;
}

.login-btn:hover {
  background-color: #f40612;
}

.login-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.login-helpers {
  margin-top: 15px;
  text-align: right;
}

.helper-link {
  color: #737373;
  font-size: 0.9rem;
  cursor: pointer;
}

.helper-link:hover {
  text-decoration: underline;
}

.forgot-hint {
  color: #737373;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.login-footer {
  color: #737373;
  margin-top: 20px;
}

.toggle-link {
  color: white;
  cursor: pointer;
  font-weight: bold;
}

.toggle-link:hover {
  text-decoration: underline;
}

.social-login-container {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.social-divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: #737373;
  font-size: 0.9rem;
}

.social-divider::before,
.social-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #454545;
}

.social-divider span {
  padding: 0 10px;
}

.google-btn {
  background-color: white;
  color: #333;
  padding: 12px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background-color 0.2s;
  cursor: pointer;
  border: none;
}

.google-btn:hover {
  background-color: #f1f1f1;
}

@media (max-width: 480px) {
  .login-container {
    padding: 40px 24px;
    width: 92%;
    min-height: auto;
  }
  
  .login-title {
    font-size: 1.7rem;
    margin-bottom: 20px;
  }

  .login-input {
    padding: 14px 16px;
    font-size: 0.95rem;
  }

  .login-btn {
    padding: 14px;
    margin-top: 15px;
    font-size: 0.95rem;
  }

  .google-btn {
    padding: 11px;
    font-size: 0.95rem;
  }
}