.login-section {
  padding-top: 92px;
  margin-bottom: 152px;
  overflow: hidden;
  position: relative;
  height: 100dvh;
  align-content: center;
}

.login-logo {
  margin-top: -60px;
}

.login-logo img {
  width: auto;
  max-height: 120px;
}

.bg-white {
  padding: 36px;
  backdrop-filter: blur(10px);
  border: 0.8px solid #eeeeee;
  box-shadow: 0px 0px 12px 0px #e4e4e466;
  border-radius: 24px;
  margin-bottom: 18px;
}

.sessao-form .h20 {
  margin-bottom: 36px;
}

.esqueceu {
  color: #a4a4a4;
  text-decoration: none;
  font-size: 12px;
  line-height: 26px;
  padding-left: 24px;
  font-family: var(--font-text);
}
.btn-voltar,
.btn-black {
  height: 42px;
  padding: 8px 22px;
}

.sessao-form .input-wrapper,
.sessao-form .password-wrapper {
  position: relative;
}

#lembrar-input.form-check-input {
  border: 2px solid #a4a4a4;
  outline: none;
  box-shadow: none;
  margin-left: 0;
  margin-right: 8px;
  border-radius: 50%;
  margin-top: 2px;
  width: 24px;
  height: 24px;
}

.form-check {
  margin-top: 20px;
}

.form-check-input:checked {
  background-color: #a4a4a4;
  border-color: #a4a4a4;
}

.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: 48px;
  border: 0.8px solid #eeeeee;
  background-color: #f8f8f8;
  color: #000000;
  /* transition: all 0.3s ease; */
  height: 56px;
  outline: none;
  padding: 19px 24px;
  font-family: var(--font-text);
  margin-bottom: 8px;
}

.sessao-form .floating-label {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-66%);
  color: #a4a4a4;
  font-size: 16px;
  line-height: 26px;
  font-weight: 500;
  pointer-events: none;
  transition: all 0.3s ease;
  background-color: transparent;
  padding: 0 4px;
  font-family: var(--font-text);
  font-weight: 500;
}

.sessao-form input:not([type="checkbox"]):focus,
.sessao-form input:not([type="checkbox"]):not(:placeholder-shown) {
  padding: 28px 24px 10px;
}

.sessao-form input:focus ~ .floating-label,
.sessao-form input:not(:placeholder-shown) ~ .floating-label {
  top: 18px;
  left: 20px;
  font-size: 12px;
  line-height: 12px;
  color: #a4a4a4;
  font-weight: 600;
}

/* Label flutuante quando input é inválido */
.sessao-form input.invalid ~ .floating-label {
  color: #db4444;
}

#alerta-acesso-negado {
  margin-bottom: 32px;
  color: #db4444;
}

/* Esconde o texto normal da label quando há erro */
.sessao-form input.invalid ~ .floating-label .label-text {
  display: none;
}

/* 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;
}

.btn-black {
    max-width: none;
}

.btn-voltar {
    max-width: none;
}

/* 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 .toggle-password {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-66%);
  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;
}

/* Esconde o botão do olho quando o input tem erro */
.sessao-form input.invalid ~ .toggle-password {
  display: none;
}

/* Ícone do olho - visível */
.sessao-form .toggle-password .eye-open {
  display: block;
}

.sessao-form .toggle-password .eye-closed {
  display: none;
}

/* Ícone do olho - escondido */
.sessao-form .toggle-password.hidden .eye-open {
  display: none;
}

.sessao-form .toggle-password.hidden .eye-closed {
  display: block;
}

.botoes-login {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.profile-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 132px;
  height: 132px;
  margin: auto;
  border-radius: 50%;
  margin-bottom: 24px;
  margin-top: 52px;
}

#initials {
  position: relative;
  background: #bec9a2;
  width: 132px;
  height: 132px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
}

.upload-icon {
  position: absolute;
  z-index: 1;
  background: #f8f8f8;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  bottom: 0;
  margin-left: 100px;
}

#text-adicionar {
  color: #a4a4a4;
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
}

.sessao-form a {
  color: #a4a4a4;
}

.sessao-form
  .section-gender
  input:not([type="checkbox"]):not(:placeholder-shown) {
  padding: 0px;
}

.section-gender .form-check-input {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  margin-top: 0;
}

.section-gender .form-check-input:checked {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.section-gender .form-check-input:focus {
  box-shadow: none;
}

.section-gender .form-check {
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-gender .form-check-input {
  width: 24px;
  height: 24px;
  background-image: url("/DRANA/assets/icons/material-symbols--circle-outline.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-color: transparent;
  border-color: transparent;
}

.section-gender .form-check-input:checked {
  background-image: url("/DRANA/assets/icons/material-symbols--check-circle-rounded.svg");
}
.section-gender input.form-check-input {
  padding: 8px !important;
}

@media (max-width: 992px) {
  .bg-white {
    padding: 22px;
  }
}
