/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* Subtle, Elegant Background */
body {
    background: linear-gradient(to bottom right, #f3f6fa, #dee7f1); /* Soft gradient */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
}


/* Login Form Container */
.login-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    width: 360px;
    margin: 80px auto;
    text-align: center;
    animation: fadeIn 0.8s ease-in-out;
}
.toggle-icon {
    position: relative;
    display: inline-block;
    cursor: pointer;
    top: -45px;
    left: 120px;
    font-size: small;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-container h2 {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.login-container input {
    width: 100%;
    padding: 12px;
    margin: 12px 0;
    border: 1px solid #d6d9df;
    border-radius: 8px;
    outline: none;
    font-size: 16px;
    background: #f7f9fc;
    color: #333;
    transition: border 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.login-container input::placeholder {
    color: #aaa;
}

.login-container input:focus {
    border-color: #5a82d7;
    box-shadow: 0 0 8px rgba(90, 130, 215, 0.3);
}

/* Stylish Button */
.login-container button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #5a82d7, #466bb6);
    color: white;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    box-shadow: 0 3px 8px rgba(90, 130, 215, 0.3);
}

.login-container button:hover {
    background: linear-gradient(135deg, #466bb6, #5a82d7);
    box-shadow: 0 4px 12px rgba(90, 130, 215, 0.4);
}

/* Error Message */
#error-msg {
    color: #d9534f;
    font-size: 14px;
    margin-top: 10px;
}



