body {
  font-family: "Poppins", sans-serif;
  background-color: #f9f9f9;
  overflow-x: hidden;
}

/* ===== NAVBAR ===== */
.navbar {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: #000;
}

.navbar-brand {
  letter-spacing: 1px;
}

.nav-link {
  color: #fff !important;
  margin: 0 10px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #ffcc00 !important;
}

/* ===== Dark Login Section ===== */
body {
  background-color: #0d0d0d;
  color: #fff;
  font-family: 'Poppins', sans-serif;
}

.login-section {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #111, #1a1a1a);
  padding: 80px 15px;
}

.login-container {
  text-align: center;
  max-width: 450px;
  width: 100%;
}

.login-container h2 {
  font-size: 1.9rem;
  font-weight: 600;
  color: #fff;
}

.login-container h2 span {
  color: #ff6a00;
}

.subtitle {
  color: #aaa;
  font-size: 0.95rem;
  margin-bottom: 30px;
}

.login-box {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 40px 35px;
  box-shadow: 0 0 20px rgba(255, 106, 0, 0.1);
  transition: 0.3s;
}

.login-box:hover {
  box-shadow: 0 0 25px rgba(255, 106, 0, 0.3);
}

.login-box h3 {
  color: #fff;
  font-weight: 500;
  margin-bottom: 25px;
  text-align: left;
}

.login-box h3 i {
  color: #ff6a00;
  margin-right: 10px;
}

.login-box label {
  font-size: 0.9rem;
  color: #ccc;
  margin-bottom: 5px;
  display: block;
  text-align: left;
}

.login-box input {
  width: 100%;
  padding: 12px 15px;
  border: none;
  border-radius: 8px;
  background: #1b1b1b;
  color: #fff;
  outline: none;
  margin-bottom: 20px;
  font-size: 0.95rem;
  transition: 0.3s;
}

.login-box input:focus {
  border: 1px solid #ff6a00;
  box-shadow: 0 0 8px rgba(255, 106, 0, 0.4);
}

.password-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.password-wrapper {
  position: relative;
}

.password-wrapper input {
  padding-right: 45px;
}

.toggle-password {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  color: #ff6a00;
  font-size: 1.1rem;
  cursor: pointer;
  transition: 0.3s;
}

.toggle-password:hover {
  color: #ffa04d;
  text-shadow: 0 0 8px rgba(255, 106, 0, 0.7);
}

.forgot-link {
  font-size: 0.85rem;
  color: #ff6a00;
  text-decoration: none;
}

.forgot-link:hover {
  text-decoration: underline;
}

.login-btn {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(90deg, #ff6a00, #ff944d);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
}

.login-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(255, 106, 0, 0.5);
}

.divider {
  margin: 25px 0;
  color: #aaa;
  text-align: center;
  position: relative;
  font-size: 0.9rem;
}

.divider::before,
.divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 35%;
  height: 1px;
  background: #333;
}

.divider::before { left: 0; }
.divider::after { right: 0; }

.social-login {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 15px;
}

.social-login button {
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: #1c1c1c;
  color: #fff;
  font-size: 1.2rem;
  transition: 0.3s;
  cursor: pointer;
}

.social-login button:hover {
  background: #ff6a00;
  transform: translateY(-3px);
  box-shadow: 0 0 10px rgba(255, 106, 0, 0.6);
}

.register-text {
  text-align: center;
  color: #ccc;
  font-size: 0.9rem;
}

.register-text a {
  color: #ff6a00;
  text-decoration: none;
  font-weight: 500;
}

.register-text a:hover {
  text-decoration: underline;
}
