*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:"Segoe UI", sans-serif;
}

html, body{
  height:100%;
}

body{
  background:#0d1117;
  color:#e6edf3;
  overflow-x:hidden;
}


.login-container{
  min-height:100vh;
  display:grid;
  grid-template-columns:1.2fr 1fr;
}


.left-panel{
  position:relative;
  height:100vh;
  overflow:hidden;
  background:#0d1117;
}

.slider{
  position:relative;
  width:100%;
  height:100%;
}

.slides{
  height:100%;
  display:flex;
  transition:transform 0.45s ease;
  will-change:transform;
}

.slide{
  min-width:100%;
  height:100%;
}


.slide img{
  width:100%;
  height:65%;
  display:block;
  object-fit:cover;         
  object-position:center;
  margin:0;
  margin-top:140px;         
}





.left-panel::after{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.25);
  pointer-events:none;
  z-index:2;
}

.slider *{
  position:relative;
  z-index:3;
}


.nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:44px;
  height:44px;
  border:none;
  border-radius:14px;
  cursor:pointer;
  font-size:24px;
  background:rgba(13,17,23,0.65);
  border:1px solid rgba(255,255,255,0.12);
  color:#f0f6fc;
  display:grid;
  place-items:center;
  backdrop-filter:blur(6px);
  z-index:5;
}

.nav:hover{
  background:rgba(13,17,23,0.85);
}


.dots{
  position:absolute;
  left:50%;
  bottom:14px;
  transform:translateX(-50%);
  display:flex;
  gap:8px;
  z-index:6;
}

.dot{
  width:10px;
  height:10px;
  border-radius:999px;
  background:rgba(255,255,255,0.35);
  border:1px solid rgba(255,255,255,0.20);
  cursor:pointer;
}

.dot.active{
  background:rgba(88,166,255,0.95);
  border-color:rgba(88,166,255,0.95);
}


.right-panel{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:30px;
  background:#0d1117;
}

.login-box{
  width:100%;
  max-width:420px;
  background:#161b22;
  border:1px solid rgba(255,255,255,0.08);
  border-radius:18px;
  padding:28px;
  box-shadow:0 18px 45px rgba(0,0,0,0.75);
}

.logo{
  text-align:center;
  margin-bottom:18px;
}

.logo h1{
  margin:0;
  font-size:32px;
  color:#f0f6fc;
  font-weight:800;
}

.logo h1 span{
  color:#58a6ff;
}

.logo p{
  margin-top:6px;
  color:#9ba3b4;
  font-size:14px;
}

.form-group{
  margin-top:16px;
}

.form-group label{
  display:block;
  margin-bottom:8px;
  color:#9ba3b4;
  font-weight:600;
  font-size:14px;
}

.form-group input{
  width:100%;
  padding:12px 14px;
  border-radius:12px;
  outline:none;
  background:#0d1117;
  color:#e6edf3;
  border:1px solid #30363d;
}

.form-group input::placeholder{
  color:#6b7280;
}

.form-group input:focus{
  border-color:rgba(88,166,255,0.6);
  box-shadow:0 0 0 3px rgba(88,166,255,0.15);
}

.btn-login{
  width:100%;
  margin-top:20px;
  padding:12px;
  border:none;
  border-radius:12px;
  font-weight:800;
  cursor:pointer;
  background:rgba(88,166,255,0.22);
  border:1px solid rgba(88,166,255,0.45);
  color:#f0f6fc;
  transition:transform 0.2s ease, background 0.2s ease;
}

.btn-login:hover{
  background:rgba(88,166,255,0.35);
  transform:translateY(-1px);
}




@media (max-width: 1200px){
  .login-container{
    grid-template-columns: 1fr 1fr;
  }
  .right-panel{
    padding:22px;
  }
}


@media (max-width: 900px){
  .login-container{
    grid-template-columns:1fr;
  }

 
  .left-panel{
    height:240px;
  }

 
  .slide img{
    height:100%;
    margin-top:0;
  }

 
  .right-panel{
    padding:18px 20px 20px;
  }

  .login-box{
    max-width:520px;
    padding:22px;
  }
}


@media (max-width: 600px){
  .left-panel{
    height:200px;
  }

  .login-box{
    padding:18px;
    border-radius:16px;
  }

  .logo h1{
    font-size:26px;
  }

  .nav{
    width:40px;
    height:40px;
    border-radius:12px;
    font-size:22px;
  }

  .dots{
    bottom:10px;
    gap:6px;
  }

  .dot{
    width:9px;
    height:9px;
  }
}


@media (max-width: 900px){

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

 
  .left-panel{
    height:auto;
  }

  .slider,
  .slides,
  .slide{
    height:auto;
  }

 
  .slide img{
    height:290px;    
    width:100%;
    margin-top:194px;    
    object-fit:cover;
    display:block;
  }

 
  .right-panel{
    padding-top:0;
  }
}
