/* =============================================================================
   FeastCMS – Login Page Styles
   Loaded only on the wp-login.php screen via login_enqueue_scripts
   ============================================================================= */

:root {
    --fc-red:      rgb(254, 67, 50);
    --fc-red-dark: #e03b2e;
    --fc-red-alt:  #fe4332;
}

#login h1 { text-align: center; }

#login h1 a {
    background-image: url('../img/feast.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 84px;
}

body.login {
    background: #f5f5f5;
    align-content: center;
    padding: 20px 0;
}

body.login #login {
    width: 80vw;
    max-width: 500px;
    background: #fff;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.07);
    border-top: 5px solid var(--fc-red-alt);
}

.login label {
    font-weight: 600;
    color: #333;
    margin: 0 0 6px;
    display: block;
}

.login .input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background: #fff;
    font-size: 15px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.login .input:focus {
    border-color: var(--fc-red-alt);
    box-shadow: 0 0 2px var(--fc-red-alt);
}

.login #wp-submit {
    background-color: var(--fc-red-alt);
    border: none;
    border-radius: 5px;
    padding: 0 12px;
    font-size: 15px;
    font-weight: bold;
    text-transform: uppercase;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login #wp-submit:hover { background-color: #cc372a; }

.login .button.wp-hide-pw {
    background: transparent !important;
    border: none;
    box-shadow: none;
    padding: 0;
}

.login .button.wp-hide-pw .dashicons {
    color: var(--fc-red-alt) !important;
    font-size: 20px;
    opacity: 0.8;
}

.login #nav a,
.login #backtoblog a {
    color: #777 !important;
    font-size: 14px;
}

.login #nav a:hover,
.login #backtoblog a:hover { color: var(--fc-red-alt) !important; }

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

.login .language-switcher select {
    border-radius: 4px;
    border: 1px solid var(--fc-red-alt);
}

.login .language-switcher .button {
    background-color: transparent;
    color: var(--fc-red-alt);
    border-color: var(--fc-red-alt);
    transition: all 0.2s ease;
}

.login .forgetmenot {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px !important;
}

.login .forgetmenot input[type="checkbox"] { margin: 0; }
.login .forgetmenot label { margin: 0; }
