/* noqip ArcOS - visual sobre os formularios nativos do Keycloak. */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


:root {
  color-scheme: dark;
  --nq-bg: #070c12;
  --nq-text: #f1f3f7;
  --nq-muted: #9aa7b8;
  --nq-border: #334150;
  --nq-blue: #48b1ed;
  --nq-error: #ffbf74;
  --pf-v5-global--FontFamily--text: "Plus Jakarta Sans", system-ui, sans-serif;
  --pf-v5-global--FontFamily--heading: var(--pf-v5-global--FontFamily--text);
  --pf-v5-global--FontFamily--text--vf: var(--pf-v5-global--FontFamily--text);
  --pf-v5-global--FontFamily--heading--vf: var(--pf-v5-global--FontFamily--text);
  --pf-v5-global--Color--100: var(--nq-text);
  --pf-v5-global--Color--200: var(--nq-muted);
  --pf-v5-global--BackgroundColor--100: #101821;
  --pf-v5-global--BackgroundColor--200: #0b121a;
  --pf-v5-global--primary-color--100: var(--nq-blue);
  --pf-v5-global--danger-color--100: var(--nq-error);
}

.login-pf body.uc-body {
  margin: 0;
  height: auto;
  min-height: 100vh;
  color: var(--nq-text);
  font-family: var(--pf-v5-global--FontFamily--text);
  background:
    radial-gradient(ellipse at 49% 108%, #172c43 0, transparent 38%),
    radial-gradient(ellipse at 14% -28%, #152333 0, transparent 52%),
    var(--nq-bg);
}
.uc-page {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
  grid-template-rows: 1fr auto;
  grid-template-areas: "hero card" "footer footer";
  column-gap: clamp(48px, 9vw, 144px);
  row-gap: 54px;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  max-width: 1720px;
  margin: 0 auto;
  padding: clamp(64px, 13vh, 130px) clamp(40px, 7.2vw, 120px) 36px;
  overflow: hidden;
}
.uc-page::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0 22% 0 34%;
  background-image: linear-gradient(#32496326 1px, transparent 1px), linear-gradient(90deg, #32496326 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(ellipse at 65% 35%, #000, transparent 70%);
  pointer-events: none;
}
.uc-hero { grid-area: hero; align-self: start; padding-top: 0; z-index: 1; }
.nq-brand { display: flex; align-items: center; gap: 20px; max-width: 100%; }
.nq-wordmark { display: block; width: 218px; height: auto; min-width: 0; }
.nq-brand-product { border-left: 1px solid #657182; padding-left: 20px; white-space: nowrap; }
.nq-brand-product > span { display: block; font-size: 40px; line-height: 1.1; font-weight: 400; letter-spacing: -1.5px; }
.nq-brand-product small { display: block; margin-top: 8px; font-size: 12px; color: var(--nq-muted); }
.nq-brand-product strong { margin-left: 4px; font-size: 14px; font-weight: 600; color: #e1e6ed; }
.nq-tagline { margin-top: 48px; font-size: 11px; font-weight: 500; letter-spacing: .42em; text-transform: uppercase; color: #9babbe; }
.uc-art { position: absolute; z-index: -1; width: min(62vw, 860px); top: 3%; left: 22%; pointer-events: none; }
.uc-art img { display: block; width: 100%; height: auto; opacity: .07; mask-image: linear-gradient(#000 20%, transparent 92%); }

.uc-card.pf-v5-c-login__main {
  grid-area: card;
  width: 100%;
  margin: 0;
  padding: 48px 48px 46px;
  color: var(--nq-text);
  border: 1px solid transparent;
  border-radius: 22px;
  background: linear-gradient(140deg, #0c141ded, #080e14fa) padding-box,
              linear-gradient(135deg, #428abc, #293440 28%, #273644 75%, #1585ce) border-box;
  box-shadow: 0 24px 64px #0005, -8px 0 36px #188acd08;
}
.uc-card .pf-v5-c-login__main-header { display: block; margin: 0; padding: 0; border: 0; }
.uc-card #kc-page-title { margin: 0; color: var(--nq-text); font-size: 28px; font-weight: 600; line-height: 1.25; letter-spacing: -.8px; }
.uc-subtitle { margin: 6px 0 0; color: var(--nq-muted); font-size: 14px; line-height: 1.6; }
.uc-card .pf-v5-c-login__main-body { padding: 0; margin-top: 28px; }
.uc-card .pf-v5-c-login__main-footer { padding: 0; }
.uc-card .pf-v5-c-login__main-footer:empty { display: none; }
.uc-card .pf-v5-c-form { --pf-v5-c-form--GridGap: 20px; }
.uc-card .pf-v5-c-form__group-label { padding-bottom: 7px; }
.uc-card .pf-v5-c-form__label-text { font-size: 13px; font-weight: 500; color: #e3e8ef; }
.uc-card .pf-v5-c-form-control::before,
.uc-card .pf-v5-c-form-control::after { display: none; }
.uc-card .pf-v5-c-form-control,
.uc-card .pf-v5-c-input-group { border: 1px solid var(--nq-border); border-radius: 8px; background: #111923; transition: border-color .15s, box-shadow .15s; }
.uc-card .pf-v5-c-form-control:focus-within,
.uc-card .pf-v5-c-input-group:focus-within { border-color: var(--nq-blue); box-shadow: 0 0 0 3px #48b1ed22; }
.uc-card .pf-v5-c-input-group .pf-v5-c-form-control { border: 0; background: transparent; box-shadow: none; }
.uc-card .pf-v5-c-form-control.pf-m-error,
.uc-card .pf-v5-c-input-group:has(.pf-m-error) { border-color: var(--nq-error); }
.uc-card .pf-v5-c-form-control > input { width: 100%; height: 46px; padding: 0 13px; border: 0; outline: 0; background: transparent no-repeat 14px center / 18px 18px; color: var(--nq-text); font-size: 14px; }
.uc-card .pf-v5-c-form-control > input::placeholder { color: #8996a8; opacity: 1; }
.uc-card #username, .uc-card #password { padding-left: 43px; }
.uc-card #username { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b5c0ce' stroke-width='1.6' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 6 9 7 9-7'/%3E%3C/svg%3E"); }
.uc-card #password { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b5c0ce' stroke-width='1.6'%3E%3Crect x='5' y='10' width='14' height='11' rx='2'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3m-4 4v3'/%3E%3C/svg%3E"); }
.uc-card input:-webkit-autofill { -webkit-text-fill-color: var(--nq-text); box-shadow: 0 0 0 1000px #111923 inset; caret-color: var(--nq-text); }
.uc-card .pf-v5-c-input-group .pf-v5-c-button.pf-m-control { border: 0; border-radius: 0 8px 8px 0; padding: 0 14px; color: #b5c0ce; background: transparent; }
.uc-card .pf-v5-c-input-group .pf-v5-c-button.pf-m-control::after { display: none; }
.uc-card .pf-v5-c-input-group .pf-v5-c-button.pf-m-control:hover { color: #fff; }
.uc-card .pf-v5-c-form__helper-text { margin-top: 12px; }
.uc-card label.pf-v5-c-check { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.uc-card .pf-v5-c-check__input { width: 16px; height: 16px; margin: 0; accent-color: #168dec; }
.uc-card .pf-v5-c-check__label { font-size: 12px; color: #b5c0ce; }
.uc-card a { color: var(--nq-blue); font-size: 12px; text-decoration: none; }
.uc-card a:hover { text-decoration: underline; }
.uc-card :is(a, button, input, select):focus-visible { outline: 2px solid var(--nq-blue); outline-offset: 4px; }
.uc-card .pf-v5-c-form-control > input:focus-visible { outline: none; }
.uc-card .pf-v5-c-helper-text__item.pf-m-error { color: var(--nq-error); }
.uc-card .pf-v5-c-button.pf-m-primary { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px; border: 0; border-radius: 9px; background: linear-gradient(105deg, #168aeb, #064bbd); color: #fff; font-size: 14px; font-weight: 600; box-shadow: 0 6px 22px #0466cd12; }
.uc-card .pf-v5-c-button.pf-m-primary::after { content: ""; position: static; width: 19px; height: 19px; border: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.7'%3E%3Cpath d='M4 12h15m-6-6 6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
.uc-card .pf-v5-c-button.pf-m-primary:hover { filter: brightness(1.12); }
.uc-card .pf-v5-c-button.pf-m-primary:disabled { opacity: .65; cursor: wait; }
.uc-card .pf-v5-c-button.pf-m-secondary { min-height: 44px; border-radius: 8px; color: var(--nq-text); }
.uc-card .pf-v5-c-alert { background: #191e25; border-radius: 8px; color: var(--nq-text); }
.uc-card .pf-v5-c-alert__title { color: var(--nq-text); }
.uc-card .pf-v5-c-login__main-footer-band { background: transparent; color: var(--nq-muted); }
.nq-footer { grid-area: footer; display: flex; justify-content: space-between; align-items: center; gap: 24px; color: #92a1b3; }
.nq-signature { display: flex; align-items: center; gap: 18px; }
.nq-signature img { width: 116px; height: auto; opacity: .78; }
.nq-signature span { padding-left: 18px; border-left: 1px solid #425164; font-size: 8px; letter-spacing: .25em; text-transform: uppercase; }
.nq-footer > small { font-size: 10px; }

@media (max-width: 1200px) {
  .uc-page { column-gap: 40px; padding: 72px 40px 28px; grid-template-columns: minmax(0, 1fr) 400px; }
  .uc-hero .nq-wordmark { width: 170px; }
  .uc-hero .nq-brand { gap: 14px; }
  .uc-hero .nq-brand-product { padding-left: 14px; }
  .uc-hero .nq-brand-product > span { font-size: 30px; }
  .uc-card.pf-v5-c-login__main { padding: 40px 32px; }
  .nq-tagline { font-size: 10px; letter-spacing: .28em; }
}
@media (max-width: 860px) {
  .uc-page { grid-template-columns: minmax(0, 440px); grid-template-rows: auto auto 1fr; grid-template-areas: "hero" "card" "footer"; justify-content: center; gap: 32px; padding: 40px 20px 24px; }
  .uc-hero > .nq-brand { justify-content: center; }
  .uc-hero { text-align: center; }
  .nq-tagline { margin: 24px 0 0; }
  .uc-art { width: 850px; left: -240px; top: 10%; }
  .nq-footer { flex-direction: column; align-self: end; gap: 18px; text-align: center; }
  .nq-signature { flex-wrap: wrap; justify-content: center; gap: 12px; }
}
@media (max-width: 400px) {
  .uc-page { padding-inline: 16px; }
  .uc-card.pf-v5-c-login__main { padding: 32px 24px; border-radius: 18px; }
  .uc-hero .nq-wordmark { width: 128px; }
  .uc-hero .nq-brand-product > span { font-size: 24px; }
  .uc-hero .nq-brand-product strong { font-size: 10px; }
  .nq-signature span { font-size: 7px; letter-spacing: .12em; }
}
@media (prefers-reduced-motion: reduce) {
  .uc-card * { transition: none; }
}
