/* ===========================================================
   OFFO Login & Backend Style
   Author: offo.studio
   Version: 2.2
   Updated: 2025-12-18
   =========================================================== */

/* ------------------------- Fonts ------------------------- */

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    src: url("fonts/Roboto-Medium.woff2") format("woff2"),
         url("fonts/Roboto-Medium.woff") format("woff");
    font-display: swap;
}
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url("fonts/Roboto-Bold.woff2") format("woff2"),
         url("fonts/Roboto-Bold.woff") format("woff");
    font-display: swap;
}

/* ------------------------- Body ------------------------- */
body {
    color: #000 !important;
    background: #fff;    
    -webkit-font-smoothing: antialiased;
    font-family: 'Roboto', sans-serif;
}

/* ------------------------- Branding / Logo ------------------------- */
#branding {
    position: absolute;
    width: 320px;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
}

#logo,
#logo svg {
    width: 100%;
    height: auto;
    display: block;
}

/* ------------------------- Login Form ------------------------- */
#login {
    padding: 0;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#login form {
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.login #login_error,
.login .message {
    font-size: 10px !important;
    border-left: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    text-transform: uppercase;
}

.login h1,
.login h1 a {
    display: none !important;
}

/* ------------------------- Links ------------------------- */
a {
    color: #000;
    outline: none;
    text-transform: none;
    text-decoration: none;    
}

a:hover {
    color: #000 !important;
    cursor: pointer;
    border-bottom: none;
}

/* ------------------------- Texts / Labels ------------------------- */
p,
a,
.login label,
.login form .forgetmenot label {
    font-family: 'Roboto', sans-serif !important;
    font-size: 10px;
    font-weight: 700;
    line-height: 30px; 
    text-transform: uppercase;
    text-align: left;
    letter-spacing: 0.05em;
    color: #000;
}

/* ------------------------- Inputs ------------------------- */
.login input[type="text"],
.login input[type="password"],
.login form input[type="checkbox"] {
    font-family: 'Roboto', sans-serif;
    font-size: 10px;
    font-weight: 400;
    color: #000 !important;
    letter-spacing: 0.02em;
    border: 2px solid #000 !important;
    background: #fff;
    appearance: none;
    border-radius: 0 !important;
    box-shadow: none !important;
}

#user_login,
#user_pass {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* ------------------------- Buttons ------------------------- */
.login .button-primary {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 0.04em;
    width: 100%;
    background-color: transparent;
    border: 2px solid #000;
    margin-top: 2em;
    margin-bottom: 10px;
    border-radius: 8px;
    display: block;
    line-height: 1.5em;
    padding: 0.2em 3em !important;
    box-sizing: border-box;
    transition: all 0.2s ease-in-out;
}

.login .button-primary:hover {
    border: 2px solid #1f1f1f;
    color: #f1f1f1;
    background-color: #37363e;
    cursor: pointer;        
    padding: 0.2em 3em !important;
}

/* ------------------------- Hide Unwanted Elements ------------------------- */
p#backtoblog,
p.forgetmenot,
.language-switcher,
.privacy-policy-page-link {
    display: none;
}
