/* Global light selects (same look as the client firewall .fw-field select).
   Loaded last in every layout; !important beats older dark page-specific rules. */
html body select{
  color-scheme:light!important;
  background-color:#fff!important;
  color:#355a42!important;
  border:1px solid #d0e2d7!important;
  border-radius:9px!important;
  min-height:40px;
  font-family:'DM Sans',Arial,sans-serif;
  font-size:12px;
  box-shadow:none;
  max-width:100%;
}
html body select:not([multiple]):not([size]){
  -webkit-appearance:none!important;appearance:none!important;
  padding:9px 34px 9px 12px!important;
  cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236a8f77' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;
  background-position:right 12px center!important;
  background-size:12px 12px!important;
}
html body select[multiple],html body select[size]{padding:6px!important}
html body select:hover{border-color:#bcd6c5!important}
html body select:focus,html body select:focus-visible{
  background-color:#fff!important;color:#2f5c3d!important;
  border-color:#8fc0a2!important;box-shadow:0 0 0 3px #e3f2e9!important;outline:none!important;
}
html body select:disabled{background-color:#f4f8f5!important;color:#93a99a!important;cursor:not-allowed}
html body select option,html body select optgroup{background:#fff!important;color:#2f5c3d!important}
html body select option:disabled,html body select option[value=""]{color:#93a99a!important}
html body select option:checked{background:#e3f2e9 linear-gradient(#e3f2e9,#e3f2e9)!important;color:#1f5a37!important}

/* Admin panel: light text fields everywhere, also on focus (overrides dark rules in
   admin-workspace.css, admin-offers.css, admin-logs.css). */
body.admin-workspace :is(textarea,input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file]):not([type=submit]):not([type=button]):not([type=reset]):not([type=hidden])){
  color-scheme:light!important;
  background-color:#fff!important;
  color:#35463b!important;
  border-color:#d0e2d7!important;
}
body.admin-workspace :is(textarea,input):not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file]):hover{border-color:#bcd6c5!important}
body.admin-workspace :is(textarea,input):not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file]):focus{
  background-color:#fff!important;color:#2f5c3d!important;
  border-color:#8fc0a2!important;box-shadow:0 0 0 3px #e3f2e9!important;outline:none!important;
}
body.admin-workspace :is(textarea,input):disabled,body.admin-workspace input[readonly]{background-color:#f4f8f5!important;color:#7d9585!important}
body.admin-workspace :is(textarea,input)::placeholder{color:#a3b6a9!important;opacity:1}
/* Borderless fields inside a bordered wrapper keep their wrapper's border. */
body.admin-workspace .de-editor .de-textarea,body.admin-workspace .de-editor .de-textarea:focus{border:0!important;box-shadow:none!important}
