body {
  background-color: #000;
  color: #fff;
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.login-background {
  min-height: 100vh;
  /* Coloque uma imagem de fundo de filmes escurecida se quiser */
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0, rgba(0, 0, 0, 0.3) 60%, rgba(0, 0, 0, 0.8) 100%);
  display: flex;
  flex-direction: column;
}

.login-header {
  padding: 24px 5%;
}

.login-header .logo {
  font-size: 2.2rem;
  font-weight: 800;
  color: #e50914;
  /* Vermelho Rimuflix */
  text-decoration: none;
  letter-spacing: 2px;
}

.login-box {
  background: rgba(0, 0, 0, 0.75);
  max-width: 450px;
  width: 100%;
  margin: 0 auto;
  padding: 60px 68px 40px;
  border-radius: 4px;
  margin-top: 20px;
}

.login-box h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 28px;
}

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

.login-error.hidden {
  display: none;
}

.form-group {
  position: relative;
  margin-bottom: 16px;
}

.form-control {
  width: 100%;
  background: #333;
  border: 1px solid #333;
  border-radius: 4px;
  color: #fff;
  font-size: 1rem;
  padding: 24px 20px 8px;
  /* Espaço pro label flutuante */
  outline: none;
  transition: background 0.2s;
}

.form-control:focus {
  background: #454545;
}

/* Magia do Label Flutuante */
.floating-label {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #8c8c8c;
  font-size: 1rem;
  pointer-events: none;
  transition: all 0.2s ease;
}

/* Quando o input tem foco ou não está vazio, o label sobe e fica pequeno */
.form-control:focus+.floating-label,
.form-control:not(:placeholder-shown)+.floating-label {
  top: 12px;
  font-size: 0.7rem;
  font-weight: 600;
}

.btn-primary {
  width: 100%;
  padding: 16px;
  background: #e50914;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 24px;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: #f40612;
}

.btn-primary:disabled {
  background: #e5091480;
  cursor: not-allowed;
}

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

.login-footer a {
  color: #fff;
  text-decoration: none;
}

.login-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .login-box {
    padding: 30px;
    border-radius: 0;
    margin-top: 0;
    flex: 1;
    /* Ocupa a tela toda no celular */
  }
}