:root {
  color-scheme: dark;
  font-family: "Segoe UI", Arial, sans-serif;
  background: #030303;
  color: #f5f9ff;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, #000 0%, #070707 44%, #15110a 100%),
    radial-gradient(circle at 78% 18%, rgba(226, 184, 94, 0.16), transparent 30%),
    #030303;
}

body::before,
body::after {
  content: "";
  position: fixed;
  top: 50%;
  width: min(34vw, 440px);
  height: min(34vw, 440px);
  transform: translateY(-50%);
  background: url("/logo_transparente_branca.png") center / contain no-repeat;
  opacity: 0.055;
  pointer-events: none;
}

body::before {
  left: 7vw;
}

body::after {
  right: 7vw;
}

.login-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.login-panel {
  position: relative;
  overflow: hidden;
  width: min(100%, 420px);
  padding: 30px;
  border: 1px solid rgba(185, 210, 232, 0.18);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.96), rgba(6, 6, 6, 0.94));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

.login-logo,
.login-copy,
.login-form {
  position: relative;
  z-index: 1;
}

.login-logo {
  display: block;
  max-width: 190px;
  max-height: 90px;
  object-fit: contain;
  margin: 0 auto 22px;
}

.login-copy {
  margin-bottom: 24px;
}

.login-copy p {
  margin: 0 0 8px;
  color: #e2b85e;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.login-copy h1 {
  margin: 0;
  color: #7bd8ff;
  font-size: 18px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 0;
}

.login-form {
  display: grid;
  gap: 16px;
}

.login-form label {
  display: grid;
  gap: 8px;
  color: #c9d8e8;
  font-size: 14px;
  font-weight: 700;
}

.login-form input {
  width: 100%;
  height: 46px;
  border: 1px solid rgba(245, 249, 255, 0.18);
  border-radius: 6px;
  background: #0b0b0b;
  color: #f5f9ff;
  font: inherit;
  padding: 0 13px;
  outline: none;
}

.password-field {
  position: relative;
  display: block;
}

.password-field input {
  padding-right: 48px;
}

.login-form .password-toggle {
  position: absolute;
  top: 50%;
  right: 10px;
  width: 26px;
  height: 26px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #e2b85e;
  cursor: pointer;
  padding: 0;
  font-size: 0;
  font-weight: 400;
}

.login-form .password-toggle:hover,
.login-form .password-toggle:focus-visible {
  color: #e2b85e;
  background: transparent;
  outline: none;
}

.login-form .password-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.login-form .password-toggle .icon-eye-off {
  display: none;
}

.login-form .password-toggle.is-visible .icon-eye {
  display: none;
}

.login-form .password-toggle.is-visible .icon-eye-off {
  display: block;
}

.login-form input:focus {
  border-color: #e2b85e;
  box-shadow: 0 0 0 3px rgba(226, 184, 94, 0.16);
}

.login-form button {
  height: 46px;
  border: 0;
  border-radius: 6px;
  background: #e2b85e;
  color: #111820;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.login-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.login-message {
  min-height: 20px;
  margin: 0;
  color: #ffb4a8;
  font-size: 13px;
}
