:root{
    --primary:#2C87C8;
    --secondary:#A7CE3A
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Regular.woff2') format('woff2'), url('../fonts/Inter-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Bold.woff2') format('woff2'), url('../fonts/Inter-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

body{padding: 0;background-color: #F5FCFF;background-image: url(../images/login_bg.png);background-size: cover;background-position: center center; font-family: 'Inter';}

.login_main_sec{
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.login_box{
    width: 100%;
    max-width: 850px;
    border-radius: 20px;
    border: 5px solid #FFF;
    background: #FFF;
    box-shadow: 0px 47px 94px 0px rgba(0, 0, 0, 0.07);
    display: flex;
    gap: 8px;
}
.login_box_left{
    width: 50%;
    background-color: #EFF8FF;
    text-align: center;
    padding: 40px 15px;
    display: flex;
    align-items: center;
}
.login_box_left_cnt{
    width: 100%;
    height: auto;
    text-align: center;
    color: var(--primary);
    line-height: 15px;
}
.login_box_left_cnt strong{
    width: 100%;
    height: auto;
    text-align: center;
    color: var(--primary);
    font-weight: bold;
    font-size: 30px;
    line-height: 22px;
}
.login_box_left_cnt p{
    width: 100%;
    height: auto;
    text-align: center;
    font-size: 14px;
    color: #919191;
}
.login_box_left_cnt h5{
    width: 100%;
    height: auto;
    text-align: center;
    color: #000;
    font-weight: bold;
    font-size: 15px;
    margin-top: 30px;
    line-height: 22px;
    margin-bottom: 0;
}
.login_box_left_img{
    width: 100%;
    height: auto;
    text-align: center;
    display: inline-block;
}
.login_box_left_img img{max-width: 100%;height:200px;}

.login_box_right_sec{
    width: 50%;
}
.login_box_right_logo{
    width: 100%;
    height: auto;
    text-align: center;
    display: inline-block;
    margin-top: 30px;
}
.login_box_right_logo p{
    width: 100%;
    height: auto;
    text-align: center;
    font-size: 14px;
    color: #919191;
}
.login_frm_Sec{
    width: 85%;
    height: auto;
    display: inline-block;
    padding: 0 7%;
}
.login_frm_forgot{
    width: 100%;
    height: auto;
    display: inline-block;
    font-size: 14px;
    color: #666;
}
.login_now_btn{
    width: 100%;
    height: 45px;
    border-radius: 40px;
    background-color: var(--primary);
    color: #fff;
    border: 0;
    font-size: 15px;
    cursor: pointer;
    transition: 0.2s ease;
    margin-top: 20px;
}
.login_now_btn:hover{background-color: var(--secondary);}



.custom-field {
    position: relative;
    font-size: 14px;
    border-top: 20px solid transparent;
    margin-bottom: 5px;
    width: 100%;
    display: inline-block;
    --field-padding: 12px;
  }
  
  .custom-field input {
    border: none;
    -webkit-appearance: none;
    -ms-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: #f2f2f2;
    padding: var(--field-padding);
    border-radius: 8px;
    outline: none;
    width: 92%;
    display: inline-block;
    font-size: 14px;
  }
  
  .custom-field .placeholder {
    position: absolute;
    left: var(--field-padding);
    width: calc(100% - (var(--field-padding) * 2));
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    top: 22px;
    line-height: 100%;
    transform: translateY(-50%);
    color: #aaa;
    transition: 
      top 0.3s ease,
      color 0.3s ease,
      font-size 0.3s ease;
  }
  
  .custom-field input.dirty + .placeholder,
  .custom-field input:focus + .placeholder,
  .custom-field input:not(:placeholder-shown) + .placeholder {
    top: -10px;
    font-size: 10px;
    color: #868686;
  }
  
  .custom-field .error-message {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 8px;
    font-size: 12px;
    background: #d30909;
    color: #fff;
    height: 24px;
  }
  
  .custom-field .error-message:empty {
    opacity: 0;
  }
  
  /* ONE */
  .custom-field.one input {
    background: none;
    border: 1px solid #ddd;
    transition: border-color 0.3s ease;
  }
  
  .custom-field.one input + .placeholder {
    left: 8px;
    padding: 0 5px;
  }
  
  .custom-field.one input.dirty,
  .custom-field.one input:not(:placeholder-shown),
  .custom-field.one input:focus {
    border-color: #868686;
    transition-delay: 0.1s
  }
  
  .custom-field.one input.dirty + .placeholder,
  .custom-field.one input:not(:placeholder-shown) + .placeholder,
  .custom-field.one input:focus + .placeholder {
    top: 0;
    font-size: 10px;
    color: #868686;
    background: #fff;
    width: auto
  }
  
  .orlogin_with{
    width: 83%;
    display: inline-block;
    margin-top: 20px;
    padding: 0 30px;
  }
  .orlogin_with_head{
    width: 100%;
    display: inline-block;
    border-bottom: solid 1px #eeeeee;
    text-align: center;
  }
  .orlogin_with_head span{
    padding: 5px 10px;
    background-color: #fff;
    position: relative;
    font-size: 12px;
    display: inline-block;
    top: 10px;
    color: #868686;
  }
  .loginwith_soc_sec{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
  }
  .loginwith_soc_ico{
    width: 30px;
    min-width: 30px;
    cursor: pointer;
    margin-top: 20px;
    height: 30px;
    box-shadow: 0px 2px 10px #ccc;
    border-radius: 50px;
  }
  .loginwith_soc_ico img{width: 100%;}
  input.is-invalid {
    border: 1px solid red;
}

.alert-danger{
    color: red; 
}
.alert-success{
  color: green; 
}



  @media(max-width:991px){
    .login_box_left{display: none;}
    .login_box{display: inline-block;max-width: inherit;}
    .login_box_right_sec{width: 100%;}
  }