*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family:'Inter',sans-serif;
  background:#0b0f19;
  color:#fff;
  max-width:100vw;
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:2rem;
}

.login-container{
  width:100%;
  max-width:1400px;
  min-height:850px;
  background:#111827;
  border-radius:32px;
  overflow:hidden;
  display:grid;
  grid-template-columns: 1fr 1fr;
  box-shadow:0 30px 80px rgba(0,0,0,.45);
  border:1px solid rgba(255,255,255,.06);
}

.login-left{
  background:
  linear-gradient(rgba(11,15,25,.88),rgba(11,15,25,.95)),
  url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?q=80&w=1200&auto=format&fit=crop');
  background-size:cover;
  background-position:center;
  padding:4rem;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  position:relative;
}

.logo{
  font-size:2.5rem;
  font-weight:800;
  letter-spacing:-0.04em;
}

.logo span{
  color:#facc15;
}

.hero-content h1{
  font-size:4rem;
  line-height:1.05;
  margin-bottom:2rem;
  font-weight:800;
  letter-spacing:-0.05em;
}

.hero-content h1 span{
  color:#facc15;
}

.hero-content p{
  font-size:1.2rem;
  color:#cbd5e1;
  max-width:520px;
  line-height:1.8;
  margin-bottom:3rem;
}

.features{
  display:flex;
  flex-direction:column;
  gap:2rem;
}

.feature{
  display:flex;
  gap:1rem;
  align-items:flex-start;
}

.feature-icon{
  width:52px;
  height:52px;
  border-radius:16px;
  background:rgba(250,204,21,.1);
  border:1px solid rgba(250,204,21,.2);
  display:flex;
  align-items:center;
  justify-content:center;
  color:#facc15;
  font-size:1.2rem;
  flex-shrink:0;
}

.feature h3{
  margin-bottom:.4rem;
}

.feature p{
  color:#94a3b8;
  line-height:1.6;
}

.login-right{
  background:#f8fafc;
  color:#0f172a;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:4rem;
}

.form-container{
  width:100%;
  max-width:520px;
  background:white;
  border-radius:28px;
  padding:3rem;
  box-shadow:0 20px 40px rgba(15,23,42,.08);
  border:1px solid #e2e8f0;
}

.form-container h2{
  font-size:3rem;
  margin-bottom:1rem;
  font-weight:800;
  letter-spacing:-0.04em;
}

.subtitle{
  color:#64748b;
  margin-bottom:2.5rem;
  font-size:1.05rem;
}

.input-group{
  margin-bottom:1.5rem;
}

.input-group label{
  display:block;
  margin-bottom:.6rem;
  font-weight:600;
}

.input-group input{
  width:100%;
  height:58px;
  border-radius:16px;
  border:1px solid #cbd5e1;
  padding:0 1rem;
  font-size:1rem;
  transition:.3s;
  background:#fff;
}

.input-group input:focus{
  outline:none;
  border-color:#facc15;
  box-shadow:0 0 0 4px rgba(250,204,21,.15);
}

.forgot{
  text-align:right;
  margin-bottom:2rem;
}

.forgot a{
  color:#eab308;
  text-decoration:none;
  font-weight:600;
}

.btn-primary{
  width:100%;
  height:58px;
  border:none;
  border-radius:16px;
  background:#facc15;
  color:#000;
  font-weight:700;
  font-size:1rem;
  cursor:pointer;
  transition:.3s;
  box-shadow:0 10px 30px rgba(250,204,21,.25);
}

.btn-primary:hover{
  background:#eab308;
  transform:translateY(-2px);
}

.separator{
  display:flex;
  align-items:center;
  gap:1rem;
  margin:2rem 0;
  color:#94a3b8;
}

.separator::before,
.separator::after{
  content:'';
  flex:1;
  height:1px;
  background:#e2e8f0;
}

.social-buttons{
  display:flex;
  flex-direction:column;
  gap:1rem;
}

.social-btn{
  height:56px;
  border-radius:16px;
  border:1px solid #e2e8f0;
  background:#fff;
  cursor:pointer;
  font-weight:600;
  transition:.3s;
}

.social-btn:hover{
  background:#f8fafc;
}

.register-link{
  text-align:center;
  margin-top:2rem;
  color:#64748b;
}

.register-link a{
  color:#eab308;
  font-weight:700;
  text-decoration:none;
}

@media(max-width:1100px){

    .login-container{
    grid-template-columns:1fr;
    }
    
    .login-left{
    display:none;
    }
    
    .form-container h2{
    font-size:2.5rem;
    }

}

/*register*/

.register-wrapper{
      max-width:1500px;
      margin:auto;
      display:grid;
      grid-template-columns:420px 1fr;
      background:#111827;
      border-radius:32px;
      overflow:hidden;
      min-height:950px;
      border:1px solid rgba(255,255,255,.06);
      box-shadow:0 30px 80px rgba(0,0,0,.45);
    }

    .left-panel{
      background:
      linear-gradient(rgba(11,15,25,.92),rgba(11,15,25,.96)),
      url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?q=80&w=1200&auto=format&fit=crop');
      background-size:cover;
      background-position:center;
      padding:4rem;
      display:flex;
      flex-direction:column;
      justify-content:space-between;
    }

    .logo{
      font-size:2.3rem;
      font-weight:800;
    }

    .logo span{
      color:#facc15;
    }

    .left-panel h1{
      font-size:3.6rem;
      line-height:1.05;
      margin-bottom:2rem;
      font-weight:800;
      letter-spacing:-0.05em;
    }

    .left-panel h1 span{
      color:#facc15;
    }

    .left-panel p{
      color:#cbd5e1;
      line-height:1.8;
      font-size:1.1rem;
    }

    .right-panel{
      background:#f8fafc;
      color:#0f172a;
      padding:4rem;
      display:flex;
      align-items:center;
      justify-content:center;
    }

    .form-card{
      width:100%;
      max-width:760px;
      background:white;
      border-radius:28px;
      padding:3rem;
      border:1px solid #e2e8f0;
      box-shadow:0 20px 40px rgba(15,23,42,.06);
    }

    .form-card h2{
      font-size:3rem;
      margin-bottom:1rem;
      font-weight:800;
      letter-spacing:-0.04em;
    }

    .form-card p{
      color:#64748b;
      margin-bottom:2.5rem;
    }

    .grid{
      display:grid;
      grid-template-columns:1fr 1fr;
      gap:1.5rem;
    }

    .input-group{
      margin-bottom:1.5rem;
    }

    .input-group.full{
      grid-column:1/-1;
    }

    label{
      display:block;
      margin-bottom:.6rem;
      font-weight:600;
    }

    input,select{
      width:100%;
      height:58px;
      border-radius:16px;
      border:1px solid #cbd5e1;
      padding:0 1rem;
      font-size:1rem;
      background:#fff;
      transition:.3s;
    }

    input:focus,
    select:focus{
      outline:none;
      border-color:#facc15;
      box-shadow:0 0 0 4px rgba(250,204,21,.15);
    }

    .checkbox{
      display:flex;
      align-items:flex-start;
      gap:.8rem;
      margin:2rem 0;
      color:#64748b;
    }

    .checkbox input{
      width:auto;
      height:auto;
      margin-top:4px;
    }

    .checkbox a{
      color:#eab308;
      text-decoration:none;
      font-weight:600;
    }

    .btn-primary{
      width:100%;
      height:60px;
      border:none;
      border-radius:18px;
      background:#facc15;
      color:#000;
      font-weight:700;
      cursor:pointer;
      font-size:1rem;
      transition:.3s;
      box-shadow:0 10px 30px rgba(250,204,21,.25);
    }

    .btn-primary:hover{
      background:#eab308;
      transform:translateY(-2px);
    }

    .separator{
      display:flex;
      align-items:center;
      gap:1rem;
      margin:2rem 0;
      color:#94a3b8;
    }

    .separator::before,
    .separator::after{
      content:'';
      flex:1;
      height:1px;
      background:#e2e8f0;
    }

    .social-grid{
      display:grid;
      grid-template-columns:1fr 1fr;
      gap:1rem;
    }

    .social-btn{
      height:56px;
      border-radius:16px;
      border:1px solid #e2e8f0;
      background:#fff;
      cursor:pointer;
      font-weight:600;
      transition:.3s;
    }

    .social-btn:hover{
      background:#f8fafc;
    }

    .login-link{
      text-align:center;
      margin-top:2rem;
      color:#64748b;
    }

    .login-link a{
      color:#eab308;
      text-decoration:none;
      font-weight:700;
    }

    @media(max-width:1200px){

      .register-wrapper {
        grid-template-columns:1fr;
      }

      .left-panel{
        display:none;
      }

    }

    @media(max-width:750px){

        .grid{
            grid-template-columns:1fr;
        }
        
        .right-panel{
            padding:1.5rem;
        
        }
      
        .login-container {
            max-width: 90vw;
            min-height: 90vh;
        }
      
        .login-right {
            width:90vw;
            padding: 1.5rem;
        }
        
        .form-container {
            max-width: 98%;
        }
        
        .form-card{
            padding:2rem;
        }
        
        .form-card h2{
            font-size:2.2rem;
        }

    }
