/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

* {
    box-sizing: border-box;
    margin: 0;    
    padding: 0;
}



body {
    font-family: 'Roboto', sans-serif;
    background: url('../images/mushroom_bg3.jpg') no-repeat center center fixed;
    background-size: cover;
    /* Center the login form */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    position: relative;
    /* Use a CSS filter to lighten the background image */
    filter: brightness(1.2);
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Adjust the overlay for subtleness */
    background-color: rgba(255, 255, 255, 0.2);
    /* White overlay with lower opacity */
    z-index: -1;
}

.login-wrapper {
    background-color: rgba(255, 255, 255, 0.85);
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
    text-align: center;
    position: relative;
    z-index: 1;
    margin: 1rem;
}

.logo {
    margin-bottom: 1.5rem;
}

.logo img {
    height: 70px;
    border-radius: 50%;
    margin-bottom: 0.5rem;
}

.logo h1 {
    font-size: 1.6rem;
    color: #333;
}

.login-wrapper h2 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 1.5rem;
}

.input-group {
    margin-bottom: 1.2rem;
    text-align: left;
}

.input-group label {
    display: block;
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 0.4rem;
}

.input-group input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    background-color: #f9f9f9;
    transition: border-color 0.3s;
}

.input-group input:focus {
    border-color: #667eea;
    outline: none;
}

.login-wrapper button {
    width: 100%;
    padding: 0.8rem;
    background-color: #667eea;
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: background-color 0.3s;
}


button:hover {
    background-color: #5a67d8;
}

.register-link {
    font-size: 0.9rem;
    margin-top: 1rem;
}

.register-link a {
    color: #667eea;
    font-weight: bold;
    text-decoration: none;
}

.register-link a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-wrapper {
        padding: 1.5rem;
    }

    .logo img {
        height: 60px;
    }

    .logo h1 {
        font-size: 1.4rem;
    }

    .login-wrapper h2 {
        font-size: 1.2rem;
    }

    button {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .login-wrapper {
        padding: 1rem;
    }

    .logo img {
        height: 50px;
    }

    .logo h1 {
        font-size: 1.2rem;
    }

    .login-wrapper h2 {
        font-size: 1.1rem;
    }

    .input-group label,
    .register-link {
        font-size: 0.85rem;
    }

    button {
        font-size: 0.9rem;
    }
}