body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #ece9e6, #ffffff);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.login-container {
    background-color: #ffffff;
    padding: 30px 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 350px;
    text-align: center;
    transition: all 0.3s ease;
}

.login-container:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.logo {
    width: 100px;
    height: auto;
    margin-bottom: 20px;
}

.login-container h2 {
    margin-bottom: 25px;
    font-size: 26px;
    color: #333333;
    font-weight: 600;
    transition: color 0.3s ease;
}

.login-container h2:hover {
    color: #1321e9; 
}

.input-container {
    position: relative;
    margin: 12px 0;
}

.input-container i {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: black; /* Changed icon color to blue */
}

.input-container input {
    width: calc(100% - 5px);
    padding: 12px 15px 12px 30px; /* Add padding to the left to make space for the icon */
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-container .toggle-password {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.input-container .toggle-password i {
    color: black; /* Changed eye icon color to blue */
}

.login-container button {
    width: 100%;
    padding: 12px 15px;
    background-color: #1321e9; 
    border: none;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.login-container button:hover {
    background-color: #0d8bf0; /* Darker shade of blue for hover effect */
    transform: translateY(-2px);
}

.login-container input::placeholder {
    color: #999999;
}
.message {
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 4px;
    font-size: 14px;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

p {
    color: #888;
    margin: 20px 0;
}
@media (max-width: 400px) {
    .login-container {
        width: 90%;
        padding: 20px;
    }
}
