:root {
  --color-danger: #d22b48;
  --color-primary: #1F85C7;
  --title-color: #495960;
  --subtitle-color: #212733;
  --bg-form: #f5f5f5;
  --bg-input: #fff;
  --input-border: #cfd4d9;
}

/* RESET BASE */
body {
  margin: 0;
  font-family: "Kanit", sans-serif;
}

/* CONTAINER COM FUNDO */
.login-container {
  min-height: 100vh;
  background: url('../imagens/Vector.png') no-repeat;
  background-size: cover;
  background-position: 60% center;
  display: flex;
  align-items: center;
}

/* COLUNA LOGIN */
.login-col {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  padding-right: 80px;
}

/* CARD LOGIN */
.div-form {
  width: 100%;
  max-width: 420px;
  padding: 40px 30px;
  border-radius: 16px;
  background: var(--bg-form);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  border: 1px solid var(--color-primary);
}

/* TEXTOS */
.title {
  font-size: 42px;
  font-weight: 700;
  text-align: center;
  color: var(--title-color);
}

.subtitle {
  font-size: 13px;
  text-align: center;
  color: var(--subtitle-color);
  margin: 10px 0;
}

.subtitle-2 {
  font-size: 26px;
  text-align: center;
  margin-top: 10px;
}

/* FORM */
.form {
  margin-top: 30px;
}

.form input {
  height: 45px;
  border: 1px solid var(--input-border);
}

.input-group-text {
  border: 1px solid var(--input-border);
  background: var(--bg-input);
}

/* BOTÃO */
.btn {
  height: 45px;
}

/* DIVIDER */
.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, #ccc, transparent);
  margin: 25px 0;
}

/* LOGOS INTERNAS */
.logos-row {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.logos-row img {
  max-height: 40px;
}

/* LOGO GRANDE (CANTO) */
.logo-itens {
  position: fixed;
  bottom: 20px;
  right: 30px;
}

.logo-direita {
  height: 65vh;
  max-height: 550px;
}

.div-form {
  transform: translateX(45px);
}

@media (max-width: 768px) {

  .login-container {
    position: relative;
    background: #f5f5f5;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }

  .login-col {
    justify-content: center !important;
    padding: 20px;
  }

  .div-form {
    transform: none !important;
    margin: 0 auto;
    max-width: 360px;
    padding: 25px;
  }

  .div-form {
  transform: translateX(45px);
}

  .logo-itens {
    display: none;
  }

  .title {
    font-size: 28px;
  }

  .subtitle-2 {
    font-size: 20px;
  }

  /* ondas suaves no fundo */
  .login-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../imagens/Vector.png') no-repeat;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
  }

  .login-col,
  .div-form {
    position: relative;
    z-index: 1;
  }
}


.login-loader {
  position: absolute;
  inset: 0;
  background: rgba(245, 245, 245, 0.95);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 16px;
  z-index: 999;
}

.dots {
  display: flex;
  gap: 6px;
}

.dots span {
  width: 8px;
  height: 8px;
  background: #298fee;
  border-radius: 50%;
  animation: bounce 0.6s infinite alternate;
}

.dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes bounce {
  from { transform: translateY(0); }
  to { transform: translateY(-8px); }
}
