/* =========================
   GLOBAL
========================= */

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

body{

  min-height: 100vh;

  font-family: 'Poppins', sans-serif;

  overflow: hidden;

  position: relative;

  background:
    linear-gradient(
      135deg,
      #344955 0%,
      #2b3c46 45%,
      #1f2c34 100%
    );

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

/* =========================
   BACKGROUND GLOW
========================= */

.bg-glow{

  position: absolute;

  border-radius: 50%;

  filter: blur(80px);

  opacity: 0.35;

  z-index: 0;
}


.glow-1{

  width: 350px;
  height: 350px;

  background: #0ABAB5;

  top: -100px;
  left: -100px;
}

.glow-2{

  width: 300px;
  height: 300px;

  background: #F9AA33;

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

/* =========================
   MAIN CONTAINER
========================= */

.login-container{

  width: 95%;
  max-width: 1200px;

  min-height: 700px;

  display: grid;
  grid-template-columns: 1fr 1fr;

  background: rgba(255,255,255,0.08);

  backdrop-filter: blur(20px);

  border: 1px solid rgba(255,255,255,0.12);

  border-radius: 35px;

  overflow: hidden;

  box-shadow:
    0 20px 60px rgba(0,0,0,0.25);

  position: relative;

  z-index: 2;
}

/* =========================
   LEFT PANEL
========================= */

.login-left{

  padding: 70px 60px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  color: white;

  position: relative;
}

.login-logo{

  width: 240px;

  margin-bottom: 25px;

  animation: floatLogo 4s ease-in-out infinite;
}

@keyframes floatLogo{

  0%{
    transform: translateY(0px);
  }

  50%{
    transform: translateY(-8px);
  }

  100%{
    transform: translateY(0px);
  }
}

/* BADGE */

.welcome-badge{

  display: inline-flex;
  align-items: center;
  gap: 10px;

  width: fit-content;

  padding: 10px 18px;

  border-radius: 50px;

  background: rgba(255,255,255,0.10);

  margin-bottom: 28px;

  font-size: 14px;
}

.welcome-badge i{
  color: #F9AA33;
}

/* TITLE */

.login-left h1{

  font-size: 3rem;

  font-weight: 800;

  line-height: 1.2;

  margin-bottom: 20px;
}

.login-left h1 span{
  color: #F9AA33;
}

/* TEXT */

.login-left p{

  color: rgba(255,255,255,0.78);

  line-height: 1.8;

  font-size: 1.05rem;

  margin-bottom: 40px;
}

/* FEATURES */

.feature-list{
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.feature-item{

  display: flex;
  align-items: center;
  gap: 14px;

  font-size: 15px;
}

.feature-item i{

  width: 45px;
  height: 45px;

  border-radius: 14px;

  background: rgba(255,255,255,0.10);

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

  color: #F9AA33;

  font-size: 18px;
}

/* =========================
   RIGHT PANEL
========================= */

.login-right{

  background: #fff;

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

  padding: 40px;
}

/* CARD */

.login-card{

  width: 100%;
  max-width: 420px;
}

/* HEADER */

.login-header{
  margin-bottom: 35px;
}

.login-header h2{

  color: #344955;

  font-weight: 700;

  margin-bottom: 10px;
}

.login-header p{

  color: #64748b;

  margin: 0;
}

/* FORM */

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

.form-group label{

  display: block;

  margin-bottom: 10px;

  font-weight: 500;

  color: #344955;
}

/* CUSTOM INPUT */

.input-group-custom{

  display: flex;
  align-items: center;

  border: 1px solid #dbe4ee;

  border-radius: 16px;

  padding: 0 16px;

  transition: 0.3s ease;

  background: #f8fafc;
}

.input-group-custom:focus-within{

  border-color: #0ABAB5;

  box-shadow:
    0 0 0 4px rgba(10,186,181,0.10);
}

.input-group-custom i{

  /* color: #64748b; */

  font-size: 16px;
}

/* INPUT */

.form-control{

  border: none !important;

  background: transparent !important;

  box-shadow: none !important;

  padding: 14px 12px;

  font-size: 15px;
}

.form-control::placeholder{
  color: #94a3b8;
}

/* OPTIONS */

.login-options{

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

  margin-bottom: 28px;

  flex-wrap: wrap;

  gap: 10px;
}

.login-options a{

  text-decoration: none;

  color: #0ABAB5;

  font-size: 14px;

  font-weight: 500;
}

/* BUTTON */

.login-btn{

  width: 100%;

  border: none;

  border-radius: 18px;

  padding: 15px;

  background:
    linear-gradient(
      135deg,
      #0ABAB5,
      #099d99
    );

  color: white;

  font-weight: 600;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  transition: 0.3s ease;

  box-shadow:
    0 12px 25px rgba(10,186,181,0.30);
}

.login-btn:hover{

  transform: translateY(-3px);

  box-shadow:
    0 18px 35px rgba(10,186,181,0.38);
}

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

@media(max-width: 992px){

  .login-container{
    grid-template-columns: 1fr;
  }

  .login-left{
    display: none;
  }

}

@media(max-width: 576px){

  .login-right{
    padding: 25px;
  }

  .login-header h2{
    font-size: 1.8rem;
  }

}

.input-group-custom.is-invalid {
  border-color: #dc3545 !important; /* red border */
  box-shadow: 0 0 0 0.2rem rgba(220,53,69,.25) !important; /* optional glow */
}