/* NTIMA OS v10.13.9 — keep full member IDs on one line inside the Members table. */

/* Give the ID column enough room without making the directory wider than the page. */
@media (min-width:783px){
  .genesis-admin-content .wfms-members-table th:nth-child(1),
  .genesis-admin-content .wfms-members-table td:nth-child(1){width:13.5%!important}
  .genesis-admin-content .wfms-members-table th:nth-child(2),
  .genesis-admin-content .wfms-members-table td:nth-child(2){width:10.5%!important}
  .genesis-admin-content .wfms-members-table th:nth-child(3),
  .genesis-admin-content .wfms-members-table td:nth-child(3){width:16.5%!important}
  .genesis-admin-content .wfms-members-table th:nth-child(4),
  .genesis-admin-content .wfms-members-table td:nth-child(4){width:16.5%!important}
  .genesis-admin-content .wfms-members-table th:nth-child(5),
  .genesis-admin-content .wfms-members-table td:nth-child(5){width:7.5%!important}
  .genesis-admin-content .wfms-members-table th:nth-child(6),
  .genesis-admin-content .wfms-members-table td:nth-child(6){width:9%!important}
  .genesis-admin-content .wfms-members-table th:nth-child(7),
  .genesis-admin-content .wfms-members-table td:nth-child(7){width:10.5%!important}
  .genesis-admin-content .wfms-members-table th:nth-child(8),
  .genesis-admin-content .wfms-members-table td:nth-child(8){width:16%!important}

  .genesis-admin-content .wfms-members-table td:nth-child(2) > .genesis-quick-copy-value{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 23px!important;
    align-items:center!important;
    gap:3px!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
  .genesis-admin-content .wfms-members-table td:nth-child(2) .genesis-quick-copy-text{
    display:block!important;
    min-width:max-content!important;
    white-space:nowrap!important;
    overflow:visible!important;
    text-overflow:clip!important;
    font-size:11.5px!important;
    letter-spacing:-.18px!important;
    line-height:1.2!important;
  }
  .genesis-admin-content .wfms-members-table td:nth-child(2) .genesis-quick-copy-button{
    width:23px!important;
    height:23px!important;
    min-width:23px!important;
    border-radius:7px!important;
    font-size:12px!important;
    box-shadow:none!important;
  }
}

/* Compact laptops keep the complete ID visible while the table remains inside the page. */
@media (min-width:783px) and (max-width:1180px){
  .genesis-admin-content .wfms-members-table th:nth-child(1),
  .genesis-admin-content .wfms-members-table td:nth-child(1){width:12.5%!important}
  .genesis-admin-content .wfms-members-table th:nth-child(2),
  .genesis-admin-content .wfms-members-table td:nth-child(2){width:12%!important}
  .genesis-admin-content .wfms-members-table th:nth-child(3),
  .genesis-admin-content .wfms-members-table td:nth-child(3){width:17%!important}
  .genesis-admin-content .wfms-members-table th:nth-child(4),
  .genesis-admin-content .wfms-members-table td:nth-child(4){width:16%!important}
  .genesis-admin-content .wfms-members-table th:nth-child(5),
  .genesis-admin-content .wfms-members-table td:nth-child(5){width:7%!important}
  .genesis-admin-content .wfms-members-table th:nth-child(6),
  .genesis-admin-content .wfms-members-table td:nth-child(6){width:9%!important}
  .genesis-admin-content .wfms-members-table th:nth-child(7),
  .genesis-admin-content .wfms-members-table td:nth-child(7){width:10.5%!important}
  .genesis-admin-content .wfms-members-table th:nth-child(8),
  .genesis-admin-content .wfms-members-table td:nth-child(8){width:16%!important}

  .genesis-admin-content .wfms-members-table td:nth-child(2) > .genesis-quick-copy-value{
    grid-template-columns:minmax(0,1fr) 20px!important;
    gap:2px!important;
  }
  .genesis-admin-content .wfms-members-table td:nth-child(2) .genesis-quick-copy-text{
    font-size:9.8px!important;
    letter-spacing:-.32px!important;
  }
  .genesis-admin-content .wfms-members-table td:nth-child(2) .genesis-quick-copy-button{
    width:20px!important;
    height:20px!important;
    min-width:20px!important;
    border-radius:6px!important;
    font-size:10px!important;
  }
}

/* On phones, retain the full unbroken reference within the existing responsive table. */
@media (max-width:782px){
  .genesis-admin-content .wfms-members-table td:nth-child(2) > .genesis-quick-copy-value{
    display:inline-flex!important;
    align-items:center!important;
    flex-wrap:nowrap!important;
    gap:5px!important;
    width:max-content!important;
    max-width:none!important;
  }
  .genesis-admin-content .wfms-members-table td:nth-child(2) .genesis-quick-copy-text{
    white-space:nowrap!important;
  }
}
