/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
img
 {
  margin: 0;
}

/* Set core root defaults */
html:focus-within {
    scroll-behavior: smooth;
  }
  
  /* Set core body defaults */
  body {
    max-height: 100vh;
    text-rendering: optimizeSpeed;
    font-family: "Inter", sans-serif;
  }

  .login{
    display: flex;
    height: 100vh;
  }


  .login-left{
    flex: 5;
    display: grid;
    place-items: center ;
    overflow-y: auto;

  }

  .login-right{
    flex: 6;
    background: blue;
    overflow: hidden;

  }

  .main-image{
    object-fit: cover  ;
    width: 100%;
    height: 100%;
  }

  .icon{
    position: absolute;
    top: 2rem;
    left: 3rem;
    height: 30px;
  }

  .container{
    width: min(50%, 330px);
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .child-1,.child-2,.child-3{
    background-color: white;
    /* padding-inline: ; */
  }

  .child-1{
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .heading{
    font-size: 2.5rem;
    color: #121212;
    text-align: center;
    font-style: normal;
    font-weight: 500;
    margin-bottom: 0.75rem;
  }

  .sub-heading{
    color: #3D3D3D;
    text-align: center;
    font-size: 0.8rem;
    font-style: normal;
    font-weight: 400;
    margin-bottom: 1.5rem;
  }

  .input-container{
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-bottom: 1.5rem;

  }

  label{
    color: #121212; 
    font-size: 1rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.5rem; 
  }

  input{
    border: none;
    outline: none;
    padding: 14px 16px;
    border-radius: 12px;
    background: #EDEDED;
  }

  input::placeholder{
    color: #bdbdbd;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
 
  }


  .foot-text{
    color: #3D3D3D;
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 500;
    line-height: 22px;   
  }

  button{
    margin-top: 2rem;
    border-radius: 0.75rem;
    background-color: #121212;
    padding: 0.75rem 1rem;
    color: #FFFFFF;
    border: none;
    font-size: 1rem;
    width: 100%;
    transition: background-color 0.2s ease; /* Add transition property */
  }


  button:hover{
    background-color: rgb(0, 166, 255);
  }




  .child-3{
    color: #3E3E3E;
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 400;
    text-align: center;
  }

  span{
    color: #952310;
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 600; 
}



.password-input-container {
    position: relative;
    width: 100%;
}

.password-toggle {
  width: 1.4rem;
  height: 1.4rem;
  position: absolute;
  top: 10px;
  right: 18px;
  cursor: pointer;
  background-color: #ededed;
   
}

.password-input{
    width: 100%;
}


@media (max-width: 1023px) {

    .login{
        display: flex;
        flex-direction: column-reverse;
        height: 100vh;
      }

      .login-right{
        flex: 2;
        background: blue;
        overflow: hidden;
      }

      

      .main-image{
        content: url('./Images/bannermobile.jpg'); 
        object-fit: cover  ;
        width: 100%;
        height: 100%;
        object-position: top;
      }

      .container{
        
        width: min(70%, 500px);
        display: flex;
        flex-direction: column;
        gap: 1rem;
      }

      .heading{
        font-size: 1.75rem;
        color: #121212;
        text-align: center;
        font-style: normal;
        font-weight: 500;
        margin-bottom: 0.75rem;
      }

      .icon {
        content: url('./Images/Group.svg'); 
        position: absolute;
        top: 1.5rem;
        left: 2.25rem;
        height: 30px;
      }
    
    
  }


  @media screen and (max-width:750px) {


    .icon {
      content: url('./Images/Isolation_Mode.svg'); 
      position: absolute;
      top: 1.5rem;
      left: 2.25rem;
      height: 30px;
    }

    .heading{
      font-size: 1.5rem;
    }

    .container{
      width: min(70%, 330px);
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }
    .login-right{
      display: none;
    }

    .sub-heading{
      display: none;
    }


    }
  
  
  
