/* Applies ONLY because we enqueue this file on forgot screens */
body.login {
    background-image: url('assets/images/bg-login.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

body.login::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.789); /* Adjust opacity (0.6 = 60% dark) */
    z-index: -1;
}

/* Hide language switcher */
.login .language-switcher {
    display: none !important;
}

#login {
    width: 420px;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .5);
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid #F3CC61;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

#login h1 a {
    background-image: url('assets/images/the-woods-logo-white.png');
    background-size: contain;
    margin: 10px 0px 10px 0px;
    width: 100%;
    height: 220px;
}

/* Typography + spacing */
#login form {
    border: 0;
    box-shadow: none;
    margin: 0px;
    padding: 0;
    background: transparent;
    color: white;
}

#login form p label {
    font-weight: 600;
    color: #ffffff;
}

#login form input[type="text"],
#login form input[type="email"] {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(243, 204, 97, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transition: all 0.3s;
}

#login form input[type="text"]:focus,
#login form input[type="email"]:focus {
    border-color: #F3CC61;
    background: rgba(255, 255, 255, 0.15);
    outline: none;
}

#login .submit input[type="submit"] {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    font-weight: 700;
    background: #F3CC61;
    border: none;
    color: #000000;
    cursor: pointer;
    transition: all 0.3s;
}

#login .submit input[type="submit"]:hover {
    background: #e0b950;
}

#login .submit input[type="submit"]:focus {
    box-shadow: 0 0 0 3px rgba(243, 204, 97, 0.3);
}

/* Custom intro and helper text */
.rm-reset-intro {
    margin-bottom: 16px;
}

.rm-reset-intro h2 {
    margin: 0px;
    font-size: 24px;
    color: #F3CC61;
}

.rm-reset-intro p,
.rm-help {
    color: #ffffff;
}

/* Nav links: ensure the first nav link (Log in) points to /login via our filter */
#nav {
    text-align: left;
}

#nav a {
    text-decoration: none;
    color: #F3CC61 !important;
    transition: all 0.3s;
}

#nav a:hover {
    color: #e0b950 !important;
}

/* Optional: if you want to hide register link on this screen */
#nav a[href*="action=register"] {
    display: none !important;
}

#backtoblog a {
    color: #F3CC61 !important;
    transition: all 0.3s;
}

#backtoblog a:hover {
    color: #e0b950 !important;
}

.notice.notice-info.message {
    border-radius: 5px !important;
    background: rgba(243, 204, 97, 0.1);
    border-left: 4px solid #F3CC61;
    color: white !important;
}
