.login-wrapper {
    min-height: 100vh;
    display: flex;
    justify-content: center;   /* horizontal center */
    align-items: center;       /* vertical center */
    background: #050816;       /* match your OTT dark theme */
    margin-top: 4vh;
}

/* LOGIN CARD */
.login-card {
    width: 350px;
    padding: 30px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    box-shadow: 0 0 30px rgba(0,0,0,0.6);
    text-align: center;
    color: #fff;
}

.login-card h2 {
    margin-bottom: 20px;
    font-weight: 600;
}

.input-group {
    margin-bottom: 15px;
    text-align: left;
}

.input-group label {
    font-size: 14px;
    color: #ccc;
}

.input-group input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border-radius: 8px;
    border: none;
    outline: none;
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.input-group input::placeholder {
    color: #aaa;
}

.login-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 25px;
    background: #007bff;
    color: white;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
    transition: 0.3s;
}

.login-btn:hover {
    background: #0056b3;
}

.extra-links {
    margin-top: 15px;
    font-size: 13px;
}

.extra-links a {
    color: #00bfff;
    text-decoration: none;
}

.extra-links a:hover {
    text-decoration: underline;
}

/* LOGO STYLE */
.logo {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
}



@keyframes moveBackground {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

.auth-container {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 1rem;
  /* ensures proper centering */
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10vh;
}

.auth-card {
  background: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(229, 9, 20, 0.3);
  border-radius: 12px;
  padding: 3rem;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-logo {
  font-size: 2.5rem;
  font-weight: 700;
  color: #e50914;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 10px rgba(229, 9, 20, 0.3);
}

.auth-subtitle {
  font-size: 1.1rem;
  color: #b3b3b3;
  margin: 0;
}

.auth-form {
  margin-bottom: 1.5rem;
}

.form-label {
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.auth-input {
  background-color: rgba(0, 0, 0, 0.5);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  border-radius: 6px;
}

.auth-input:focus {
  background-color: rgba(0, 0, 0, 0.7);
  border-color: #e50914;
  color: #ffffff;
  box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.1);
}

.auth-input::placeholder {
  color: #666666;
}

.form-check-input {
  background-color: rgba(0, 0, 0, 0.5);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  width: 1.2em;
  height: 1.2em;
  transition: all 0.3s ease;
}

.form-check-input:checked {
  background-color: #e50914;
  border-color: #e50914;
}

.form-check-input:focus {
  border-color: #e50914;
  box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.1);
}

.form-check-label {
  color: #b3b3b3;
  cursor: pointer;
  user-select: none;
}

.form-check-label a {
  color: #e50914;
  text-decoration: none;
  transition: color 0.3s ease;
}

.form-check-label a:hover {
  text-decoration: underline;
}

.btn-login {
  background: linear-gradient(135deg, #e50914 0%, #c40812 100%);
  border: none;
  color: #ffffff;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-login:hover {
  background: linear-gradient(135deg, #c40812 0%, #a00610 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(229, 9, 20, 0.3);
  color: #ffffff;
}

.btn-login:active {
  transform: translateY(0);
}

.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #e50914;
  color: #ffffff;
}

.auth-divider {
  text-align: center;
  margin: 1.5rem 0;
  position: relative;
}

.auth-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(229, 9, 20, 0.3), transparent);
}

.auth-divider span {
  background: rgba(20, 20, 20, 0.95);
  padding: 0 1rem;
  color: #b3b3b3;
  font-size: 0.9rem;
  position: relative;
}

.alert {
  border-radius: 6px;
  border: none;
  margin-bottom: 1.5rem;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.alert-danger {
  background-color: rgba(220, 53, 69, 0.15);
  border: 1px solid rgba(220, 53, 69, 0.3);
  color: #ff6b6b;
}

.alert-success {
  background-color: rgba(40, 167, 69, 0.15);
  border: 1px solid rgba(40, 167, 69, 0.3);
  color: #51cf66;
}

.auth-footer {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-footer p {
  margin: 0;
}

.auth-footer a {
  color: #e50914;
  text-decoration: none;
  transition: color 0.3s ease;
}

.auth-footer a:hover {
  text-decoration: underline;
}

.spinner-border {
  border-color: rgba(255, 255, 255, 0.3);
  border-right-color: #ffffff;
}

/* Mobile */
@media (max-width: 576px) {
  .auth-card {
    padding: 2rem 1.5rem;
  }

  .auth-logo {
    font-size: 2rem;
  }

  .auth-subtitle {
    font-size: 1rem;
  }

  .form-label {
    font-size: 0.9rem;
  }

  .auth-input {
    font-size: 0.95rem;
  }
}

@media (max-width: 360px) {
  .auth-card {
    padding: 1.5rem 1rem;
  }

  .auth-logo {
    font-size: 1.75rem;
  }
}

.remember-box {
    display: flex;
    align-items: center;
    gap: 6px;
}