.login-section {
  overflow: hidden;
  position: relative;
  height: 100dvh;
  align-content: center;
}

.login-tabs {
  display: flex;
  gap: 40px;
  margin-bottom: 24px;
  width: 100%;
}

.login-tabs {
  display: flex;
  gap: 40px;
  margin-bottom: 24px;
  width: 100%;
}

.login-tabs .tab {
  flex: 1;
  background: none;
  border: none;
  padding: 8px;
  border-radius: 8px;
  font-weight: 500;
  color: #9c9c9c;
  position: relative;
}

.login-tabs .tab:not(.active):hover {
  background-color: #efefef;
  color: #000000;
}

.login-tabs .tab.active {
  color: var(--color-black);
}

.login-tabs .tab.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: #000;
}

.bg-white {
  padding: 24px;
  backdrop-filter: blur(10px);
  border: 1px solid var(--color-second-light-grey);
  box-shadow: 0px 0px 10px 0px #6363631a;
  border-radius: 16px;
}

.password-footer {
  text-align: right;
  margin-top: 8px;
}

.esqueceu {
  color: var(--color-black);
  text-decoration: none;
  font-size: 14px;
  line-height: 22px;
  padding-left: 24px;
  font-family: var(--font-text);
}

.btn-black,.btn-blue {
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--border-radius-lg);
  border: none;
}

.form-control {
  height: 48px;
  margin-top: 8px;
}

.sessao-form-section {
  margin-top: 24px;
  margin-bottom: 24px;
}

.sessao-form label {
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  color: var(--color-black);
}

.div-check {
  cursor: pointer;
}

#lembrar-input.form-check-input {
  margin-right: 12px;
  border-radius: 4px;
  margin-top: 2px;
  width: 16px;
  height: 16px;
}

.form-check-input:checked {
  background-color: black;
  border-color: black;
}

.form-check-label {
  color: #a4a4a4;
  font-family: var(--font-text);
  font-size: 12px;
  line-height: 24px;
  font-weight: 600;
}
.sessao-form input[type="date"],
.sessao-form input[type="email"],
.sessao-form input[type="password"],
.sessao-form input[type="text"],
.sessao-form input[type="number"] {
  border-radius: var(--border-radius-lg);
  border: 1px solid #dddddd;
  background-color: white;
  color: #000000;
  height: 48px;
  padding: 12px 16px;
}

/* Label flutuante quando input é inválido */
.sessao-form input.invalid ~ .floating-label {
  color: #db4444;
}

#alerta-acesso-negado {
  margin-bottom: 32px;
  color: #db4444;
}

/* Mostra o texto de erro quando há erro */
.sessao-form .floating-label .error-text {
  display: none;
}

.sessao-form input.invalid ~ .floating-label .error-text {
  display: inline;
}

/* Remove o placeholder padrão */
.sessao-form input::placeholder {
  opacity: 0;
}

/* Mostra o placeholder quando focado */
.sessao-form input:focus::placeholder {
  color: #a4a4a4;
}

/* Input preenchido corretamente - EMAIL */
.sessao-form input[type="email"].valid,
.sessao-form input[type="email"]:valid:not(:placeholder-shown) {
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='10' cy='10' r='10' fill='%2310b981'/%3E%3Cpath d='M6 10l2.5 2.5L14 7' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

/* Input preenchido incorretamente - EMAIL */
.sessao-form input[type="email"].invalid {
  border: 1px solid #db4444;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='10' cy='10' r='10' fill='%23DB4444'/%3E%3Cpath d='M10 6v5M10 13v1' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

/* Input PASSWORD - sempre com espaço para o ícone do olho */
.sessao-form input[type="password"],
.sessao-form input[type="text"],
.sessao-form input[type="number"],
.sessao-form input[type="date"] {
  padding-right: 48px;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  display: none; /* esconde o ícone */
}

/* Input PASSWORD com erro */
.sessao-form input[type="password"].invalid,
.sessao-form input[type="text"].invalid,
.sessao-form input[type="number"].invalid,
.sessao-form input[type="date"].invalid {
  border: 1px solid #db4444;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='10' cy='10' r='10' fill='%23DB4444'/%3E%3Cpath d='M10 6v5M10 13v1' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

/* Botão de toggle password (olho) */
.sessao-form .tab-login .toggle-password {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-38%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  opacity: 0.6;
  transition: opacity 0.2s;
  z-index: 10;
}

.sessao-form .tab-register .toggle-password {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(16%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  opacity: 0.6;
  transition: opacity 0.2s;
  z-index: 10;
}

.sessao-form .toggle-password:hover {
  opacity: 1;
}

/* Ícone do olho - estado padrão (password escondida) */
.toggle-password .eye-open {
  display: block;
}

.toggle-password .eye-closed {
  display: none;
}

/* Ícone do olho - estado ativo (password visível) */
.toggle-password.hidden .eye-open {
  display: none;
}

.toggle-password.hidden .eye-closed {
  display: block;
}

/* Evita que os SVGs bloqueiem o clique */
.toggle-password img {
  pointer-events: none;
}

.botoes-login {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sessao-form a {
  color: #267ae7;
}

.line {
  width: 100%;
  margin-top: 32px;
  margin-bottom: 32px;
  border-radius: 1px;
}

.btn-google {
  width: 100%;
  border: none;
  height: 48px;
  background-color: #efefef;
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px; /* espaço entre o ícone e o texto */
  cursor: pointer;
  padding: 10px 12px;
}

.google-txt {
  font-size: 14px;
  line-height: 22px;
}

.icon-back button {
  background: none;
  border: none;
}

.pagination-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #ccc;
}

.dot.active {
  background-color: #000;
}

@media (max-width: 992px) {
  .bg-white {
    padding: 22px;
  }
  .login-logo {
    margin-bottom: 32px;
    text-align: center;
  }
}
