/* Change background */
body.login {
    background: #f0f0f0 url('../img/login-background.png') no-repeat center center;
    background-size: cover;
    font-family: "Plus Jakarta Sans", sans-serif !important;
    font-weight: 500 !important;
}

body.login .language-switcher {
    display: none;
}

#login {
    background: rgba(255, 255, 255, 0.1); /* Dark semi-transparent background */
    backdrop-filter: blur(10px); /* Blur effect */
    -webkit-backdrop-filter: blur(10px); /* For Safari compatibility */
    border-radius: 15px; /* Rounded corners */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* Subtle shadow */
    padding: 95px; /* Add some padding for spacing */
    width: 503px; /* Match the width to the image */
    margin: 0 auto; /* Center the form */
    position: relative;
    top: 50%;
    transform: translateY(-50%); /* Vertically center the form */
    border: solid 1px white;
    padding-top: 25px;
}
/* Style the login form */
.login form {
    background: transparent;
    border: none;
    color: white;
    margin-top: 0; /* Remove margin-top since the title is now inside the form */
    padding: 0;
}

.login #login form p{
    margin-bottom: 49px;
}

h2.custom-login-title{
    font-weight: 700; /* Bold title */
    font-size: 50px; /* Match the size in the image */
    margin-bottom: 70px;
}

/* Customize the logo */
.login h1 {
    margin-bottom: 10px; /* Add space below the logo */
    margin-top: 15px;
}

.login h1 a {
    background-image: url('../img/maxx-logo-white.png');
    width: 213px;
    height: 65px;
    background-size: contain;
}

/* Custom title */
.custom-login-title {
    color: #fff; /* White text to match the design */
    font-size: 24px; /* Match the size in the image */
    font-weight: 600; /* Slightly bold for emphasis */
    text-align: center; /* Center the title */
    margin: 0 0 20px 0; /* Space below the title, no top margin */
    
}

/* Labels */
.login label {
    color: #fff; /* White text for labels */
    font-size: 20px;
    font-weight: normal;
    font-weight: 600; /* Semi-bold for emphasis */
    font-family: "Plus Jakarta Sans", sans-serif !important;
}

/* Input fields */
.login input[type="text"],
.login input[type="password"] {
    background: #fff; /* White background */
    border: none; /* Remove default border */
    border-radius: 5px; /* Rounded corners */
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 15px;
    font-size: 20px;
    font-family: "Plus Jakarta Sans", sans-serif !important;
}

/* Submit button */
.login input[type="submit"] {
    background: #2e7d32; /* Green background */
    color: #fff; /* White text */
    border: none;
    border-radius: 5px;
    padding: 10px;
    width: 100%;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    font-family: "Plus Jakarta Sans", sans-serif !important;
}

.login input[type="submit"]:hover {
    background: #1b5e20; /* Darker green on hover */
}

/* Remember Me checkbox */
.login #rememberme {
    margin-right: 5px;
}

.login label[for="rememberme"] {
    color: #fff; /* White text for "Remember Me" */
}

/* Links */
.login .forgetmenot,
.login .login-action-login a {
    color: #fff; /* White text for links */
    text-decoration: none;
}

.login .login-action-login a:hover {
    text-decoration: underline;
}

.login #backtoblog {
    display: none;
}

.login #nav {
    text-align: center;
}

.login #nav a {
    color: #fff; /* White text for links */
    text-decoration: none;
    font-size: 20px;
}