/* ========================= */
/*   TELA DE CADASTRO        */
/* ========================= */

/* Wrapper para centralizar o card entre header e footer */
.register-wrapper {
  /* mesma altura base do login */
  min-height: calc(100vh - 69.2px);

  display: flex;
  justify-content: center;   /* igual ao login */
  align-items: center;

  /* mesmos paddings do login */
  padding-top: 32px;
  padding-right: 12px;
  padding-bottom: 100px;
  padding-left: 12px;

  background-color: #efefef;

  /* mesma imagem/config do login */
  background-image: url('../../../assets/wallpaper/registro_login.png');
  background-repeat: no-repeat;
  background-position: right top;
  background-size: cover;

  /* 🔑 fundo preso ao viewport → não “dá zoom” por causa da altura maior */
  background-attachment: fixed;
}

/* NOTEBOOKS / TABLETS */
@media (max-width: 992px) {
  .register-wrapper {
    justify-content: center;
    padding-top: 24px;
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 60px;

    background-position: center top;
    background-size: cover;
    background-attachment: scroll;  /* evita bug em telas menores */
  }
}

/* CELULARES – IMAGEM MOBILE */
@media (max-width: 576px) {
  .register-wrapper {
    min-height: calc(100vh - 40px);
    padding-top: 20px;
    padding-bottom: 32px;
    padding-left: 16px;
    padding-right: 16px;

    background-image: url('../../../assets/wallpaper/mobile.png');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    background-attachment: scroll;
  }
}


/* ========================= */
/* CARD DE CADASTRO (MENOR)  */
/* ========================= */

/* Desktop grande (monitor) */
.register-card {
  background-color: transparent;
  border-radius: 10px;
  border: 2px solid #c91eb5;

  /* ➜ menor que antes */
  max-width: 460px;
  width: 100%;
  min-height: 430px;
  padding: 22px 20px;
  box-sizing: border-box;

  margin-left: 0;

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  .mb-3,
  .mb-4 {
    margin-bottom: 0.8rem; /* menos espaço entre os blocos */
  }
}

/* NOTEBOOKS (≤1440px) – ainda mais compacto */
@media (max-width: 1440px) {
  .register-card {
    max-width: 420px;
    min-height: 400px;
    padding: 20px 18px;
  }

  .register-title h2 {
    font-size: 30px;
  }
}

/* notebooks / tablets (≤992px) */
@media (max-width: 992px) {
  .register-card {
    max-width: 380px;
    min-height: 360px;
    padding: 18px 16px;
  }

  .register-title h2 {
    font-size: 26px;
  }

  .form-control {
    height: 36px;
    font-size: 13px;
  }

  .register-btn,
  .login-btn {
    font-size: 13px;
    padding: 7px 0;
  }

  .mb-3,
  .mb-4 {
    margin-bottom: 0.7rem;
  }
}

/* celulares (≤576px) – compacto, mas confortável */
@media (max-width: 576px) {
  .register-card {
    max-width: 330px;
    min-height: auto;
    padding: 18px 14px;
  }

  .register-title h2 {
    font-size: 24px;
  }

  .form-control {
    height: 34px;
    font-size: 13px;
  }

  .register-btn,
  .login-btn {
    font-size: 12.5px;
    padding: 7px 0;
  }
}



/* ========================= */
/* TÍTULO + ÍCONE            */
/* ========================= */

.register-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 1.25rem !important;

  h2 {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 700;
    font-size: 32px;
    color: #c91eb5;
    margin: 0;
  }
}

.register-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c91eb5;

  i {
    font-size: 35px;
  }
}


/* ========================= */
/* FORM / INPUTS / BOTÕES    */
/* ========================= */

.form-label {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #000000;
}

.form-control {
  height: 38px;
  border-radius: 8px;
  border: 2px solid #6066ff;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #000000;

  &::placeholder {
    color: rgba(0, 0, 0, 0.5);
  }
}

.register-btn {
  border-radius: 40px;
  border: none;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 9px 0;
  background-color: #c91eb5;
  color: #ffffff;

  &:hover {
    filter: brightness(1.04);
  }
}

.login-btn {
  border-radius: 40px;
  border: none;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 8px 0;
  background-color: #030faa;
  color: #ffffff;

  &:hover {
    filter: brightness(1.04);
  }
}

.text-danger.small {
  font-size: 11px;
}
