/* ===========================
   KH REWARDS LOGIN PAGE
=========================== */

.loginPage{
  min-height:100vh;
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  background:
    radial-gradient(circle at top right, rgba(46,125,50,.16), transparent 32%),
    linear-gradient(135deg,#FFFDF5,#F4F8F1);
}

.loginCard{
  width:100%;
  max-width:430px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:30px;
  padding:30px 24px;
  box-shadow:var(--shadow);
}

.loginLogo{
  text-align:center;
  margin-bottom:28px;
}

.loginLogo h1{
  color:var(--primary);
  font-size:34px;
  line-height:1;
  letter-spacing:-1px;
}

.loginLogo h1 span{
  color:var(--primary-dark);
  font-size:42px;
}

.loginLogo p{
  margin-top:10px;
  color:var(--muted);
  font-weight:700;
}

/* KH WELCOME HERO */

.loginHero{
  position:relative;
  overflow:hidden;
  text-align:center;
  padding:34px 22px;
  border-radius:24px;
  margin-bottom:28px;
  color:#fff;

  background:
    radial-gradient(circle at top left, rgba(255,255,255,.28), transparent 35%),
    radial-gradient(circle at bottom right, rgba(139,195,74,.25), transparent 40%),
    linear-gradient(135deg,#1B5E20,#2E7D32);
}

.loginHero::before{
  content:"";
  position:absolute;
  top:-45px;
  right:-45px;
  width:150px;
  height:150px;
  border-radius:50%;
  background:rgba(255,255,255,.08);
}

.loginHero::after{
  content:"";
  position:absolute;
  bottom:-70px;
  left:-60px;
  width:170px;
  height:170px;
  border-radius:50%;
  background:rgba(255,255,255,.05);
}

.giftIcon{
  position:relative;
  z-index:2;
  width:82px;
  height:82px;
  margin:0 auto 18px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  color:#1B5E20;
  font-size:40px;

  background:
    radial-gradient(circle,#F8FDEB,#CDEB97);

  border:4px solid rgba(255,255,255,.7);

  box-shadow:
    0 15px 30px rgba(0,0,0,.18),
    inset 0 0 25px rgba(255,255,255,.45);
}

.loginHero h2{
  position:relative;
  z-index:2;
  font-size:28px;
  margin-bottom:10px;
  font-weight:900;
  color:#ffffff;
}

.loginHero p{
  position:relative;
  z-index:2;
  font-size:15px;
  line-height:1.6;
  color:rgba(255,255,255,.92);
}

/* FORM */

#loginForm{
  display:flex;
  flex-direction:column;
  gap:10px;
}

#loginForm label{
  color:var(--primary-dark);
  font-size:14px;
  font-weight:800;
}

#loginForm input{
  width:100%;
  height:54px;
  border:1px solid var(--line);
  border-radius:999px;
  padding:0 18px;
  font-size:16px;
  outline:none;
}

#loginForm input:focus{
  border-color:var(--primary);
  box-shadow:0 0 0 4px rgba(46,125,50,.13);
}

#loginForm button,
#continueBtn{
  display:block;
  width:100%;
  height:54px;
  border:none;
  border-radius:999px;
  background:linear-gradient(135deg,var(--primary-dark),var(--primary));
  color:white;
  font-size:16px;
  font-weight:900;
  margin-top:8px;
  cursor:pointer;
  box-shadow:0 10px 22px rgba(46,125,50,.22);
}

#loginForm button,
#continueBtn{

    display:flex;
    align-items:center;
    justify-content:center;

    width:100%;
    height:56px;

    border:none;
    border-radius:999px;

    background:linear-gradient(135deg,#1B5E20,#2E7D32);

    color:#ffffff !important;

    font-size:17px;
    font-weight:900;

    text-shadow:none;

    cursor:pointer;

    margin-top:10px;

    box-shadow:0 10px 22px rgba(46,125,50,.22);

}

#loginForm button:hover,
#continueBtn:hover{

    background:linear-gradient(135deg,#14491B,#2E7D32);

}
.loginNote{
  display:block;
  margin-top:18px;
  color:var(--muted);
  text-align:center;
  line-height:1.4;
}

/* HOME BUTTON */

.homeLink{
  position:fixed;
  top:18px;
  right:18px;
  width:46px;
  height:46px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#ffffff;
  color:var(--primary);
  text-decoration:none;
  font-size:22px;
  box-shadow:0 10px 25px rgba(46,125,50,.18);
  transition:.25s;
  z-index:9999;
}

.homeLink:hover{
  transform:translateY(-2px) scale(1.08);
  background:var(--primary);
  color:#ffffff;
}

/* MOBILE */

@media(max-width:768px){
  .loginPage{
    padding:18px;
  }

  .loginCard{
    padding:26px 20px;
    border-radius:26px;
  }

  .loginLogo h1{
    font-size:30px;
  }

  .loginLogo h1 span{
    font-size:38px;
  }

  .loginHero{
    padding:30px 18px;
  }

  .giftIcon{
    width:74px;
    height:74px;
    font-size:36px;
  }

  .loginHero h2{
    font-size:24px;
  }

  .loginHero p{
    font-size:14px;
  }

  .homeLink{
    top:12px;
    right:12px;
    width:42px;
    height:42px;
    font-size:20px;
  }
}.homeLink{
  border:none;
  cursor:pointer;
}