/* ChaabiHub login CAPTCHA and colour/contrast support v209 */
.pro-auth-copy h1,
.pro-auth-card h1 {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
  opacity: 1;
}

.pro-auth-copy p,
.pro-auth-card > p,
.pro-auth-card .auth-link {
  color: rgba(255, 255, 255, .82) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, .82);
  opacity: 1;
}

.pro-auth-card .google-signin-btn {
  border-color: rgba(255, 255, 255, .58);
  background: rgba(255, 255, 255, .08);
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
}

.pro-auth-card .google-signin-btn:hover,
.pro-auth-card .google-signin-btn:focus-visible {
  background: rgba(255, 255, 255, .15);
  border-color: #ffffff;
}

.pro-auth-card .captcha-challenge {
  border: 1px solid rgba(255, 255, 255, .30);
  background: rgba(5, 6, 10, .62);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  color-scheme: dark;
}

.pro-auth-card .captcha-challenge label,
.pro-auth-card .captcha-challenge #captcha-question {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
  opacity: 1;
  font-weight: 750;
}

.pro-auth-card .captcha-challenge #captcha-question {
  display: inline-block;
  margin-inline-start: 4px;
  padding: 2px 8px;
  border: 1px solid rgba(192, 132, 252, .55);
  border-radius: 8px;
  background: rgba(147, 51, 234, .24);
  color: #f5d0fe !important;
  -webkit-text-fill-color: #f5d0fe;
  font-variant-numeric: tabular-nums;
}

.pro-auth-card .captcha-challenge input#captcha-answer,
.pro-auth-card .captcha-challenge input#captcha-answer:focus,
.pro-auth-card .captcha-challenge input#captcha-answer:-webkit-autofill {
  border: 1px solid rgba(255, 255, 255, .58);
  background: #ffffff !important;
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
  caret-color: #0f172a;
  color-scheme: light;
  opacity: 1;
}

.pro-auth-card .captcha-challenge input#captcha-answer::placeholder {
  color: #64748b !important;
  -webkit-text-fill-color: #64748b !important;
  opacity: 1;
}

.pro-auth-card .captcha-challenge #captcha-refresh {
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, .34);
  background: rgba(255, 255, 255, .14);
  color: #ffffff;
  font-weight: 800;
}

.pro-auth-card .captcha-challenge #captcha-refresh:hover,
.pro-auth-card .captcha-challenge #captcha-refresh:focus-visible {
  border-color: #c084fc;
  background: rgba(192, 132, 252, .22);
  color: #ffffff;
  outline: 3px solid rgba(192, 132, 252, .24);
  outline-offset: 2px;
}

@media (prefers-contrast: more) {
  .pro-auth-card .captcha-challenge { border-width: 2px; background: #05060a; }
  .pro-auth-card .captcha-challenge #captcha-question { border-color: #ffffff; }
  .pro-auth-card .captcha-challenge input#captcha-answer { border: 2px solid #0f172a; }
}

@media (forced-colors: active) {
  .pro-auth-card .captcha-challenge,
  .pro-auth-card .captcha-challenge label,
  .pro-auth-card .captcha-challenge #captcha-question,
  .pro-auth-card .captcha-challenge input#captcha-answer,
  .pro-auth-card .captcha-challenge #captcha-refresh {
    border-color: CanvasText;
    background: Canvas !important;
    color: CanvasText !important;
    -webkit-text-fill-color: CanvasText !important;
    forced-color-adjust: auto;
  }
}

/* v210: standalone auth screens must respect iPhone display cutouts and the
   Home indicator. Keep the entire form scrollable on short phone screens. */
.pro-auth-body {
  min-height: 100dvh;
  padding-top: max(14px, env(safe-area-inset-top, 0px));
  padding-right: max(14px, env(safe-area-inset-right, 0px));
  padding-bottom: max(18px, env(safe-area-inset-bottom, 0px));
  padding-left: max(14px, env(safe-area-inset-left, 0px));
}

.pro-auth-card .auth-link {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pro-auth-card .avatar-field > span {
  color: rgba(255, 255, 255, .82) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, .82);
}

.pro-auth-card input:not(#captcha-answer) {
  border-color: rgba(255, 255, 255, .38);
}

.pro-auth-card input:not(#captcha-answer)::placeholder {
  color: rgba(255, 255, 255, .76);
  -webkit-text-fill-color: rgba(255, 255, 255, .76);
  opacity: 1;
}

.pro-auth-card .auth-submit {
  background: linear-gradient(135deg, #6b176b, #9f1239) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
}

@media (max-width: 760px) {
  .pro-auth-shell {
    width: 100%;
    min-height: calc(100dvh - 32px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    align-content: center;
  }
  .pro-auth-card { margin-inline: auto; }
}
