/* --------- RESET GLOBAL --------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* --------- BODY LAYOUTS --------- */
.baya-auth-page.login,
.baya-auth-page.signup {
  margin: 0;
  min-height: 100vh;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.baya-auth-page * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* --------- FUNDOS DECORATIVOS --------- */
.baya-auth-page.login {
  background-image: url('/wp-content/plugins/bayamais-core/assets/images/rio-right-01(1).svg'),
                    url('/wp-content/plugins/bayamais-core/assets/images/rio-left-01.svg');
  background-repeat: no-repeat;
  background-size: 25% 100%;
  background-position: left center, right center;
}

.baya-auth-page.signup {
  background-image: url('/wp-content/plugins/bayamais-core/assets/images/rio-right-01(2).svg'),
                    url('/wp-content/plugins/bayamais-core/assets/images/rio-left-01(1).svg');
  background-repeat: no-repeat;
  background-size: 25% 100%;
  background-position: left center, right center;
}

/* --------- NAVEGAÇÃO (se necessário) --------- */
.baya-auth-page .nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.baya-auth-page .nav-btn {
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  padding: 8px 12px;
  font-weight: 500;
  color: #000;
}

/* --------- DROPDOWN --------- */
.baya-auth-page .dropdown {
  position: relative;
}

.baya-auth-page .dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
}

.baya-auth-page .arrow-icon {
  transition: transform 0.3s ease;
}

.baya-auth-page .dropdown.open .arrow-icon {
  transform: rotate(180deg);
}

.baya-auth-page .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: #FFF;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  z-index: 10;
  min-width: 150px;
  border-radius: 6px;
}

.baya-auth-page .dropdown.open .dropdown-menu {
  display: block;
}

.baya-auth-page .dropdown-menu a {
  display: block;
  padding: 10px 20px;
  text-decoration: none;
  color: #000;
  font-size: 14px;
}

.baya-auth-page .dropdown-menu a:hover {
  background-color: #f2f2f2;
}

/* --------- CONTAINER PRINCIPAL DO FORM --------- */
.baya-auth-page .login-box,
.baya-auth-page .signup-box {
  justify-items: center;
  margin: 5% auto 0;
  max-width: 600px;
  width: 100%;
}

.baya-auth-page .login-box h1,
.baya-auth-page .signup-box h1 {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 30px;
  text-align: center;
}

/* --------- FORM --------- */
#login-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 608px;
  padding: 0 16px;
}

.baya-auth-page .input-group {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.baya-auth-page .input-group label {
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 6px;
}

/* --------- CAMPOS INPUT PADRÃO --------- */
.baya-auth-page input[type="text"],
.baya-auth-page input[type="email"],
.baya-auth-page input[type="password"] {
  width: 100%;
  padding: 16px 35px;
  border-radius: 30px;
  border: 1px solid #9A9A9A;
  background: var(--off-white, #f8f8f8);
  font-size: 15px;
}

/* --------- WRAPPER DE SENHA --------- */
.baya-auth-page .password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  padding: 0;
  border-radius: 30px;
  border: none;
  background: transparent;
}

/* Ícone de mostrar senha */
.baya-auth-page .toggle-password {
  position: absolute;
  right: 16px;
  cursor: pointer;
  width: 24px;
  height: 24px;
}

/* --------- ESQUECEU SENHA --------- */
.baya-auth-page .forgot-password {
  margin-top: 4px;
  width: 100%;
  font-size: 16px;
  font-family: "Hoss Round Narrow";
  font-weight: 600;
  letter-spacing: 0.64px;
  text-decoration-line: underline;
}

.baya-auth-page .forgot-password a {
  text-decoration: underline;
  color: #676767;
  justify-self: end;
}

/* --------- CHECKBOX (Cadastro) --------- */
.baya-auth-page .checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  align-items: flex-start;
  width: 100%;
}

.baya-auth-page .checkbox-group label {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* --------- BOTÕES --------- */
.baya-auth-page .btn-login,
.baya-auth-page .btn-cadastro {
  display: flex;
  justify-content: center;
  align-self: center;
  width: 498px;
  padding: 16px 35px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.5);
  box-sizing: border-box;
}

.baya-auth-page .btn-login {
  background: var(--black, #000);
  color: white;
  border: 2px solid var(--black, #000);
  margin-top: 30px;
}

.baya-auth-page .btn-cadastro {
  background: transparent;
  color: var(--black, #000);
  border: 2px solid var(--black, #000);
}

/* --------- TEXTO SECUNDÁRIO --------- */
.baya-auth-page .signup-prompt {
  font-size: 14px;
  text-align: center;
  margin: 8px 0;
}

/* --------- FLEX DO FORMS ------------ */
.flex {
  display: flex;
  gap: 12px;
}

.flex input {
  width: 100%;
}

.w-2-5 {
  flex: 1 1 40%;
}

.w-3-5 {
  flex: 2 1 60%;
}
