/* Aetherion font import — no font binary files included */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Cormorant+Garamond:wght@500;600;700&display=swap');

input:focus {
    border: 1px solid orange;
    box-shadow: 0 0 4px orange;
    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 {
    -webkit-font-smoothing:antialiased;
    font-size: 16px;
    font-smoothing:antialiased;
    height:100%;
    line-height: 1.5em;
    margin: 0;
    text-align: center;
}

#brickwall {
    background-image: url(../logo.php?backdrop);
    -webkit-background-size: cover;
       -moz-background-size: cover;
         -o-background-size: cover;
            background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

#background-compat {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 165, 0, 0.7);
}
#background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background-image: url(../logo.php?backdrop);
    -webkit-background-size: cover;
       -moz-background-size: cover;
         -o-background-size: cover;
            background-size: cover;
    background-attachment: fixed;
    mix-blend-mode: normal;
    filter:"progid:DXImageTransform.Microsoft.Blur(PixelRadius='6')";
    -ms-filter:"progid:DXImageTransform.Microsoft.Blur(PixelRadius='6')";
}

#blur {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    -webkit-filter: blur(7px);
    filter: url("data:image/svg+xml;utf9,<svg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'><filter%20id='blur'><feGaussianBlur%20stdDeviation='5'%20/></filter></svg>#blur");
    filter: blur(7px);
    overflow: hidden;
    z-index: -1;
}

body, input {
    font-family: helvetica, arial, sans-serif;
    color: #000;
}

#loginBox {
    box-shadow:0 0 50px 5px rgba(0,0,0,0.3), 0 0 5px -1px white;
    mix-blend-mode: normal;
    isolation: isolate;
    width:400px;
    padding:1em;
    padding-bottom: 1em;
    text-align:center;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: fixed;
    left: 50%;
    top: 15%;
    margin-left: -200px;
    border-radius: 5px;
}

#loginBox:after {
    content: " ";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(255,255,255,0.6);
    border-radius: 5px;
    z-index: -1;
    mix-blend-mode: normal;
    border: 1px solid rgba(0,0,0,0.3);
}
/* IE 9-10 */
@media screen\0 {
    #loginBox:after {
        background-color: white;
    }
}

h1 {
    margin:0;
}

#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;
}

h3 {
    margin:1em 0;
    text-align:center;
    font-size:0.8em;
    font-weight:normal;
    color:#d00;
}

form {
    width:220px;
    margin:0 auto;
}

fieldset {
    border:none;
    margin:0.25em;
    padding:0;
}

fieldset input {
    display:block;
    margin-bottom:1em;
    border:1px solid #ccc;
    border:1px solid rgba(0,0,0,0.3);
    background: white;
    background: rgba(255, 255, 255, 0.5);
    padding:2px 4px;
    width: 100%;
}

hr {
    margin: 20px;
    border: none;
    height: 0;
    border-bottom: 1px solid #eee;
}

div.banner {
    color: #666;
    line-height: 1.2em;
}
div.banner:not(:empty) {
    margin-bottom: 1em;
}

* {
    box-sizing: border-box;
}

input[type="submit"],
input[type="reset"],
input[type="button"],
.action-button,
.button {
    cursor: pointer;
    display:inline-block;
    vertical-align:bottom;
    height:24px;
    line-height: 22px;
    border: none;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.25) inset;
    padding:2px 11px;
    color: #555;
    background-color: #f0f0f0;
    background-color: rgba(0,0,0,0.02);
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    font-family: inherit;
    font-size: 0.8em;
    text-decoration: none;
-webkit-user-select: none;
   -moz-user-select: none;
    -ms-user-select: none;
        user-select: none;
-webkit-transition: opacity 0.1s ease, background-color 0.1s ease, box-shadow 0.1s ease, color 0.1s ease, background 0.1s ease;
        transition: opacity 0.1s ease, background-color 0.1s ease, box-shadow 0.1s ease, color 0.1s ease, background 0.1s ease;
}
input[type="submit"] i,
input[type="reset"] i,
input[type="button"] i,
.action-button i,
.button i {
  margin-right: 0.1em;
}

.button:hover {
  text-decoration: none;
}

button[type=submit], input[type="submit"], .primary.button {
    font-weight: bold;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.45) inset;
    background-color: rgba(0,0,0,0.07);
}

button[type=submit]:hover, input[type=submit]:hover, input[type=submit]:active {
  color: white;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.7) inset;
  background-color: #888;
  background-color: rgba(0, 0, 0, 0.5);
}

input.submit:hover, input.submit:active {
    background-position:bottom left;
}

#poweredBy {
    font-size:0.8em;
    color:#ccc;
    padding:5px 15px;
    text-align:center;
    position: fixed;
    bottom: 10px;
    right: 10px;
    box-shadow: inset 0 0 3px white, 0 0 2px black, inset 0 0 4px black;
    text-shadow: 0 0 2px black;
    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;
    -webkit-filter: drop-shadow(0 0 4px black);
    filter: drop-shadow(0 0 4px black);
    ms-filter: progid:DXImageTransform.Microsoft.Dropshadow(OffX=0, OffY=0, Color='#444');
    filter: progid:DXImageTransform.Microsoft.Dropshadow(OffX=0, OffY=0, Color='#444');
}

#company {
    position:absolute;
    left: 50%;
    width: 400px;
    margin-left: -200px;
    bottom: -40px;
    font-size: 0.8em;
    color: #ccc;
    text-align: center;
}

#company .content {
    border-radius: 10px;
    background-color: rgba(0,0,0,0.3);
    box-shadow: 0 0 6px rgba(0,0,0,0.4);
    text-shadow: 0 0 2px black;
    display: inline-block;
    padding: 0 15px;
    color: white;
}

.external-auth {
    display:inline-block;
    margin-bottom: 4px;
}
.external-auth + .external-auth {
    margin-top: 4px;
}

a.external-sign-in {
    text-decoration: none;
}
.external-auth-box {
    vertical-align: middle;
    border-radius: 4px;
    border: 1px solid #777;
}
.external-auth-icon {
    display: inline-block;
    color: #333;
    width: 30px;
    padding: 5px 10px;
    border-right: 1px solid #ddd;
}
.external-auth-name {
    color: #333;
    width: 100px;
    padding: 5px 10px;
    line-height:30px;
    font-size: 11pt;
}
img.sign-in-image {
    border: none;
    max-height: 40px;
    max-width: 200px;
    width: auto;
    height: auto;
}

input[type=text],
input[type=password] {
    border-radius: 4px;
    padding: 5px;
    font-size: 0.75em;
}
.hidden {
    display: none;
}


/* =====================================================================
   AETHERION SUPPORT THEME — Staff Login Overrides
   ===================================================================== */

:root {
  --aeth-bg: #050505;
  --aeth-panel: rgba(15,12,8,.88);
  --aeth-border: rgba(219,184,111,.26);
  --aeth-gold: #d9b56f;
  --aeth-gold-2: #f1d89a;
  --aeth-text: #f8f1e4;
  --aeth-muted: rgba(248,241,228,.72);
  --aeth-font-body: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --aeth-font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
}

html, body, #loginBody {
  min-height: 100%;
  color: var(--aeth-text) !important;
  font-family: var(--aeth-font-body) !important;
  background:
    radial-gradient(circle at 17% -10%, rgba(217,181,111,.20), rgba(217,181,111,.045) 34%, transparent 58%),
    radial-gradient(circle at 90% 6%, rgba(241,216,154,.13), transparent 54%),
    linear-gradient(135deg, #050505 0%, #0c0905 48%, #080706 100%) !important;
}

#background, #brickwall, #background-compat {
  display: none !important;
}

#loginBody::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.014) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 72%);
}

#loginBox {
  width: min(440px, calc(100% - 32px)) !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  margin: 0 !important;
  padding: 34px !important;
  color: var(--aeth-text) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.066), rgba(255,255,255,.026)), rgba(15,12,8,.90) !important;
  border: 1px solid var(--aeth-border) !important;
  border-radius: 30px !important;
  box-shadow: 0 28px 80px rgba(0,0,0,.58), inset 0 1px 0 rgba(255,255,255,.055) !important;
  backdrop-filter: blur(18px);
}

#loginBox::after {
  display: none !important;
}

#logo a {
  height: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-direction: column !important;
  gap: 12px !important;
  margin-bottom: 12px !important;
  border: 0 !important;
}

#logo a img {
  display: none !important;
}

#logo a::before {
  content: "A";
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  color: #171006;
  font-family: var(--aeth-font-display);
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.05em;
  background: linear-gradient(135deg, #fff0be 0%, var(--aeth-gold) 44%, #8f6a2f 100%);
  box-shadow: 0 14px 32px rgba(217,181,111,.28), inset 0 1px 0 rgba(255,255,255,.65);
}

#logo a::after {
  content: "AETHERION SUPPORT";
  color: var(--aeth-text);
  font-family: var(--aeth-font-body);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .26em;
  line-height: 1.1;
  text-transform: uppercase;
}

h1, h2, h3 {
  color: var(--aeth-text) !important;
  font-family: var(--aeth-font-display) !important;
  font-weight: 600 !important;
}

h3 {
  margin: 18px 0 22px !important;
  color: var(--aeth-muted) !important;
  font-family: var(--aeth-font-body) !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
}

body, input, button {
  font-family: var(--aeth-font-body) !important;
}

input[type="text"], input[type="password"], input[type="email"], input:not([type]) {
  width: 100% !important;
  box-sizing: border-box !important;
  color: var(--aeth-text) !important;
  background: rgba(255,255,255,.055) !important;
  border: 1px solid rgba(217,181,111,.22) !important;
  border-radius: 14px !important;
  padding: 13px 14px !important;
  outline: none !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04) !important;
}

input:focus {
  border-color: rgba(241,216,154,.66) !important;
  box-shadow: 0 0 0 4px rgba(217,181,111,.10), inset 0 1px 0 rgba(255,255,255,.06) !important;
}

input::placeholder {
  color: rgba(248,241,228,.45) !important;
}

button, input[type="submit"], input[type="button"], #loginButton {
  width: 100% !important;
  min-height: 44px !important;
  margin-top: 12px !important;
  border: 0 !important;
  border-radius: 999px !important;
  color: #181208 !important;
  background: linear-gradient(135deg, #fff0be 0%, var(--aeth-gold) 46%, #a98240 100%) !important;
  box-shadow: 0 18px 40px rgba(217,181,111,.22), inset 0 1px 0 rgba(255,255,255,.58) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  text-shadow: none !important;
}

button:hover, input[type="submit"]:hover, input[type="button"]:hover, #loginButton:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

a {
  color: var(--aeth-gold-2) !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(217,181,111,.18);
}

a:hover {
  color: #fff7dd !important;
  border-bottom-color: rgba(241,216,154,.72) !important;
}

#msg, .error, .warning, .success, #login-message {
  color: var(--aeth-text) !important;
  background: rgba(217,181,111,.10) !important;
  border: 1px solid rgba(217,181,111,.24) !important;
  border-radius: 16px !important;
  padding: 12px 14px !important;
}

@media (max-width: 560px) {
  #loginBox { padding: 26px !important; border-radius: 24px !important; }
  #logo a::after { font-size: 11px; letter-spacing: .18em; }
}
