:root{
  --blue1:#0b4aa8;
  --blue2:#1e73d6;
  --blue3:#0a3f91;
  --cardRadius:22px;
}

*{ box-sizing:border-box; }
body.login-body{
  margin:0;
  font-family:"Kanit", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  background: radial-gradient(1200px 700px at 15% 30%, #1d78da 0%, #0a3f91 40%, #06306f 100%);
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
}

.login-wrap{
  width: 100%;
  max-width: 980px;
}

.login-card{
  background:#fff;
  border-radius: var(--cardRadius);
  overflow:hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  display:flex;
  min-height: 560px;
}

/* LEFT */
.login-left{
  position:relative;
  flex: 1.05;
  background: linear-gradient(180deg, var(--blue2) 0%, var(--blue1) 40%, var(--blue3) 100%);
  color:#fff;
  padding:44px 44px;
  display:flex;
  align-items:flex-start;
}

.left-content{ position:relative; z-index:2; max-width: 360px; }

.brand-badge{
  display:inline-flex;
  align-items:center;
  padding:10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  font-weight:600;
  letter-spacing:.3px;
  margin-bottom:22px;
}

.welcome-title{
  margin:0;
  font-size: 44px;
  letter-spacing: 2px;
  font-weight: 700;
  line-height: 1.05;
}

.welcome-subtitle{
  font-size: 16px;
  letter-spacing: 1px;
  font-weight: 600;
  opacity: .95;
  margin-top: 10px;
}

.welcome-desc{
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.8;
  opacity: .9;
}

/* Decorative circles */
.circle{
  position:absolute;
  border-radius:50%;
  background: rgba(255,255,255,.14);
  filter: blur(.2px);
  z-index:1;
}
.c1{ width: 240px; height:240px; left:-80px; top: 60px; background: rgba(255,255,255,.10); }
.c2{ width: 160px; height:160px; left: 60px; bottom: 50px; background: rgba(255,255,255,.16); }
.c3{ width: 120px; height:120px; right: -40px; bottom: 90px; background: rgba(255,255,255,.12); }
.c4{ width: 280px; height:280px; right: -120px; top: -90px; background: rgba(255,255,255,.08); }

/* RIGHT */
.login-right{
  flex: .95;
  background:#fff;
  padding: 44px 46px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.right-inner{
  width:100%;
  max-width: 360px;
}

.signin-title{
  margin:0;
  font-weight:700;
  font-size: 34px;
  color:#2f2f2f;
}

.signin-desc{
  margin-top: 6px;
  color:#7b7b7b;
  font-size: 13px;
  margin-bottom: 22px;
}

.label-mini{
  display:block;
  font-size: 13px;
  font-weight: 600;
  color:#4b5563;
  margin-bottom: 8px;
  letter-spacing: .2px;
}

.input-with-icon{
  position:relative;
}

.input-with-icon i{
  position:absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color:#9aa3ad;
  font-size: 16px;
}

.login-input{
  height: 46px;
  border-radius: 14px;
  border: 0;
  background: #f3f6f9;
  padding-left: 44px;
  padding-right: 54px;
  font-size: 15px;
  color:#2f2f2f;
}

.login-input:focus{
  background:#eef3f9;
  box-shadow: 0 0 0 .2rem rgba(78,115,223,.18);
}

.form-group{
  margin-bottom: 18px;
}

.btn-show{
  position:absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
  font-size: 12px;
  color: #2b6cb0;
  text-decoration: none;
  padding: 6px 8px;
}
.btn-show:hover{ text-decoration:none; }

.link-soft{
  color:#2b6cb0;
  text-decoration:none;
}
.link-soft:hover{ text-decoration:underline; }

.btn-signin{
  height: 46px;
  border-radius: 14px;
  font-weight: 700;
  letter-spacing: .2px;
  background: linear-gradient(135deg, var(--blue2) 0%, var(--blue1) 60%, #083b83 100%);
  border: 0;
  box-shadow: 0 10px 20px rgba(11,74,168,.25);
}
.btn-signin:hover{
  filter: brightness(1.02);
  box-shadow: 0 12px 24px rgba(11,74,168,.3);
}
.btn-signin:focus{
  box-shadow: 0 0 0 .2rem rgba(30,115,214,.25);
}

.btn-alt{
  height: 46px;
  border-radius: 14px;
  font-weight: 600;
}

.divider{
  position:relative;
  text-align:center;
}
.divider:before{
  content:"";
  position:absolute;
  left:0;
  top:50%;
  width:100%;
  height:1px;
  background:#e8edf3;
}
.divider span{
  position:relative;
  background:#fff;
  padding: 0 10px;
  color:#9aa3ad;
  font-size: 12px;
}

/* Responsive */
@media (max-width: 991.98px){
  .login-card{
    flex-direction: column;
    min-height: unset;
  }
  .login-left{
    padding: 34px 28px;
  }
  .login-right{
    padding: 34px 28px;
  }
  .welcome-title{ font-size: 38px; }
}

.btn-eye{
  position:absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  color: #6c757d;
  padding: 6px 8px;
  cursor: pointer;
}

.btn-eye:hover{
  color: #2b6cb0;
}

.btn-eye:focus{
  outline: none;
  box-shadow: none;
}
