/* Login do painel no padrão visual da HeadSoft (auth.headsoft.com.br):
   fundo grafite, semicírculo azul em degradê à esquerda com a ilustração, formulário à direita. */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }

.hs-body {
  width: 100vw;
  height: 100vh;
  font: 400 14px/20px Roboto, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  overflow: hidden;
}

.hs-container {
  position: relative;
  width: 100vw;
  min-height: 100vh;
  background-color: #303030;
  color: rgba(255, 255, 255, 0.7);
  overflow: hidden;
}

.hs-container::before {
  content: "";
  position: absolute;
  width: 2000px;
  height: 2000px;
  border-radius: 50%;
  background: linear-gradient(-45deg, #005ea4, #6776ca);
  top: -10%;
  right: 48%;
  transform: translateY(-50%);
  z-index: 6;
}

.hs-forms-container { position: absolute; inset: 0; }

.hs-signin-signup {
  position: absolute;
  top: 50%;
  left: 75%;
  transform: translate(-50%, -50%);
  width: 50%;
  display: grid;
  z-index: 5;
}

.hs-form {
  display: flex;
  flex-direction: column;
  margin: auto;
  justify-content: center;
  align-items: center;
  width: min(85%, 480px);
}

.img-logo { max-width: 380px; width: 100%; margin: 20px 0; }

.hs-card { width: 100%; }

.hs-title {
  font-size: 1.1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  margin: 10px 0;
}

.hs-input-field {
  width: 100%;
  height: 40px;
  background-color: #f0f0f0;
  margin: 15px 0;
  border-radius: 20px;
  display: grid;
  grid-template-columns: 8% 88%;
  align-items: center;
  padding: 0 0 0 0.4rem;
}

.hs-input-field svg {
  justify-self: center;
  width: 18px;
  height: 18px;
  fill: #acacac;
  stroke: none;
}

.hs-input-field input {
  background: none;
  outline: none;
  border: none;
  line-height: 1;
  font-weight: 500;
  font-size: 1rem;
  color: #333;
  font-family: inherit;
}

.hs-input-field input::placeholder { color: #aaa; font-weight: 500; }

.hs-input-field:focus-within { box-shadow: 0 0 0 2px #6776ca; }

.hs-input-field input:-webkit-autofill,
.hs-input-field input:-webkit-autofill:hover,
.hs-input-field input:-webkit-autofill:focus {
  box-shadow: 0 0 0 30px #f0f0f0 inset !important;
}

.hs-settings { display: flex; flex-direction: column; gap: 10px; }

.hs-checkbox { font-size: 16px; color: rgba(255, 255, 255, 0.7); cursor: pointer; }
.hs-checkbox input { transform: scale(1.5); margin: 0 8px 0 4px; accent-color: #005ea4; }

.hs-dica { font-size: 13px; color: #4fa3e0; }

.hs-buttons { display: flex; justify-content: center; }

.hs-btn {
  min-width: 100px;
  height: 40px;
  border: none;
  outline: none;
  border-radius: 20px;
  cursor: pointer;
  background-color: #005ea4;
  color: #fff;
  text-transform: uppercase;
  font-weight: 600;
  font-family: inherit;
  margin: 10px 0;
  padding: 0 40px;
  transition: background-color 0.3s;
}
.hs-btn:hover { background-color: #004b83; }
.hs-btn:focus-visible { box-shadow: 0 0 0 3px rgba(103, 118, 202, 0.7); }
.hs-btn:disabled { opacity: 0.7; cursor: wait; }

.hs-error {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #f44336;
  margin: 0.5rem 0;
}
.hs-error svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; flex: none; }

.hs-panels-container {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  pointer-events: none;
}

.hs-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  text-align: center;
  z-index: 7;
  padding: 3rem 17% 2rem 12%;
}

.hs-image { width: 100%; max-height: 560px; }

@media (max-width: 870px) {
  .hs-body { overflow: auto; }
  .hs-container { min-height: 800px; height: 100vh; }
  .hs-container::before { width: 1600px; height: 1600px; left: 30%; bottom: 85%; transform: translateX(-50%); right: initial; top: initial; }
  .hs-signin-signup { width: 100%; left: 50%; top: 70%; transform: translate(-50%, -100%); }
  .hs-panels-container { grid-template-columns: 1fr; grid-template-rows: 1fr 2fr 1fr; }
  .hs-panel { flex-direction: row; align-items: center; padding: 2.5rem 8%; }
  .hs-image { width: 200px; }
}

@media (max-width: 570px) {
  .hs-image { display: none; }
  .hs-container::before { display: none; }
  .hs-signin-signup { top: 60%; }
  .hs-title { font-size: 1.4rem; }
}
