/* Shirtlabor custom staff-side overrides. */

/* ------------------------------------------------------------------ */
/* Staff login backdrop: tile the configured background image instead */
/* of stretching it.                                                  */
/* ------------------------------------------------------------------ */
#brickwall,
#background {
    background-size: auto !important;
    background-repeat: repeat !important;
    background-attachment: fixed !important;
}

/* Staff control panel: tile the same pattern across the body. */
body,
html {
    background: url('../img/bg-sl-logo-pattern.png') repeat #eee;
}

/* ------------------------------------------------------------------ */
/* Login box: replace the blurred glass look with a clean white card. */
/* ------------------------------------------------------------------ */
#loginBox {
    width: 480px;
    margin-left: -240px;
    padding: 0;
    background-color: #ffffff;
    border: 1px solid #d4d4d4;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

/* Drop the semi-transparent pseudo-element overlay. */
#loginBox:after {
    display: none;
}

/* Kill the gaussian blur layer behind the box (would tint the card). */
#loginBox #blur,
#loginBox #background {
    display: none;
}

/* Header / logo block: light grey strip, like a panel heading. */
#loginBox #logo {
    background-color: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
    padding: 16px 20px;
    margin: 0;
}

#loginBox #logo a {
    height: auto;
}

#loginBox #logo a img {
    max-height: 60px;
}

/* Auth-required message: panel-title style instead of red shake text. */
#loginBox #login-message {
    background-color: #f9f9f9;
    border-bottom: 1px solid #e0e0e0;
    margin: 0;
    padding: 10px 20px;
    color: #444;
    font-size: 0.95em;
    text-align: left;
    font-weight: 600;
}

/* Banner (page content from Admin → Pages → Staff Login Banner). */
#loginBox .banner {
    padding: 14px 20px 0;
    text-align: left;
    color: #555;
}

/* Form area: padding + wider inputs. */
#loginBox form {
    width: auto;
    padding: 16px 20px 20px;
}

#loginBox fieldset {
    margin: 0;
}

#loginBox fieldset input[type="text"],
#loginBox fieldset input[type="password"] {
    width: 100%;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 8px 10px;
    margin-bottom: 12px;
    font-size: 0.95em;
}

#loginBox fieldset input[type="text"]:focus,
#loginBox fieldset input[type="password"]:focus {
    border-color: #14a7d0;
    outline: none;
    box-shadow: 0 0 0 2px rgba(20, 167, 208, 0.2);
}

/* Reset-password link sits inline; tidy spacing. */
#loginBox #reset-link {
    color: #14a7d0;
    font-size: 0.85em;
    line-height: 32px;
}

/* Primary submit button: solid Shirtlabor accent. */
#loginBox button[type="submit"],
#loginBox input[type="submit"] {
    height: auto;
    line-height: 1.4;
    padding: 8px 18px;
    background-color: #14a7d0;
    color: #ffffff;
    border: none;
    box-shadow: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9em;
}

#loginBox button[type="submit"]:hover,
#loginBox input[type="submit"]:hover,
#loginBox button[type="submit"]:active,
#loginBox input[type="submit"]:active {
    background-color: #0f8db0;
    color: #ffffff;
    box-shadow: none;
}

/* Company copyright row: dark pill below the card. */
#loginBox #company {
    width: 480px;
    margin-left: -240px;
}

/* Hide "Powered by osTicket" badge on staff login and pwreset screens. */
#poweredBy {
    display: none;
}
