/* Body styling */
.login-body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Roboto', Arial, sans-serif;
    background-color: #111C26;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Wrapper to account for the sidebar */
.login-wrapper {
    margin-left: 270px; /* Account for the sidebar width */
    width: calc(100% - 270px); /* Adjust width to account for sidebar */
    display: flex;
    justify-content: center; /* Center content horizontally */
    align-items: center; /* Center content vertically */
}

/* Form container styling */
.login-form {
    width: 90%;
    max-width: 400px;
    text-align: center;
    position: relative;
    z-index: 1;
    margin: auto;
    margin-top: 50px;
    padding: 40px;
    color: white;
    font-weight: bold;
}

/* Heading styling */
.login-form h1 {
    color: #ffffff;
    font-family: sans-serif;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Input field container */
.input-container {
    position: relative;
    margin-bottom: 20px;
}

/* Input field styling */
.input-box {
    width: calc(100% - 50px); /* Adjusted to leave space for the "Show" text */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

/* Input field focus state */
.input-box:focus {
    border-color: #007bff;
    outline: none;
}

/* Label styling */
.input-label {
    position: absolute;
    left: 10px;
    top: 12px;
    color: white;
    transition: top 0.3s ease, font-size 0.3s ease, color 0.3s ease;
    pointer-events: none;
}

/* Label styling when input is focused or not empty */
.input-box:focus + .input-label,
.input-box:not(:placeholder-shown) + .input-label {
    top: -12px;
    font-size: 12px;
    color: white;
}

/* Button styling */
button {
    width: 100%;
    color: #fff;
    padding: 10px;
    border-radius: 20px;
    font-size: 15px;
    margin: 10px 0;
    border: none;
    outline: none;
    cursor: pointer;
    background-color: rgb(121, 121, 121);
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Link styling */
a {
    color: rgb(42, 171, 222);
    cursor: pointer;
}

/* Positioning and styling the eye icon */
#togglePassword {
    position: absolute;
    right: 18px; /* Position it on the right side */
    top: 50%; /* Vertically center it */
    transform: translateY(-50%); /* Adjust for perfect centering */
    background: none; /* Remove any default background */
    border: none; /* Remove any border */
    cursor: pointer; /* Make it clickable */
}

#togglePasswordIcon {
    font-size: 18px; /* Adjust icon size */
    color: #888; /* Faded gray color */
}