html {
    background:  linear-gradient(to right, #5986c9, #180299) !important; /* Replace with your actual background */
    background-size: cover;
    background-attachment: fixed;
    min-height: 100vh;
    overflow: hidden;
}



body {
    background: linear-gradient(to right, #5986c9, #180299);
    color: white;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.container {
    text-align: center;
    width: 90%;
    max-width: 400px;
    padding: 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}



.swal2-container {
    display: flex !important;
    align-items: center !important; /* Center vertically */
    justify-content: center !important; /* Center horizontally */
}


#loginContainer {
    position: absolute; /* or fixed */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px; /* Adjust as needed */
}

.title {
    color: black;
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: bold;
}
.form-group {
    text-align: left;
    margin-bottom: 15px;
    position: relative;
}
.form-group label {
    color: #1b4d99;
    font-size: 14px;
    font-weight: bold;
}
.form-group input {
    width: 100%;
    padding: 10px;
    border: none;
    border-bottom: 2px solid lightgray;
    outline: none;
    font-size: 16px;
    background: transparent;
}
.eye-icon {
    background: none;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
}

.input-group {
    display: flex;
    align-items: center;
}

.input-group .eye-icon {
    background: #ffffff; /* Ensure background matches input field */
    border: 1px solid #ced4da; /* Match border with input field */
    border-left: none; /* Remove left border */
    padding: 5px 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    border-radius: 0 5px 5px 0;
    height: 100%;
}

.btn-login {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 25px;
    background: linear-gradient(to right, #3060a8, #180299);
    color: white;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease;
}
.btn-login:hover {
    background: linear-gradient(to right, #1b4d99, #100069);
}
.signup-text {
    margin-top: 15px;
    font-size: 14px;
    color: black;
}
.signup-text a {
    font-weight: bold;
    text-decoration: none;
    color: #1b4d99;
}

/* Make sure parent container is positioned properly */
.position-relative {
    position: relative;
}

/* Input field padding so the icon doesn't overlap text */
.password-input {
    padding-right: 40px;
}

/* Positioning the eye icon inside the input field */
.password-toggle {
    position: absolute;
    right: 10px; /* Adjust for perfect alignment */
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: gray;
    font-size: 18px;
}