/* ====== GLOBAL ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* ====== BACKGROUND ====== */
body.login-bg {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: url("https://images.unsplash.com/photo-1501785888041-af3ef285b470?q=80&w=1600")
    no-repeat center center/cover;
  position: relative;
}

body.login-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

/* ====== LOGIN CARD ====== */
.login-card {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  width: 380px;
  padding: 35px;
  border-radius: 20px;
  text-align: center;
  color: #fff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

h2 {
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.subtext {
  margin-bottom: 22px;
  font-size: 14px;
  opacity: 0.8;
}

/* ====== INPUT ====== */
.input {
  width: 100%;
  padding: 13px;
  margin-bottom: 15px;
  border-radius: 10px;
  border: none;
  outline: none;
  background: rgba(255, 255, 255, 0.85);
  font-size: 15px;
}

/* ====== LOGIN BUTTON ====== */
.btn-login {
  width: 100%;
  padding: 12px;
  background: #0b3d91;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-login:hover {
  background: #072a6b;
  transform: translateY(-2px);
}

/* ====== ERROR MESSAGE ====== */
.error {
  color: #ffcdcd;
  background: rgba(255, 0, 0, 0.25);
  padding: 11px;
  border-radius: 10px;
  margin-bottom: 15px;
  font-size: 14px;
}

/* ====== DIVIDER ====== */
.divider {
  margin: 22px 0;
  border: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
}

/* ====== REGISTER TEXT ====== */
.register-text {
  text-align: center;
  margin: 5px 0 10px;
  color: #e7e7e7;
  font-size: 14px;
}

/* ====== REGISTER BUTTON ====== */
.btn-register {
  display: block;
  padding: 12px;
  background: #ffffff;
  color: #0b3d91;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  border-radius: 10px;
  transition: 0.3s;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.25);
}

.btn-register:hover {
  background: #e3e3e3;
  transform: translateY(-2px);
}
