/* =========================================
   RESET
========================================= */

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

body{
  font-family:'Poppins',sans-serif;
  background:#020617;
  overflow:hidden;
  min-height:100vh;
  position:relative;
}

/* =========================================
   BACKGROUND ANIMATION
========================================= */

.bg-animation{
  position:fixed;
  inset:0;
  overflow:hidden;
  z-index:1;

  background:
    radial-gradient(circle at top left,
      rgba(37,99,235,.35),
      transparent 30%),

    radial-gradient(circle at bottom right,
      rgba(79,70,229,.30),
      transparent 35%),

    linear-gradient(135deg,#020617 0%,#0F172A 100%);
}

.bg-animation span{
  position:absolute;
  display:block;
  border-radius:50%;
  background:rgba(255,255,255,.05);
  bottom:-180px;
  animation:animate 25s linear infinite;
}

.bg-animation span:nth-child(1){
  left:10%;
  width:90px;
  height:90px;
  animation-delay:0s;
}

.bg-animation span:nth-child(2){
  left:25%;
  width:45px;
  height:45px;
  animation-delay:2s;
  animation-duration:12s;
}

.bg-animation span:nth-child(3){
  left:45%;
  width:120px;
  height:120px;
  animation-delay:4s;
}

.bg-animation span:nth-child(4){
  left:70%;
  width:150px;
  height:150px;
  animation-delay:0s;
  animation-duration:18s;
}

.bg-animation span:nth-child(5){
  left:85%;
  width:65px;
  height:65px;
  animation-delay:1s;
}

@keyframes animate{

  0%{
    transform:
      translateY(0)
      rotate(0deg);

    opacity:1;
  }

  100%{
    transform:
      translateY(-1100px)
      rotate(720deg);

    opacity:0;
  }

}

/* =========================================
   MAIN WRAPPER
========================================= */

.main-wrapper{
  position:relative;
  z-index:2;

  width:100%;
  min-height:100vh;

  display:flex;
  align-items:center;
  justify-content:center;

  padding:30px;
}

/* =========================================
   LOGIN CONTAINER
========================================= */

.login-container{
  width:100%;
  max-width:1180px;

  display:flex;

  overflow:hidden;

  border-radius:32px;

  backdrop-filter:blur(20px);

  background:
    rgba(255,255,255,.08);

  border:
    1px solid rgba(255,255,255,.08);

  box-shadow:
    0 25px 60px rgba(0,0,0,.45);
}

/* =========================================
   LEFT SIDE
========================================= */

.left-side{
  width:55%;
  padding:70px 60px;

  position:relative;
  overflow:hidden;

  color:white;
}

.left-side::before{
  content:'';

  position:absolute;

  width:350px;
  height:350px;

  background:
    rgba(255,255,255,.06);

  border-radius:50%;

  top:-150px;
  right:-120px;
}

.left-side::after{
  content:'';

  position:absolute;

  width:250px;
  height:250px;

  background:
    rgba(255,255,255,.04);

  border-radius:50%;

  bottom:-100px;
  left:-80px;
}

.left-content{
  position:relative;
  z-index:2;
}

/* =========================================
   LOGO
========================================= */

.logo-box{
  margin-bottom:50px;
}

.logo-icon{
  width:95px;
  height:95px;

  background:
    rgba(255,255,255,.08);

  border-radius:28px;

  display:flex;
  align-items:center;
  justify-content:center;

  backdrop-filter:blur(10px);

  box-shadow:
    0 10px 35px rgba(37,99,235,.25);

  margin-bottom:25px;
}

.logo-icon img{
  width:70px;
  object-fit:contain;
}

.logo-box h1{
  font-size:46px;
  font-weight:700;

  line-height:1.2;

  margin-bottom:18px;
}

.subtitle{
  max-width:520px;

  color:
    rgba(255,255,255,.78);

  line-height:1.8;
  font-size:16px;
}

/* =========================================
   FEATURE
========================================= */

.feature-list{
  margin-top:50px;
}

.feature-item{
  display:flex;
  align-items:flex-start;

  gap:18px;

  margin-bottom:24px;
}

.feature-icon{
  min-width:52px;
  height:52px;

  border-radius:18px;

  background:
    rgba(255,255,255,.08);

  display:flex;
  align-items:center;
  justify-content:center;

  color:#60A5FA;
}

.feature-item h4{
  font-size:16px;
  font-weight:600;

  margin-bottom:6px;
}

.feature-item p{
  color:
    rgba(255,255,255,.72);

  font-size:14px;
  line-height:1.7;
}

/* =========================================
   RIGHT SIDE
========================================= */

.right-side{
  width:45%;

  background:
    rgba(255,255,255,.96);

  display:flex;
  align-items:center;

  padding:60px 45px;
}

.login-box{
  width:100%;
}

/* =========================================
   MOBILE LOGO
========================================= */

.mobile-logo{
  display:none;
}

/* =========================================
   TITLE
========================================= */

.login-title{
  font-size:36px;
  font-weight:700;

  color:#0F172A;

  margin-bottom:12px;
}

.login-subtitle{
  color:#64748B;

  margin-bottom:35px;

  line-height:1.7;
}

/* =========================================
   ALERT
========================================= */

.alert-login{
  width:100%;

  background:
    rgba(239,68,68,.12);

  border:
    1px solid rgba(239,68,68,.18);

  color:#DC2626;

  border-radius:18px;

  padding:15px 18px;

  display:flex;
  align-items:center;

  gap:10px;

  margin-bottom:25px;

  font-size:14px;
}

/* =========================================
   INPUT
========================================= */

.input-group-modern{
  position:relative;

  margin-bottom:22px;
}

.input-icon{
  position:absolute;

  top:18px;
  left:18px;

  color:#64748B;
  font-size:20px;
}

.input-group-modern input{
  width:100%;
  height:58px;

  border:none;
  outline:none;

  border-radius:18px;

  background:#F1F5F9;

  padding-left:55px;
  padding-right:55px;

  font-size:15px;

  transition:.3s;
}

.input-group-modern input:focus{
  background:white;

  box-shadow:
    0 0 0 4px rgba(37,99,235,.12);
}

/* =========================================
   PASSWORD
========================================= */

.password-group{
  position:relative;
}

.toggle-password{
  position:absolute;

  top:17px;
  right:18px;

  cursor:pointer;

  color:#64748B;
}

/* =========================================
   REMEMBER
========================================= */

.remember-row{
  display:flex;
  align-items:center;
  justify-content:space-between;

  margin-bottom:28px;

  font-size:14px;
}

.remember-box{
  display:flex;
  align-items:center;

  gap:8px;

  color:#475569;
}

.remember-row a{
  text-decoration:none;
  color:#2563EB;
  font-weight:500;
}

/* =========================================
   CAPTCHA
========================================= */

.captcha-box{
  display:flex;
  justify-content:center;

  margin-bottom:25px;
}

/* =========================================
   BUTTON
========================================= */

.btn-login{
  width:100%;
  height:58px;

  border:none;
  outline:none;

  border-radius:18px;

  background:
    linear-gradient(
      135deg,
      #2563EB,
      #4F46E5
    );

  color:white;

  font-size:15px;
  font-weight:600;

  cursor:pointer;

  transition:.3s;

  box-shadow:
    0 15px 35px rgba(37,99,235,.28);
}

.btn-login:hover{
  transform:translateY(-3px);

  box-shadow:
    0 20px 40px rgba(37,99,235,.35);
}

/* =========================================
   REGISTER
========================================= */

.register-text{
  text-align:center;

  margin-top:25px;

  color:#64748B;
  font-size:14px;
}

.register-text a{
  color:#2563EB;

  text-decoration:none;
  font-weight:600;
}

/* =========================================
   SPINNER
========================================= */

.spinner{
  width:18px;
  height:18px;

  border-radius:50%;

  border:2px solid rgba(255,255,255,.4);
  border-top:2px solid white;

  display:inline-block;

  animation:spin .8s linear infinite;
}

.d-none{
  display:none;
}

@keyframes spin{

  100%{
    transform:rotate(360deg);
  }

}

/* =========================================
   RESPONSIVE
========================================= */

@media(max-width:991px){

  body{
    overflow-y:auto;
  }

  .main-wrapper{
    padding:18px;
  }

  .login-container{
    flex-direction:column;
  }

  .left-side{
    display:none;
  }

  .right-side{
    width:100%;
    padding:40px 28px;
  }

  .mobile-logo{
    display:flex;
    justify-content:center;

    margin-bottom:25px;
  }

  .mobile-logo img{
    width:85px;
    height:85px;

    object-fit:contain;

    padding:16px;

    border-radius:24px;

    background:
      linear-gradient(
        135deg,
        #2563EB,
        #4F46E5
      );

    box-shadow:
      0 12px 30px rgba(37,99,235,.25);
  }

  .login-title{
    text-align:center;
    font-size:30px;
  }

  .login-subtitle{
    text-align:center;
  }

}

@media(max-width:480px){

  .right-side{
    padding:35px 20px;
  }

  .login-title{
    font-size:26px;
  }

  .remember-row{
    flex-direction:column;
    align-items:flex-start;

    gap:12px;
  }

  .g-recaptcha{
    transform:scale(.88);
    transform-origin:left;
  }

}