@import url('https://fonts.googleapis.com/css2?family=Oxanium:wght@400;600;700;800&family=Rajdhani:wght@400;500;600;700&display=swap');

input:focus {
    outline: none;
}
:-webkit-input-placeholder { color: #888; font-style: italic; }
:-moz-placeholder { color: #888; font-style: italic; }
html { height: 100%; font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
body, input { font-family: helvetica, arial, sans-serif; color: #e8f0e0; }
h1 { margin: 0; }
h3 { margin: 1em 0; text-align: center; font-size: 0.8em; font-weight: normal; color: #ff6b6b; }
#logo a { display: block; text-decoration: none; height: 100px; }
#logo a img { max-height: 66px; max-width: 300px; height: auto; width: auto; vertical-align: middle; outline: none; border: none; }
.valign-helper { height: 100%; display: inline-block; vertical-align: middle; }
form { width: 220px; margin: 0 auto; }
fieldset { border: none; margin: 0.25em; padding: 0; }
hr { margin: 20px; border: none; height: 0; border-bottom: 1px solid #444; }
div.banner { color: #aaa; line-height: 1.2em; }
div.banner:not(:empty) { margin-bottom: 1em; }
* { box-sizing: border-box; }
#poweredBy { font-size: 0.8em; color: #888; padding: 5px 15px; text-align: center; position: fixed; bottom: 10px; right: 10px; border-radius: 5px; background-color: rgba(0,0,0,0.3); }
#poweredBy a { color: inherit; }
#poweredBy .osticket-logo { height: auto; width: 55px; vertical-align: baseline; border: none; filter: drop-shadow(0 0 4px black); }
#company { position: absolute; left: 50%; width: 400px; margin-left: -200px; bottom: -40px; font-size: 0.8em; color: #888; text-align: center; }
#company .content { border-radius: 10px; background-color: rgba(0,0,0,0.3); display: inline-block; padding: 0 15px; color: #aaa; }
input[type=text], input[type=password] { border-radius: 4px; padding: 5px; font-size: 0.75em; }
.hidden { display: none; }

body {
    background-color: #0a0e0a;
    color: #e8f0e0;
}
#brickwall {
    background-image: none;
    background-color: #0a0e0a;
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
}
#background {
    background-image: none;
    background-color: #0a0e0a;
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -1;
}
#blur { display: none; }
#background-compat { display: none; }
#loginBox {
    background-color: #131a13;
    border: 1px solid #2a3a2a;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    width: 400px;
    padding: 1em;
    text-align: center;
    box-sizing: border-box;
    position: fixed;
    left: 50%;
    top: 15%;
    margin-left: -200px;
    border-radius: 5px;
}
#loginBox:after { display: none; }
fieldset input {
    display: block;
    margin-bottom: 1em;
    border: 1px solid #2a3a2a;
    background: #0a0e0a;
    color: #e8f0e0;
    padding: 6px 8px;
    width: 100%;
    border-radius: 4px;
}
input[type="submit"] {
    cursor: pointer;
    display: inline-block;
    height: 32px;
    line-height: 30px;
    border: none;
    padding: 2px 20px;
    color: #fff;
    background-color: #82B448;
    border-radius: 4px;
    font-weight: bold;
}
input[type="submit"]:hover { background-color: #6a9339; }

button.submit,
button[type="submit"],
.button.submit {
    cursor: pointer;
    display: inline-block;
    height: 32px;
    line-height: 30px;
    border: none;
    padding: 2px 20px;
    color: #fff;
    background-color: #82B448;
    border-radius: 4px;
    font-weight: bold;
    font-family: inherit;
    font-size: 0.9em;
}
button.submit:hover,
button[type="submit"]:hover {
    background-color: #6a9339;
}

@media only screen and (max-width: 768px) {
    html, body {
        background-color: #0a0e0a !important;
        background-image: none !important;
        color: #e8f0e0 !important;
    }
    #brickwall, #background {
        background-image: none !important;
        background-color: #0a0e0a !important;
    }
    #blur, #background-compat {
        display: none !important;
    }
    #loginBox {
        background-color: #131a13 !important;
        border: 1px solid #2a3a2a !important;
        box-shadow: 0 0 20px rgba(0,0,0,0.5) !important;
        width: 90% !important;
        left: 5% !important;
        margin-left: 0 !important;
        top: 5% !important;
        border-radius: 5px !important;
        color: #e8f0e0 !important;
    }
    form {
        width: 100% !important;
    }
    fieldset input {
        background: #0a0e0a !important;
        color: #e8f0e0 !important;
        border: 1px solid #2a3a2a !important;
    }
    input[type="submit"], button.submit, button[type="submit"], .button.submit {
        background-color: #82B448 !important;
        color: #fff !important;
    }
    input[type="submit"]:hover, button.submit:hover, button[type="submit"]:hover {
        background-color: #6a9339 !important;
    }
    h3 {
        color: #ff6b6b !important;
    }
    #company {
        width: 90% !important;
        left: 5% !important;
        margin-left: 0 !important;
    }
}

/* Woodlands Font Match */

body, input, button, select, textarea {
    font-family: 'Rajdhani', sans-serif !important;
}
#logo a, h1, h2, h3, .title {
    font-family: 'Oxanium', sans-serif !important;
}
#loginBox h1, #loginBox h2, #loginBox h3 {
    font-family: 'Oxanium', sans-serif !important;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #82B448 !important;
}
input[type=text], input[type=password] {
    font-family: 'Oxanium', sans-serif !important;
    font-size: 14px !important;
}
input[type="submit"], button.submit, button[type="submit"] {
    font-family: 'Oxanium', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    font-size: 13px !important;
    height: 40px !important;
    padding: 0 32px !important;
}
/* Grid background like Staff Tools */
#brickwall::before {
    content: '';
    position: fixed; inset: 0;
    background-image:
        linear-gradient(rgba(130,180,72,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(130,180,72,0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none; z-index: 0;
}
