/* General body styles */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f9;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Styling the form wrapper */
.login-form-wrap {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
}

/* Heading styles */
h2 {
    text-align: center;
    color: #5d3f92;
}

/* Input group styling */
.input-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #333;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

input[type="text"]:focus,
input[type="password"]:focus {
    border-color: #5d3f92;
    outline: none;
}

/* Button styling */
button {
    background-color: #5d3f92;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    width: 100%;
    border-radius: 4px;
    font-size: 16px;
}

button:hover {
    background-color: #4a316c;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .login-form-wrap {
        width: 85%;
        padding: 20px;
    }
}

.password-toggle-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.password-toggle-wrapper input[type="password"] {
    flex: 1;
    width: auto; /* override 100% */
}


.eye-button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
    transition: transform 0.2s ease;
    z-index: 1;
    padding: 0 5px;
}


.eye-button:hover {
    transform: scale(1);
}

.login-logo-container {
    text-align: center;
    margin-bottom: 20px;
}

.login-logo-container img {
    max-width: 250px;
    height: auto;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.15));
}
