/* Telas de autenticação (login, troca de senha) - Plataforma i9 */

.auth-body {
  margin: 0;
  font-family: "Nunito", sans-serif;
  background: #f1f1f1;
}

.auth-wrapper {
  min-height: 100vh;
  display: flex;
}

/* Painel de marca (esquerda) */
.auth-brand {
  flex: 1;
  background: linear-gradient(150deg, #251d59, #372a86 55%, #1a1442);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px;
  position: relative;
  overflow: hidden;
}

.auth-brand::before {
  content: '';
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 249, 185, 0.18), transparent 70%);
  top: -100px;
  right: -100px;
}

.auth-brand::after {
  content: '';
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 249, 185, 0.12), transparent 70%);
  bottom: -80px;
  left: -60px;
}

.auth-brand-logo {
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.auth-brand-logo img {
  width: 210px;
  height: auto;
}

.auth-brand-title {
  font-size: 30px;
  font-weight: 800;
  margin: 0 0 14px;
  max-width: 420px;
  position: relative;
  z-index: 1;
}

.auth-brand-subtitle {
  font-size: 15px;
  color: #cfc9ec;
  max-width: 380px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.auth-brand-features {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.auth-brand-features div {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #e4e1f5;
}

.auth-brand-features i {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(22, 249, 185, 0.15);
  color: #16f9b9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Painel do formulário (direita) */
.auth-panel {
  width: 460px;
  flex-shrink: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.auth-card {
  width: 100%;
  max-width: 340px;
}

.auth-card-logo-mobile {
  display: none;
  text-align: center;
  margin-bottom: 24px;
}

.auth-card-logo-mobile img {
  width: 150px;
}

.auth-card h2 {
  font-size: 25px;
  color: #251d59;
  font-weight: 800;
  margin: 0 0 8px;
}

.auth-card .auth-subtitle {
  color: #8a8a8a;
  font-size: 14px;
  margin: 0 0 30px;
}

.auth-error {
  background: #ffe9e9;
  color: #c0392b;
  border: 1px solid #ffc9c9;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 13.5px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.auth-field {
  margin-bottom: 18px;
}

.auth-field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #434343;
  margin-bottom: 6px;
}

.auth-input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-input-group i.auth-input-icon {
  position: absolute;
  left: 14px;
  color: #a3a3a3;
  font-size: 14px;
}

.auth-input-group input {
  width: 100%;
  padding: 13px 14px 13px 40px;
  border-radius: 8px;
  border: 1px solid #e2e2e2;
  background: #f8f8fb;
  font-size: 15px;
  color: #333;
  box-sizing: border-box;
  transition: border-color 0.2s, background 0.2s;
}

.auth-input-group input:focus {
  outline: none;
  border-color: #251d59;
  background: #fff;
}

.auth-toggle-senha {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: #a3a3a3;
  cursor: pointer;
  font-size: 14px;
  padding: 4px;
}

.auth-toggle-senha:hover {
  color: #251d59;
}

.auth-submit {
  width: 100%;
  background: #251d59;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px;
  font-size: 15.5px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s;
}

.auth-submit:hover {
  background: #342a75;
}

.auth-hint {
  margin-top: 20px;
  font-size: 12.5px;
  color: #a3a3a3;
  text-align: center;
  line-height: 1.6;
}

.auth-hint i {
  color: #16f9b9;
}

/* Responsivo */
@media (max-width: 900px) {
  .auth-brand {
    display: none;
  }

  .auth-panel {
    width: 100%;
  }

  .auth-card-logo-mobile {
    display: block;
  }
}
