@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body{
  height: 100vh;
  display: grid;
  place-items: center;
  background: 
    linear-gradient(rgba(0,0,0,0.60), rgba(0,0,0,0.60)),
    url("../assets/hero.jpg") center/cover no-repeat;
}

/* Glass Card */
.login-card{
  width: 450px;
  padding: 25px 35px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  /*border: 1px solid rgba(255, 255, 255, 0.18);*/
  border: 5px solid rgba(255,201,0, 0.5);
  box-shadow: 0 20px 55px rgba(0,0,0,0.35);
  color: #fff;
}

/* ✅ LOGO TOP (center) */
.brand-top{
  text-align: center;
  margin-bottom: 18px;
}

.brand-logo{
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 8px;
  border-radius: 12px;
  padding: 8px;

  background: transparent;
  box-shadow: 
    0 0px 25px rgba(255, 255, 255, 0.859),
    0 0 0 1px rgba(255,255,255,0.18);
}

.brand-top h3{
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
}

.brand-top p{
  font-size: 12px;
  opacity: 0.85;
  margin-top: 4px;
}

/* Title */
.login-title{
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 18px;
}

/* Inputs */
.input-group{
  position: relative;
  margin: 18px 0;
}

.input-group input{
  width: 100%;
  padding: 12px 0;
  border: none;
  outline: none;
  background: transparent;
  color: #fff;
  font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.45);
}

.input-group label{
  position: absolute;
  left: 0;
  top: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  pointer-events: none;
  transition: 0.25s;
}

.input-group input:focus + label,
.input-group input:valid + label{
  top: -10px;
  font-size: 12px;
  color: rgba(255,255,255,0.95);
}

/* Forgot */
.forgot{
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
}

.forgot:hover{
  text-decoration: underline;
}

/* Button */
.btn{
  margin-top: 18px;
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 10px;
  background: rgba(255,255,255,0.92);
  color: #111;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s;
}

.btn:hover{
  transform: translateY(-2px);
  background: #fff;
}

/* Bottom */
.bottom-text{
  margin-top: 16px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
}

.bottom-text a{
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.bottom-text a:hover{
  text-decoration: underline;
}

.msg{
  margin-top: 10px;
  text-align: center;
  font-size: 13px;
  color: #ffdede;
}

/* Responsive */
@media (max-width: 520px){
  .login-card{
    width: 92%;
    padding: 22px 22px;
  }
}
