:root{
  --saffron:#ff9933;
  --saffron-dark:#e8790b;
  --green:#138808;
  --green-dark:#0a6a04;
  --navy:#071b52;
  --blue:#000080;
  --ink:#17233c;
  --muted:#6d7789;
  --line:#e4e8ef;
  --white:#fff;
}

*{box-sizing:border-box;margin:0;padding:0}

html,body{min-height:100%}

body{
  font-family:Inter,"Noto Sans Devanagari",Arial,sans-serif;
  color:var(--ink);
  background:#f8fafc;
}

a{text-decoration:none;color:inherit}

.tricolor-top{
  position:fixed;
  left:0;right:0;top:0;
  height:4px;
  display:flex;
  z-index:2000;
}
.tricolor-top span{flex:1}
.tricolor-top span:nth-child(1){background:var(--saffron)}
.tricolor-top span:nth-child(2){background:#fff}
.tricolor-top span:nth-child(3){background:var(--green)}

.topbar{
  height:86px;
  background:rgba(255,255,255,.96);
  border-bottom:1px solid rgba(7,27,82,.07);
  position:relative;
  z-index:50;
}
.topbar-inner{
  width:min(calc(100% - 48px),1180px);
  height:100%;
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.brand img{width:215px;max-height:70px;object-fit:contain}
.home-link{
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--navy);
  font-size:13px;
  font-weight:800;
  padding:10px 16px;
  border-radius:999px;
  transition:.2s;
}
.home-link:hover{background:#f3f6fa;color:var(--green)}
.home-link svg{
  width:17px;height:17px;
  fill:none;stroke:currentColor;stroke-width:1.8;
  stroke-linecap:round;stroke-linejoin:round;
}

.login-page{
  min-height:calc(100vh - 142px);
  position:relative;
  overflow:hidden;
  padding:55px 24px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:
    radial-gradient(circle at 82% 15%,rgba(19,136,8,.09),transparent 30%),
    radial-gradient(circle at 12% 88%,rgba(255,153,51,.11),transparent 31%),
    linear-gradient(125deg,#fff9f3 0%,#fff 48%,#f2fff1 100%);
}

.login-page:before{
  content:"";
  position:absolute;
  width:780px;height:780px;
  right:-340px;top:-390px;
  border-radius:50%;
  border:1px solid rgba(19,136,8,.11);
}
.login-page:after{
  content:"";
  position:absolute;
  width:520px;height:520px;
  left:-280px;bottom:-330px;
  border-radius:50%;
  border:1px solid rgba(255,153,51,.14);
}

.decor{position:absolute;border-radius:50%;filter:blur(.2px)}
.decor-saffron{
  width:160px;height:160px;
  left:7%;top:12%;
  background:rgba(255,153,51,.07);
}
.decor-green{
  width:230px;height:230px;
  right:6%;bottom:4%;
  background:rgba(19,136,8,.055);
}
.chakra-bg{
  position:absolute;
  right:7%;
  top:10%;
  font-size:310px;
  line-height:1;
  color:rgba(0,0,128,.027);
  animation:spin 35s linear infinite;
}
@keyframes spin{to{transform:rotate(360deg)}}

.login-shell{
  position:relative;
  z-index:5;
  width:min(100%,1000px);
  min-height:560px;
  display:grid;
  grid-template-columns:1.05fr .95fr;
  overflow:hidden;
  border:1px solid rgba(7,27,82,.08);
  border-radius:30px;
  background:#fff;
  box-shadow:0 28px 85px rgba(7,27,82,.13);
}

.welcome-panel{
  position:relative;
  color:#fff;
  padding:62px 54px;
  display:flex;
  align-items:center;
  overflow:hidden;
  background:
    linear-gradient(145deg,rgba(6,20,61,.98),rgba(9,42,101,.97) 58%,rgba(11,105,4,.91));
}

.welcome-panel:before{
  content:"☸";
  position:absolute;
  right:-75px;
  bottom:-90px;
  font-size:330px;
  color:rgba(255,255,255,.045);
  line-height:1;
}
.welcome-panel:after{
  content:"";
  position:absolute;
  left:-130px;
  top:-130px;
  width:350px;height:350px;
  border:55px solid rgba(255,153,51,.06);
  border-radius:50%;
}
.welcome-content{position:relative;z-index:2}

.mini-title{
  display:inline-flex;
  align-items:center;
  gap:9px;
  font-size:10px;
  letter-spacing:1.7px;
  font-weight:800;
  color:#c8d4ef;
}
.mini-title i{
  width:9px;height:9px;
  border-radius:50%;
  background:linear-gradient(180deg,var(--saffron) 0 33%,#fff 33% 66%,var(--green) 66%);
}

.welcome-panel h1{
  font-size:44px;
  line-height:1.1;
  letter-spacing:-1.7px;
  font-weight:600;
  margin:20px 0 17px;
}
.welcome-panel h1 strong{
  color:#ffb969;
  font-weight:800;
}
.welcome-panel>div>p{
  max-width:430px;
  color:rgba(255,255,255,.69);
  font-size:14px;
  line-height:1.75;
}

.values{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:9px;
  margin-top:38px;
}
.values>div{
  padding:15px 11px;
  border:1px solid rgba(255,255,255,.11);
  border-radius:15px;
  background:rgba(255,255,255,.055);
  display:flex;
  align-items:center;
  gap:9px;
}
.value-icon{
  flex:0 0 31px;
  width:31px;height:31px;
  display:grid;
  place-items:center;
  border-radius:10px;
  font-size:16px;
}
.saffron-icon{background:rgba(255,153,51,.16);color:#ffb45d}
.blue-icon{background:rgba(118,157,255,.15);color:#a9c0ff}
.green-icon{background:rgba(99,215,87,.15);color:#99eb8f}
.values b{display:block;font-size:11px;color:#fff}
.values small{display:block;font-size:8px;color:rgba(255,255,255,.48);margin-top:1px}

.india-line{
  display:flex;
  width:130px;
  height:4px;
  overflow:hidden;
  border-radius:99px;
  margin-top:36px;
}
.india-line span{flex:1}
.india-line span:nth-child(1){background:var(--saffron)}
.india-line span:nth-child(2){background:#fff}
.india-line span:nth-child(3){background:#36aa2b}

.hindi{
  font-family:"Noto Sans Devanagari",sans-serif;
  margin-top:12px;
  color:rgba(255,255,255,.65)!important;
  font-size:11px!important;
  font-weight:700;
}

.form-panel{
  padding:52px 48px;
  display:flex;
  align-items:center;
  background:#fff;
}
.form-card{width:100%;max-width:390px;margin:auto}
.mobile-logo{display:none}

.login-badge{
  width:52px;height:52px;
  display:grid;
  place-items:center;
  margin-bottom:18px;
  border-radius:16px;
  background:linear-gradient(145deg,#fff1e1,#efffed);
}
.lock-icon{
  width:34px;height:34px;
  border-radius:11px;
  display:grid;
  place-items:center;
  color:var(--navy);
  background:#fff;
  box-shadow:0 6px 18px rgba(7,27,82,.08);
}
.lock-icon svg{
  width:19px;height:19px;
  fill:none;stroke:currentColor;stroke-width:1.8;
  stroke-linecap:round;stroke-linejoin:round;
}

.form-heading>span{
  color:var(--green);
  font-size:9px;
  font-weight:800;
  letter-spacing:1.7px;
}
.form-heading h2{
  color:var(--navy);
  font-size:32px;
  line-height:1.15;
  margin:4px 0 7px;
  letter-spacing:-1px;
}
.form-heading p{
  color:var(--muted);
  font-size:12px;
  margin-bottom:26px;
}

.field{margin-bottom:17px}
.field label{
  display:block;
  font-size:11px;
  font-weight:800;
  color:#344054;
  margin-bottom:7px;
}
.label-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.label-row a{
  font-size:10px;
  color:var(--green);
  font-weight:700;
}
.label-row a:hover{text-decoration:underline}

.input-wrap{position:relative}
.input-wrap input{
  width:100%;
  height:49px;
  border:1px solid #dbe1e9;
  border-radius:13px;
  background:#fbfcfe;
  padding:0 47px 0 44px;
  outline:none;
  color:var(--ink);
  font-size:12px;
  transition:.2s;
}
.input-wrap input::placeholder{color:#a3acb9}
.input-wrap input:focus{
  background:#fff;
  border-color:var(--green);
  box-shadow:0 0 0 4px rgba(19,136,8,.075);
}
.input-icon{
  position:absolute;
  left:15px;top:50%;
  transform:translateY(-50%);
  width:18px;height:18px;
  color:#8792a5;
  pointer-events:none;
}
.input-icon svg,.password-toggle svg{
  width:100%;height:100%;
  fill:none;stroke:currentColor;stroke-width:1.7;
  stroke-linecap:round;stroke-linejoin:round;
}
.password-toggle{
  position:absolute;
  right:10px;top:50%;
  transform:translateY(-50%);
  width:34px;height:34px;
  display:grid;
  place-items:center;
  border:0;
  background:transparent;
  color:#8792a5;
  cursor:pointer;
}
.password-toggle svg{width:18px;height:18px}
.eye-closed{display:none}

.remember{
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--muted);
  font-size:10px;
  margin:4px 0 21px;
  cursor:pointer;
}
.remember input{accent-color:var(--green)}

.sign-in-btn{
  width:100%;
  height:51px;
  border:0;
  border-radius:13px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  color:#fff;
  font-size:12px;
  font-weight:800;
  cursor:pointer;
  background:linear-gradient(110deg,var(--saffron),var(--saffron-dark) 25%,var(--green) 78%,var(--green-dark));
  box-shadow:0 12px 27px rgba(19,136,8,.18);
  transition:.25s;
}
.sign-in-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 32px rgba(19,136,8,.23);
}
.sign-in-btn svg{
  width:17px;height:17px;
  fill:none;stroke:#fff;stroke-width:2;
  stroke-linecap:round;stroke-linejoin:round;
}

.secure-note{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:6px;
  margin-top:17px;
  color:#8792a5;
  font-size:9px;
}
.secure-note svg{
  width:14px;height:14px;
  fill:none;stroke:var(--green);stroke-width:1.8;
  stroke-linecap:round;stroke-linejoin:round;
}

.join-note{
  margin-top:25px;
  padding-top:20px;
  border-top:1px solid var(--line);
  text-align:center;
  font-size:10px;
  color:var(--muted);
}
.join-note a{
  margin-left:5px;
  color:var(--green);
  font-weight:800;
}

footer{
  min-height:56px;
  background:#06143d;
  color:rgba(255,255,255,.48);
  display:flex;
  align-items:center;
}
footer>div{
  width:min(calc(100% - 48px),1180px);
  margin:auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:9px;
}
.footer-links{display:flex;align-items:center;gap:9px}
.footer-links a:hover{color:#fff}
.footer-links i{font-style:normal;opacity:.35}

@media(max-width:850px){
  .topbar{height:72px}
  .brand img{width:180px}
  .login-page{padding:35px 20px}
  .login-shell{grid-template-columns:1fr;max-width:520px}
  .welcome-panel{display:none}
  .form-panel{padding:42px 42px 45px}
  .mobile-logo{display:block;margin:0 auto 25px}
  .mobile-logo img{width:205px;margin:auto}
  .login-badge{margin:0 auto 17px}
  .form-heading{text-align:center}
  .chakra-bg{font-size:230px;right:-40px}
}
@media(max-width:520px){
  .topbar-inner{width:calc(100% - 28px)}
  .brand img{width:158px}
  .home-link{font-size:0;padding:9px}
  .home-link svg{width:20px;height:20px}
  .login-page{padding:24px 14px}
  .login-shell{border-radius:23px}
  .form-panel{padding:32px 22px 35px}
  .mobile-logo img{width:185px}
  .form-heading h2{font-size:28px}
  footer>div{width:calc(100% - 28px);flex-direction:column;gap:4px;padding:12px 0;text-align:center}
}
