/**
 * RX Medical Core — plugin-owned Password Reset presentation.
 * UI only. No reset keys, nonce handling, validation, email, or password logic lives here.
 */
body:has(.rxmc-auth-card){
  --rx-foundation-page:#f8f3eb;
  --rx-foundation-surface:#fffdf9;
  --rx-foundation-ink:#00161c;
  --rx-foundation-muted:#718894;
  --rx-foundation-primary:#1b716b;
  --rx-foundation-primary-hover:#155f5a;
  --rx-foundation-border:#d8d9d2;
  --rx-foundation-focus:rgba(27,113,107,.16);
  background:var(--rx-foundation-page)!important;
}
.rxmc-auth-card{
  box-sizing:border-box!important;
  width:min(calc(100% - 32px),620px)!important;
  max-width:620px!important;
  margin:clamp(32px,6vw,76px) auto!important;
  padding:clamp(30px,4.5vw,52px)!important;
  border:1px solid var(--rx-foundation-border,#d8d9d2)!important;
  border-radius:24px!important;
  background:var(--rx-foundation-page,#f8f3eb)!important;
  color:var(--rx-foundation-ink,#00161c)!important;
  box-shadow:none!important;
  font-family:inherit!important;
}
.rxmc-auth-card .rxmc-brand{
  margin:0 0 14px!important;
  color:var(--rx-foundation-primary,#1b716b)!important;
  font-size:12px!important;
  line-height:1.2!important;
  font-weight:800!important;
  letter-spacing:.14em!important;
  text-transform:uppercase!important;
}
.rxmc-auth-card h1{
  margin:0 0 18px!important;
  color:var(--rx-foundation-ink,#00161c)!important;
  font-size:clamp(34px,5vw,48px)!important;
  line-height:1.04!important;
  font-weight:800!important;
  letter-spacing:-.045em!important;
}
.rxmc-auth-card>p,.rxmc-auth-card .rxmc-auth-form~p{color:var(--rx-foundation-muted,#718894)!important}
.rxmc-auth-card>p{margin:0 0 24px!important;font-size:16px!important;line-height:1.65!important}
.rxmc-auth-card .rxmc-auth-form{margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
.rxmc-auth-card .rxmc-auth-form label{
  display:block!important;
  margin:18px 0 0!important;
  color:var(--rx-foundation-ink,#00161c)!important;
  font-size:13px!important;
  line-height:1.35!important;
  font-weight:800!important;
  letter-spacing:.06em!important;
  text-transform:uppercase!important;
}
.rxmc-auth-card .rxmc-auth-form input[type="text"],
.rxmc-auth-card .rxmc-auth-form input[type="email"],
.rxmc-auth-card .rxmc-auth-form input[type="password"]{
  box-sizing:border-box!important;
  display:block!important;
  width:100%!important;
  max-width:none!important;
  min-height:58px!important;
  margin:9px 0 0!important;
  padding:15px 17px!important;
  border:1px solid var(--rx-foundation-border,#d8d9d2)!important;
  border-radius:16px!important;
  background:var(--rx-foundation-surface,#fffdf9)!important;
  color:var(--rx-foundation-ink,#00161c)!important;
  -webkit-text-fill-color:var(--rx-foundation-ink,#00161c)!important;
  caret-color:var(--rx-foundation-primary,#1b716b)!important;
  color-scheme:light;
  font-family:inherit!important;
  font-size:16px!important;
  font-weight:650!important;
  line-height:1.35!important;
  opacity:1!important;
  outline:0!important;
  box-shadow:0 1px 0 rgba(0,22,28,.02)!important;
  transition:border-color .16s ease,box-shadow .16s ease!important;
}
.rxmc-auth-card .rxmc-auth-form input[type="text"]::placeholder,
.rxmc-auth-card .rxmc-auth-form input[type="email"]::placeholder,
.rxmc-auth-card .rxmc-auth-form input[type="password"]::placeholder{color:#8c9ca3!important;-webkit-text-fill-color:#8c9ca3!important;opacity:1!important}
.rxmc-auth-card .rxmc-auth-form input:focus{border-color:var(--rx-foundation-primary,#1b716b)!important;box-shadow:0 0 0 4px var(--rx-foundation-focus,rgba(27,113,107,.16))!important}
.rxmc-auth-card .rxmc-auth-form input:-webkit-autofill,
.rxmc-auth-card .rxmc-auth-form input:-webkit-autofill:hover,
.rxmc-auth-card .rxmc-auth-form input:-webkit-autofill:focus,
.rxmc-auth-card .rxmc-auth-form input:-webkit-autofill:active{
  -webkit-text-fill-color:var(--rx-foundation-ink,#00161c)!important;
  caret-color:var(--rx-foundation-primary,#1b716b)!important;
  -webkit-box-shadow:0 0 0 1000px var(--rx-foundation-surface,#fffdf9) inset!important;
  box-shadow:0 0 0 1000px var(--rx-foundation-surface,#fffdf9) inset!important;
}
.rxmc-auth-card .rxmc-button,
.rxmc-auth-card .rxmc-button:visited{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  min-width:190px!important;
  min-height:50px!important;
  margin:24px 0 0!important;
  padding:13px 22px!important;
  border:1px solid var(--rx-foundation-primary,#1b716b)!important;
  border-radius:14px!important;
  background:var(--rx-foundation-primary,#1b716b)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  font-family:inherit!important;
  font-size:15px!important;
  line-height:1.2!important;
  font-weight:800!important;
  text-decoration:none!important;
  box-shadow:none!important;
  cursor:pointer!important;
  transition:background-color .16s ease,border-color .16s ease,transform .16s ease!important;
}
.rxmc-auth-card .rxmc-button:hover{background:var(--rx-foundation-primary-hover,#155f5a)!important;border-color:var(--rx-foundation-primary-hover,#155f5a)!important;color:#fff!important;transform:translateY(-1px)!important}
.rxmc-auth-card .rxmc-button:focus-visible{outline:3px solid var(--rx-foundation-focus,rgba(27,113,107,.16))!important;outline-offset:3px!important}
.rxmc-auth-card .rxmc-error,.rxmc-auth-card .rxmc-success{margin:0 0 18px!important;padding:12px 14px!important;border-radius:12px!important;font-size:14px!important;line-height:1.55!important}
.rxmc-auth-card .rxmc-error{background:#f9e9e7!important;color:#94343a!important}.rxmc-auth-card .rxmc-success{background:#e8f3ed!important;color:#1f7657!important}

/* Common RX/Eduma dark-mode selectors. */
body.dark:has(.rxmc-auth-card),body.dark-mode:has(.rxmc-auth-card),body.thim-dark-mode:has(.rxmc-auth-card),body.wp-dark-mode-active:has(.rxmc-auth-card),body[data-theme="dark"]:has(.rxmc-auth-card),html.dark body:has(.rxmc-auth-card),html.dark-mode body:has(.rxmc-auth-card),html.thim-dark-mode body:has(.rxmc-auth-card),html.wp-dark-mode-active body:has(.rxmc-auth-card),html[data-theme="dark"] body:has(.rxmc-auth-card){
  --rx-foundation-page:#051c23;
  --rx-foundation-surface:#0b2b31;
  --rx-foundation-ink:#f8f3eb;
  --rx-foundation-muted:#a7b7b8;
  --rx-foundation-primary:#18746d;
  --rx-foundation-primary-hover:#1a827a;
  --rx-foundation-border:#244c50;
  --rx-foundation-focus:rgba(24,116,109,.26);
  background:#051c23!important;
}
body.dark:has(.rxmc-auth-card) .rxmc-auth-card .rxmc-auth-form input,
body.dark-mode:has(.rxmc-auth-card) .rxmc-auth-card .rxmc-auth-form input,
body.thim-dark-mode:has(.rxmc-auth-card) .rxmc-auth-card .rxmc-auth-form input,
body.wp-dark-mode-active:has(.rxmc-auth-card) .rxmc-auth-card .rxmc-auth-form input,
body[data-theme="dark"]:has(.rxmc-auth-card) .rxmc-auth-card .rxmc-auth-form input,
html.dark body:has(.rxmc-auth-card) .rxmc-auth-card .rxmc-auth-form input,
html.dark-mode body:has(.rxmc-auth-card) .rxmc-auth-card .rxmc-auth-form input,
html.thim-dark-mode body:has(.rxmc-auth-card) .rxmc-auth-card .rxmc-auth-form input,
html.wp-dark-mode-active body:has(.rxmc-auth-card) .rxmc-auth-card .rxmc-auth-form input,
html[data-theme="dark"] body:has(.rxmc-auth-card) .rxmc-auth-card .rxmc-auth-form input{color-scheme:dark}

@media(max-width:700px){
  .rxmc-auth-card{width:calc(100% - 24px)!important;margin:22px auto!important;padding:30px 20px!important;border-radius:20px!important}
  .rxmc-auth-card h1{font-size:34px!important;line-height:1.06!important}
  .rxmc-auth-card .rxmc-button{width:100%!important}
}
@media(max-width:380px){.rxmc-auth-card{width:calc(100% - 16px)!important;padding:26px 16px!important}.rxmc-auth-card h1{font-size:30px!important}}
@media(prefers-reduced-motion:reduce){.rxmc-auth-card *{transition:none!important}}
