/* NTIMA OS v10.13.3 — discreet one-tap copy actions for operational values. */
.genesis-quick-copy-value{
  display:inline-flex;
  align-items:center;
  gap:6px;
  max-width:100%;
  vertical-align:middle;
}
.genesis-quick-copy-value>.genesis-quick-copy-text{
  min-width:0;
  overflow-wrap:anywhere;
}
.genesis-quick-copy-button{
  appearance:none;
  -webkit-appearance:none;
  display:inline-grid;
  place-items:center;
  flex:0 0 auto;
  width:30px;
  height:30px;
  min-width:30px;
  padding:0!important;
  margin:0!important;
  border:1px solid #cbded4!important;
  border-radius:9px!important;
  background:#fff!important;
  color:#075d39!important;
  font:800 16px/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  box-shadow:0 3px 10px rgba(15,56,42,.07)!important;
  cursor:pointer;
  touch-action:manipulation;
}
.genesis-quick-copy-button:hover,
.genesis-quick-copy-button:focus-visible{
  border-color:#078346!important;
  background:#ecfdf3!important;
  color:#065f46!important;
  outline:3px solid rgba(37,99,235,.25)!important;
  outline-offset:2px;
}
.genesis-quick-copy-button.is-copied{
  border-color:#16a34a!important;
  background:#dcfce7!important;
  color:#166534!important;
}
.genesis-quick-copy-button[disabled]{
  opacity:.55;
  cursor:default;
}

/* Read-only fields keep their normal width while the copy control sits inside. */
.has-genesis-quick-copy-field{
  position:relative!important;
}
.has-genesis-quick-copy-field :is(input[readonly],textarea[readonly]){
  padding-right:48px!important;
}
.has-genesis-quick-copy-field>.genesis-quick-copy-button{
  position:absolute;
  right:8px;
  bottom:8px;
  z-index:2;
}
.genesis-quick-copy-field-wrap{
  position:relative;
  display:block;
  width:100%;
}
.genesis-quick-copy-field-wrap :is(input[readonly],textarea[readonly]){
  width:100%;
  padding-right:48px!important;
}
.genesis-quick-copy-field-wrap>.genesis-quick-copy-button{
  position:absolute;
  right:8px;
  top:50%;
  transform:translateY(-50%);
  z-index:2;
}

.genesis-copy-toast{
  position:fixed;
  left:50%;
  bottom:max(24px,calc(env(safe-area-inset-bottom,0px) + 18px));
  z-index:2147483647;
  max-width:min(88vw,420px);
  padding:11px 16px;
  border:1px solid rgba(255,255,255,.25);
  border-radius:999px;
  background:#073f2d;
  color:#fff;
  box-shadow:0 14px 40px rgba(0,0,0,.24);
  font-size:13px;
  font-weight:800;
  line-height:1.3;
  text-align:center;
  opacity:0;
  transform:translate(-50%,14px);
  pointer-events:none;
  transition:opacity .18s ease,transform .18s ease;
}
.genesis-copy-toast.is-visible{
  opacity:1;
  transform:translate(-50%,0);
}

.wfms-members-table .genesis-quick-copy-button{
  width:27px;
  height:27px;
  min-width:27px;
  border-radius:8px!important;
  font-size:14px!important;
}
.wfms-member-profile-head .genesis-quick-copy-button{
  border-color:rgba(255,255,255,.42)!important;
  background:rgba(255,255,255,.14)!important;
  color:#fff!important;
  box-shadow:none!important;
}
.wfms-member-profile-head .genesis-quick-copy-button:hover,
.wfms-member-profile-head .genesis-quick-copy-button:focus-visible{
  background:rgba(255,255,255,.25)!important;
  color:#fff!important;
}

@media(max-width:782px){
  .genesis-quick-copy-button{
    width:34px;
    height:34px;
    min-width:34px;
  }
  .genesis-copy-toast{
    bottom:max(78px,calc(env(safe-area-inset-bottom,0px) + 70px));
  }
}
@media(prefers-reduced-motion:reduce){
  .genesis-copy-toast{transition:none}
}
