@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700;800&display=swap');
*{
    box-sizing: border-box;
}
body{
    font-family: 'Open Sans', sans-serif;
    margin: 0px;
    font-size: 14px;
}
.login-container{
    display: flex;
    height: 100vh;
}
.login-left{
    width: 50%;
}
.login-right{
    width: 50%;
}
.subprime-img{
    width: 100%;
    height: 100%;
    background: url(../images/login-bg-1.jpg);
    display: flex;
    align-items: end;
    justify-content: center;
    padding: 0px 50px;
}
.subprime-img img{
    max-width: 100%;
}
.franchise-img{
    width: 100%;
    height: 100%;
    background: url(../images/login-bg-2.jpg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
}
.franchise-img img{
    max-width: 100%;
}
.franchise-img{
    display: none;
}
.login-right-top{
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 10px;
    padding: 10px;
    font-size: 13px;
}
.login-right-top a{
    color: #1c2841;
    text-decoration: none;
}
    .login-right-top a:hover {
        color: #D90429;
        text-decoration: underline;
    }
.login-right-top span a{
    display: block;
}
.login-right-bottom{
    background: #eaedf1;
    text-align: center;
    padding: 6px;
}
.login-right-bottom a{
    color: #1c2841;
    text-decoration: underline;
}
    .login-right-bottom a:hover {
        color: #D90429;
        text-decoration: underline;
    }
.login-right-body{
    height: calc(100vh - 88px);
    display: flex;
    align-items: center;
    justify-content: center;
}
.login-box{
    width: 360px;
    text-align: center;
}
.login-logo{
    margin-bottom: 50px;
}
.slider-button{
    background: #eef1f4;
    padding: 3px;
    border-radius: 80px;
    height: 50px;
    display: flex;
    position: relative;
    margin-bottom: 20px;
}
.slider-button button{
    width: 50%;
    border: 0px;
    background: transparent;
    color: #1c2840;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    z-index: 2;
}
.slider-button button.active{
    color: #fff;
}
.slider-btn-bg {
    width: 50%;
    height: 44px;
    border-radius: 50px;
    background: #D90429;
    position: absolute;
    left: 3px;
    transition: .4s;
}
.input-box{
    position: relative;
}
.input-box input{
    width: 100%;
    border: solid 1px #d7d6d6;
    border-radius: 5px;
    margin-bottom: 10px;
    padding: 12px;
    padding-right: 36px;
}
.input-box img{
    position: absolute;
    right: 12px;
    top: 12px;
}
.orange-btn {
    width: 100%;
    border: 0px;
    background: #D90429;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    padding: 12px;
    text-align: center;
    font-size: 16px;
    border-radius: 5px;
    text-transform: uppercase;
    margin: 10px 0px;
}
.orange-btn:hover{
    background: #1c2840;
}
.link-text{
    color: #1c2840;
    text-decoration: underline;
}
    .link-text:hover {
        color: #D90429;
        text-decoration: underline;
    }
.switch {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 21px;
  }
  
  .switch input { 
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 15px;
    width: 15px;
    left: 4px;
    bottom: 3px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  input:checked + .slider {
    background-color: #0acf83;
  }
  
  input:focus + .slider {
    box-shadow: 0 0 1px #0acf83;
  }
  
  input:checked + .slider:before {
    -webkit-transform: translateX(14px);
    -ms-transform: translateX(14px);
    transform: translateX(14px);
  }
  
  .slider.round {
    border-radius: 34px;
  }
  
  .slider.round:before {
    border-radius: 50%;
  }
  .remember-me{
    display: flex;
    gap: 10px;
    gap: 10px;
    font-size: 13px;
    margin-bottom: 10px;
  }
  .franchise-login-form{
    display: none;
  }
.franchise-dealer .subprime-img{
    display: none;
}
.franchise-dealer .subprime-img{
    display: none;
}
.franchise-dealer .franchise-img{
    display: flex;
}
.franchise-dealer .slider-btn-bg{
    transform: translateX(173px);
}
.franchise-dealer .franchise-login-form{
    display: block;
}
.franchise-dealer .subprime-login-form{
    display: none;
}

.email-icon {
    width: 24px;
}


@media(max-width:1023px) {
    .login-left{display: none;}
    .login-right{width: 100%;}
  }
  @media(max-width:400px){
    .login-box{
        width: 100%; padding:0px 20px;
    }
  }
  