/* ///////////// Custom CSS ///////////////////////// */
.login-row {
    background: linear-gradient(130deg,#d6e2e7, #e5e1da, #f1f0e8);
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center; /* Center content horizontally */
    align-items: center; /* Center content vertically */
    padding: 5%;
    box-sizing: border-box;
    overflow: hidden; /* Prevent scrolling */
    flex-direction: column; /* Ensure content stacks vertically */
}

/* .toggle-password-button {
     display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    height: 39px;
    width: 40px;
    border-top-left-radius: 0%;
    border-bottom-left-radius: 0%;
    border-left: none;
}
.input-group-text {
    border: none;
    background-color: transparent;
    padding: 0;
  }

  .input-group-text:focus {
    outline: none;
  }

 */
  .login-inputs {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
}

.login-inputs input {
    padding: 1.35rem 2.5rem;
    font-size: 0.9rem;
    width: 100%;
    box-sizing: border-box;
}

.toggle-password-button {
    background-color: transparent;
    border-radius: 15%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    height: 39.5px;
    width: 40px;
    border-top-left-radius: 0%;
    border-bottom-left-radius: 0%;
    border-left: none;

}

.toggle-password-icon {
    color: #FFD200;
    font-size:1rem
  }
.input-group-text {
    border-color: #5959ff4b;
    background-color: transparent; /* Removes the background color */
    padding: 0; /* Removes any padding around the button */
}

.input-group-text:focus {
    outline: none; /* Removes the focus outline */
}

.mobile-login-image img {
    max-width: 100%;
    max-height: 100%;
    padding-left: 1rem;
    object-fit: contain;
}
.input-group{
    display: flex;
}

.btn-grad {background-image: linear-gradient(to right, #F7971E 0%, #FFD200  51%, #F7971E  100%)}
.btn-grad {
   margin: 10px;
   padding: 10px 40px;
   text-align: center;
   text-transform: uppercase;
   transition: 0.5s;
   background-size: 200% auto;
   color: white;
   box-shadow: 0 0 20px #eee;
   border-radius: 10px;
   display: block;
 }
 .btn-grad:hover {
   background-position: right center; /* change the direction of the change here */
   color: #fff;
   text-decoration: none;
 }

.title {

    background-image: linear-gradient(160deg, #A8518A 0%, #A8518A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.login-box p {
    color: #000000;
    font-size: 1.2rem;
    text-align: center;
    margin: 0.5rem 0;
}

.login-box img {
    margin-bottom: 1rem;
    max-height: 20em;
    object-fit: contain;
    width: 100%;
    overflow: hidden; /* Prevent scrolling */
}

.form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.gradient-button:hover {
    background-position: right center;
    color: #fff;
    text-decoration: none;
}

.gradient-button img {
    height: 12px;
    margin-left: 10px;
}

.login-footer span {
    font-size: 0.8rem;
    color: #8d8e92;
    display: block;
    text-align: center;
    position: absolute;
    bottom: 2%;
    right: 5%;
}

.login-inputs {
    position: relative;
    max-width: 400px;
    width: 100%;
    box-sizing: border-box;
}
/* .form-control{
    background-color: #ebfeab;
} */

.form-control{
    border-color: #5959ff96;
}

.login-inputs svg {
    position: absolute;
    z-index: 10;
    top: 12px;
    left: 10px;
    height: 14px;
}


.toggle-password-input{
    border-right: none !important;
}

.login-inputs label {
    display: none;
}

@media(max-width: 1024px) {
    .login-row {
        flex-direction: column;
        padding: 3%;
        justify-content: center;
        align-items: center;
        overflow: hidden; /* Prevent scrolling */
    }

    .mobile-login-image {
        order: 1;
    }

    .login-footer span {
        right: 3%;
        bottom: 1%;
    }
}

@media(max-width: 767px) {
    .mobile-login-image {
        display: none;
    }

    .login-form {
        width: 90%;
    }

    .login-footer span {
        right: 6%;
        font-size: 0.7rem;
    }

    .title {
        font-size: 1.25rem;
    }

    .login-box img {
        max-height: 15em;
    }
}

/* Ensure background color is white for input fields */
input.form-control {
    background-color: white !important;
    color: black;
    border: 1px solid #ccc;
  }

  /* Remove background color change on autofill */
  input:-webkit-autofill {
    background-color: white !important;
    color: black !important;
    transition: background-color 5000s ease-in-out 0s;
  }
    input.form-control:focus {
        position: static !important; /* Ensure static positioning */
        transform: none !important; /* Prevent any transform effect */
        animation: none !important; /* Stop any animation */
        outline: none; /* Disable default browser outline */
        border-color:#6a6aff56; /* Keep border unchanged */
        box-shadow: none; /* Prevent box-shadow changes */
    }

