/* General Styling */
body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #eef2f3, #dfe9f3); /* Soft Blue-Gray */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

/* Glassmorphism Container */
.container {
    background: rgba(255, 255, 255, 0.2); /* Semi-transparent White */
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 350px;
    text-align: center;
}

/* Login Title */
h2 {
    margin-bottom: 20px;
    color: #333;
    font-weight: 600;
}

/* Input Fields */
input[type="text"], input[type="password"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #cfd8dc;
    border-radius: 8px;
    outline: none;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.6);
    color: #333;
}

input[type="text"]::placeholder, 
input[type="password"]::placeholder {
    color: #90a4ae;
}

/* Login Button */
input[type="submit"] {
    width: 100%;
    padding: 12px;
    background: linear-gradient(90deg, #5c6bc0, #3949ab); /* Cool Blue Gradient */
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

input[type="submit"]:hover {
    background: linear-gradient(90deg, #3949ab, #5c6bc0);
    box-shadow: 0 2px 10px rgba(92, 107, 192, 0.3);
}

/* Error Message */
.error-message {
    color: red;
    margin-bottom: 15px;
    font-size: 14px;
}

.input-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}


.input-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.input-container input {
    width: 100%;
    padding: 10px;
    padding-right: 40px; /* Space for the icon */
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.input-container i {
    position: absolute;
    right: 10px;
    cursor: pointer;
    font-size: 18px;
    color: #888;
}

.input-container i:hover {
    color: #333;
}
