/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* Background image */
.bg {
  background: url("BACK.jpg")
    no-repeat center center/cover;
  height: 110vh;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -2;
}

/* Dark overlay */
.overlay {
  background: rgba(0, 0, 0, 0.58);
  height: 100vh;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
}

/* Top logo */
.topbar {
  padding: 10px 30px;
}

.logo {
  width: 170px;
  margin-left: 70px;
}

/* Center container */
.center {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

/* Login card */
.login-card {
  background: rgba(0, 0, 0, 0.651);
  padding: 50px;
  width: 420px;
  border-radius: 6px;
  color: white;
}

.login-card h1 {
  margin-bottom: 25px;
  font-size: 32px;
}

/* Inputs */
.login-card input {
  width: 100%;
  padding: 14px;
  margin: 10px 0;
  border-radius: 4px;
  border: 0.5px solid rgba(255, 255, 255, 0.267);
  background: #44444445;
  color: white;
  font-size: 15px;
}

/* Password field wrapper */
.password-field {
  position: relative;
}

/* .toggle {
  position: absolute;
  right: 12px;
  top: 12px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 18px;
} */

/* Buttons */
.btn {
  width: 100%;
  padding: 14px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  margin-top: 12px;
  font-size: 16px;
}

.primary {
  background: #e50914;
  color: white;
}

.primary:hover {
  background: #f6121d;
}

.secondary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.or {
  text-align: center;
  margin: 15px 0;
  color: #aaa;
}

/* Row */
.row {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.between {
  justify-content: space-between;
}

.remember {
  display: flex;
  align-items: center;
  gap: 8px; /* spacing between checkbox and text */
  font-size: 14px;
  color: #ccc;
}

.remember input[type="checkbox"] {
  accent-color: #e50914; /* optional: red checkbox */
  width: 16px;
  height: 16px;
}

.forgot {
  color: #ccc;
  font-size: 14px;
}

/* Signup */
.signup {
  margin-top: 20px;
  color: #ccc;
}

.signup a {
  color: white;
}

/* Captcha */
.small {
  font-size: 12px;
  color: #777;
  margin-top: 15px;
}

#learnMoreBtn {
  color: #0071eb;
  cursor: pointer;
}

.learn-more-hidden {
  display: none;
  font-size: 12px;
  color: #aaa;
  margin-top: 10px;
}

/* Strength + error messages */
.strength {
  font-size: 13px;
  margin-top: -5px;
  color: #46d369;
}

.error {
  font-size: 13px;
  color: #ff6b6b;
}

/* Footer */
.footer {
  margin-top: 80px;
  padding: 40px;
  color: #ccc;
  background: rgba(22, 22, 22, 0.947);
}

.footer-links {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.footer-links a {
  color: #ccc;
  font-size: 14px;
}