/* Néfesh Personal registration — dark-mode contrast repair v1 */
html[data-theme="dark"] body.particular-auth-body{
  color:#edfaff!important;
  background:
    radial-gradient(circle at 10% 12%,rgba(124,114,232,.13),transparent 27rem),
    radial-gradient(circle at 88% 8%,rgba(66,214,196,.1),transparent 25rem),
    linear-gradient(145deg,#030910,#06131c 58%,#07202a)!important;
}

html[data-theme="dark"] body.particular-auth-body .auth-header{
  border-bottom-color:rgba(114,220,211,.18)!important;
  background:rgba(3,13,20,.9)!important;
}

html[data-theme="dark"] body.particular-auth-body .auth-header .brand strong{
  color:#dbe9ec!important;
}

html[data-theme="dark"] body.particular-auth-body .auth-header .brand strong i{
  color:#4be0d0!important;
}

html[data-theme="dark"] body.particular-auth-body .auth-header .brand small{
  color:#a8c0c6!important;
}

html[data-theme="dark"] body.particular-auth-body .auth-back{
  color:#d4edf1!important;
}

html[data-theme="dark"] body.particular-auth-body .particular-auth-copy .kicker{
  color:#d9d4ff!important;
  opacity:1!important;
}

html[data-theme="dark"] body.particular-auth-body .particular-auth-copy h1{
  color:#f5fbff!important;
  text-shadow:0 8px 32px rgba(0,0,0,.28)!important;
}

html[data-theme="dark"] body.particular-auth-body .particular-auth-copy>p{
  color:#b1cbd3!important;
  opacity:1!important;
}

/* The benefit cards stay light, so all typography is explicitly dark. */
html[data-theme="dark"] body.particular-auth-body .particular-benefits article{
  border-color:#d8d5ee!important;
  background:linear-gradient(145deg,#ffffff,#f4f5f8)!important;
  color:#17363d!important;
  box-shadow:0 13px 30px rgba(0,0,0,.2)!important;
}

html[data-theme="dark"] body.particular-auth-body .particular-benefits article>span{
  background:#e9e5ff!important;
  color:#5f55c9!important;
  opacity:1!important;
  text-shadow:none!important;
}

html[data-theme="dark"] body.particular-auth-body .particular-benefits h3{
  color:#17363d!important;
  opacity:1!important;
  text-shadow:none!important;
}

html[data-theme="dark"] body.particular-auth-body .particular-benefits p{
  color:#5a7076!important;
  opacity:1!important;
}

html[data-theme="dark"] body.particular-auth-body .particular-boundary{
  border-left-color:#786ee8!important;
  background:#ffffff!important;
  color:#53666d!important;
  box-shadow:0 12px 28px rgba(0,0,0,.18)!important;
}

html[data-theme="dark"] body.particular-auth-body .particular-boundary b{
  color:#5d52ca!important;
}

/* Keep the form panel dark and make every control readable. */
html[data-theme="dark"] body.particular-auth-body .particular-auth-card{
  border-color:rgba(103,213,204,.24)!important;
  background:linear-gradient(160deg,#0d2f3d,#0a2633)!important;
  color:#f1fbff!important;
  box-shadow:0 25px 65px rgba(0,0,0,.38)!important;
}

html[data-theme="dark"] body.particular-auth-body .auth-tabs{
  background:#071d27!important;
}

html[data-theme="dark"] body.particular-auth-body .auth-tabs button{
  color:#abc5cc!important;
}

html[data-theme="dark"] body.particular-auth-body .auth-tabs button.active{
  background:#eef8f7!important;
  color:#14363d!important;
  box-shadow:0 7px 18px rgba(0,0,0,.18)!important;
}

html[data-theme="dark"] body.particular-auth-body .particular-form-heading>span{
  background:#e9e5ff!important;
  color:#5e54c9!important;
  opacity:1!important;
}

html[data-theme="dark"] body.particular-auth-body .particular-form-heading small{
  color:#c2bbff!important;
  opacity:1!important;
}

html[data-theme="dark"] body.particular-auth-body .particular-form-heading h2{
  color:#f4fbff!important;
  opacity:1!important;
  text-shadow:none!important;
}

html[data-theme="dark"] body.particular-auth-body .particular-form-heading p{
  color:#abc4cb!important;
  opacity:1!important;
}

html[data-theme="dark"] body.particular-auth-body .auth-form label{
  color:#f0f9fc!important;
  opacity:1!important;
}

html[data-theme="dark"] body.particular-auth-body .auth-form input,
html[data-theme="dark"] body.particular-auth-body .auth-form select{
  border-color:rgba(117,210,206,.32)!important;
  background:#08232f!important;
  color:#f3fbff!important;
  caret-color:#55e1d2!important;
}

html[data-theme="dark"] body.particular-auth-body .auth-form input::placeholder{
  color:#bad0d6!important;
  opacity:1!important;
}

html[data-theme="dark"] body.particular-auth-body .auth-form input:focus,
html[data-theme="dark"] body.particular-auth-body .auth-form select:focus{
  border-color:#4bdaca!important;
  box-shadow:0 0 0 3px rgba(75,218,202,.14)!important;
}

html[data-theme="dark"] body.particular-auth-body .check-label,
html[data-theme="dark"] body.particular-auth-body .check-label>span{
  color:#eef9fc!important;
  opacity:1!important;
}

html[data-theme="dark"] body.particular-auth-body .check-label input{
  accent-color:#42d6c4!important;
}

/* This notice uses a pale lavender surface: force dark copy inside it. */
html[data-theme="dark"] body.particular-auth-body .particular-understanding{
  border-color:#d8d2f4!important;
  background:#f4f1ff!important;
  color:#273d46!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.74)!important;
}

html[data-theme="dark"] body.particular-auth-body .particular-understanding>span{
  color:#273d46!important;
  opacity:1!important;
  text-shadow:none!important;
}

/* Password strength panel is injected after page load; stronger specificity keeps it legible. */
html[data-theme="dark"] body.particular-auth-body .password-strength-panel{
  border-color:rgba(132,215,212,.22)!important;
  background:#0a2130!important;
  color:#d8edf2!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.025)!important;
}

html[data-theme="dark"] body.particular-auth-body .password-strength-header,
html[data-theme="dark"] body.particular-auth-body .password-strength-header span{
  color:#dceef2!important;
  opacity:1!important;
}

html[data-theme="dark"] body.particular-auth-body .password-strength-header strong{
  color:#a9c8d1!important;
  opacity:1!important;
}

html[data-theme="dark"] body.particular-auth-body .password-rule-list,
html[data-theme="dark"] body.particular-auth-body .password-rule-list li{
  color:#a9c6cf!important;
  opacity:1!important;
}

html[data-theme="dark"] body.particular-auth-body .password-rule-list li::before{
  color:#7fa3ad!important;
}

html[data-theme="dark"] body.particular-auth-body .password-rule-list li.is-met{
  color:#8cf0c4!important;
}

html[data-theme="dark"] body.particular-auth-body .password-strength-bars span{
  background:#d8e4ee!important;
  opacity:.92!important;
}

html[data-theme="dark"] body.particular-auth-body .password-strength-panel[data-password-strength="weak"] .password-strength-bars span.active{background:#fb7185!important}
html[data-theme="dark"] body.particular-auth-body .password-strength-panel[data-password-strength="fair"] .password-strength-bars span.active{background:#fb923c!important}
html[data-theme="dark"] body.particular-auth-body .password-strength-panel[data-password-strength="good"] .password-strength-bars span.active{background:#facc15!important}
html[data-theme="dark"] body.particular-auth-body .password-strength-panel[data-password-strength="strong"] .password-strength-bars span.active{background:#4ade80!important}

html[data-theme="dark"] body.particular-auth-body .personal-fields-summary{
  border-color:rgba(112,210,204,.22)!important;
  background:#081f2a!important;
}

html[data-theme="dark"] body.particular-auth-body .personal-fields-summary b{
  color:#dff2f5!important;
}

html[data-theme="dark"] body.particular-auth-body .personal-fields-summary span{
  border:1px solid rgba(73,206,194,.24)!important;
  background:#dff7f3!important;
  color:#176159!important;
  opacity:1!important;
  text-shadow:none!important;
}

html[data-theme="dark"] body.particular-auth-body .auth-route-switch{
  border-top-color:rgba(121,213,208,.18)!important;
}

html[data-theme="dark"] body.particular-auth-body .auth-route-switch span{
  color:#a7c0c7!important;
  opacity:1!important;
}

html[data-theme="dark"] body.particular-auth-body .auth-route-switch a{
  color:#c2bcff!important;
}

html[data-theme="dark"] body.particular-auth-body .demo-access{
  border-top-color:rgba(121,213,208,.18)!important;
}

html[data-theme="dark"] body.particular-auth-body .demo-access>span{
  color:#a7c0c7!important;
}

html[data-theme="dark"] body.particular-auth-body .demo-access button{
  border-color:rgba(111,207,201,.28)!important;
  background:#0a2330!important;
  color:#e6f6f8!important;
}

html[data-theme="dark"] body.particular-auth-body .prototype-warning{
  color:#9eb9c0!important;
  opacity:1!important;
}

html[data-theme="dark"] body.particular-auth-body .auth-message{
  color:#75eadf!important;
}

html[data-theme="dark"] body.particular-auth-body .auth-message[data-kind="error"]{
  color:#ff9b9b!important;
}

html[data-theme="dark"] body.particular-auth-body .auth-message[data-kind="success"]{
  color:#8cf0c4!important;
}
