/* Uiverse-style auth action button, scoped to Login and Register only. */
button.auth-uiverse-button {
  all: unset !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  width: calc(100% - 64px) !important;
  max-width: 360px !important;
  min-height: 54px !important;
  margin: 28px auto 0 !important;
  padding: .6em 2em !important;
  box-sizing: border-box !important;
  border: mediumspringgreen solid .15em !important;
  border-radius: .25em !important;
  color: mediumspringgreen !important;
  background: transparent !important;
  font-size: 1.15em !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  cursor: pointer !important;
  overflow: hidden !important;
  transition: border 300ms, color 300ms !important;
  user-select: none !important;
}
button.auth-uiverse-button .van-button__content,
button.auth-uiverse-button .auth-button-label {
  position: relative;
  z-index: 1;
}
button.auth-uiverse-button .van-button__content {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
button.auth-uiverse-button:hover {
  color: #212121 !important;
}
button.auth-uiverse-button:active {
  border-color: teal !important;
}
button.auth-uiverse-button::after,
button.auth-uiverse-button::before {
  content: "" !important;
  position: absolute !important;
  display: block !important;
  width: 9em !important;
  aspect-ratio: 1 !important;
  background: mediumspringgreen !important;
  opacity: .5 !important;
  border-radius: 50% !important;
  transition: transform 500ms, background 300ms !important;
}
button.auth-uiverse-button::before {
  left: 0 !important;
  transform: translateX(-8em);
}
button.auth-uiverse-button::after {
  right: 0 !important;
  transform: translateX(8em);
}
button.auth-uiverse-button:hover::before {
  transform: translateX(-1em);
}
button.auth-uiverse-button:hover::after {
  transform: translateX(1em);
}
button.auth-uiverse-button:active::before,
button.auth-uiverse-button:active::after {
  background: teal !important;
}

/* PT-BR / English dropdown, scoped from the supplied Uiverse button. */
.auth-language-switch {
  position: absolute;
  z-index: 60;
  top: 14px;
  right: 14px;
  width: 150px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.auth-language-switch .auth-language-trigger.btn {
  position: relative;
  width: 150px;
  height: 50px;
  padding: 0;
  overflow: hidden;
  border-radius: 5px;
  border: 1px solid rgba(255, 226, 199, .56);
  transition: all .5s ease-in-out;
  font-size: 20px;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-weight: 600;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(137, 93, 74, .96), rgba(201, 145, 88, .96));
  color: #fff9f2;
  cursor: pointer;
  box-shadow: 0 9px 24px rgba(72, 43, 31, .30);
}
.auth-language-switch .auth-language-trigger.btn:hover,
.auth-language-switch.is-open .auth-language-trigger.btn {
  box-shadow: 0 0 22px 0 rgba(205, 153, 105, .42);
}
.auth-language-switch .auth-language-trigger.btn .icon {
  position: absolute;
  left: 0;
  height: 40px;
  width: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all .5s;
}
.auth-language-switch .auth-language-trigger.btn .icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.auth-language-switch .auth-language-trigger.btn .text {
  transform: translateX(55px);
  transition: opacity .5s ease-in-out;
  white-space: nowrap;
}
.auth-language-switch .auth-language-trigger.btn:hover .icon,
.auth-language-switch.is-open .auth-language-trigger.btn .icon {
  width: 175px;
}
.auth-language-switch .auth-language-trigger.btn:hover .text,
.auth-language-switch.is-open .auth-language-trigger.btn .text {
  opacity: 0;
}
.auth-language-switch .auth-language-trigger.btn:focus {
  outline: none;
}
.auth-language-switch .auth-language-trigger.btn:focus-visible {
  box-shadow: 0 0 0 2px #ffe0b5, 0 0 22px rgba(205, 153, 105, .42);
}
.auth-language-switch .auth-language-trigger.btn:active .icon {
  transform: scale(.85);
}
.auth-language-switch .auth-language-dropdown {
  position: absolute;
  top: 56px;
  right: 0;
  width: 150px;
  display: grid;
  gap: 4px;
  padding: 6px;
  border: 1px solid rgba(255, 226, 199, .42);
  border-radius: 7px;
  background: linear-gradient(145deg, rgba(112, 74, 59, .98), rgba(151, 101, 68, .98));
  box-shadow: 0 12px 28px rgba(57, 34, 25, .32);
  backdrop-filter: blur(12px);
}
.auth-language-switch .auth-language-dropdown[hidden] {
  display: none;
}
.auth-language-switch .auth-language-option {
  min-height: 38px;
  width: 100%;
  padding: 7px 12px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #f5f5f5;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
.auth-language-switch .auth-language-option:hover,
.auth-language-switch .auth-language-option:focus-visible {
  outline: none;
  background: rgba(255,255,255,.12);
}
.auth-language-switch .auth-language-option.is-active {
  background: rgba(255, 239, 218, .94);
  color: #684334;
}
.auth-language-switch .auth-language-option.is-active::after {
  content: '✓';
  float: right;
}
body.clube-auth-active .clube-auth-page .auth-language-switch.auth-language-dropdown-control {
  top: 14px !important;
  right: 14px !important;
  width: 150px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}
body.clube-auth-active .clube-auth-page .auth-language-switch.auth-language-dropdown-control .auth-language-option.is-active {
  background: rgba(255, 239, 218, .94) !important;
  color: #684334 !important;
}
html.auth-lang-pending .bg-container.page .title,
html.auth-lang-pending .bg-container.page .loginForm {
  visibility: hidden !important;
}

.auth-confirm-field {
  position: relative;
}
.auth-validation-toast {
  position: fixed;
  z-index: 99999;
  top: 18%;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: min(340px, 82vw);
  padding: 11px 18px;
  border: 1px solid #ffcf6e;
  border-radius: 8px;
  background: rgba(20,20,20,.96);
  color: #fff;
  font-size: 14px;
  text-align: center;
  box-shadow: 0 10px 28px rgba(0,0,0,.4);
}

/* Settings: add an action label to the login-password row. */
.items .item .auth-login-password-desc {
  margin-left: auto;
  margin-right: 4px;
  color: #aeb6c2;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

/* CODEX_AUTH_CAPTCHA_20260824 */
body.clube-auth-active .clube-auth-register .auth-captcha-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  gap: 10px;
  align-items: stretch;
  margin-top: 13px;
}
body.clube-auth-active .clube-auth-register .auth-captcha-field {
  min-width: 0;
  min-height: 54px !important;
  margin-top: 0 !important;
}
body.clube-auth-active .clube-auth-register .auth-captcha-refresh {
  position: relative;
  display: grid;
  place-items: center;
  width: 120px;
  min-height: 54px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 18px;
  background: rgba(250,248,246,.94);
  box-shadow: 0 8px 25px rgba(0,0,0,.20);
  cursor: pointer;
}
body.clube-auth-active .clube-auth-register .auth-captcha-refresh:disabled { cursor: wait; opacity: .74; }
body.clube-auth-active .clube-auth-register .auth-captcha-image {
  display: block;
  width: 120px;
  height: 40px;
  object-fit: cover;
}
body.clube-auth-active .clube-auth-register .auth-captcha-fallback {
  position: absolute;
  color: #71665d;
  font-size: 24px;
}
body.clube-auth-active .clube-auth-register .auth-captcha-refresh:not(.is-error):not(.is-loading) .auth-captcha-fallback { display: none; }
body.clube-auth-active .clube-auth-register .auth-captcha-refresh.is-loading .auth-captcha-fallback { animation: clube-captcha-spin .8s linear infinite; }
@keyframes clube-captcha-spin { to { transform: rotate(360deg); } }
@media (max-height: 720px) {
  body.clube-auth-active .clube-auth-register .auth-captcha-row { margin-top: 10px; }
  body.clube-auth-active .clube-auth-register .auth-captcha-field,
  body.clube-auth-active .clube-auth-register .auth-captcha-refresh { min-height: 48px !important; }
}
