/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Body and Background */
body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(120deg, #4ae277, #2e412d);
    color: #fff;
}

/* Login Container */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 400px;
}

/* Login Card */
.login-card {
    background: #fff;
    color: #333;
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    width: 100%;
    text-align: center;
}

/* Heading */
.login-card h2 {
    margin-bottom: 20px;
    font-size: 1.8rem;
    font-weight: bold;
}

/* Form Fields */
.form-group {
    margin-bottom: 15px;
    text-align: left;
}

label {
    font-size: 0.9rem;
    margin-bottom: 5px;
    display: block;
}

input[type="text"], input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

input:focus {
    border-color: #4a90e2;
    outline: none;
}

/* Password Container */
.password-container {
    position: relative;
}

.toggle-password {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 1rem;
}

/* Forgot Password Link */
.form-links {
    margin: 10px 0;
}

.forgot-password {
    color: #47a34c;
    text-decoration: none;
    font-size: 0.85rem;
}

.forgot-password:hover {
    text-decoration: underline;
}

/* Login Button */
.login-button {
    width: 100%;
    padding: 10px 15px;
    background: #47a34c;
    border: none;
    border-radius: 5px;
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-button:hover {
    background: #3b78d4;
}

/* Responsiveness */
@media (max-width: 500px) {
    .login-card {
        padding: 15px;
    }
}
