    /* inter-400 - regular */
    /* @font-face {
      font-family: 'Inter';
      font-style: normal;
      font-weight: 400;
      font-display: swap;
      src: url('../webfonts/inter-v20-latin-regular.woff2') format('woff2');
    } */

    /* inter-500 - medium */
    /* @font-face {
      font-family: 'Inter';
      font-style: normal;
      font-weight: 500;
      font-display: swap;
      src: url('../webfonts/inter-v20-latin-500.woff2') format('woff2');
    } */

    /* inter-600 - semibold */
    /* @font-face {
      font-family: 'Inter';
      font-style: normal;
      font-weight: 600;
      font-display: swap;
      src: url('../webfonts/inter-v20-latin-600.woff2') format('woff2');
    } */
    /* ─── Reset & Base ─────────────────────────────────────────── */
    *,
    *::before,
    *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    :root {
      --green: #056049;
      --green-light: #e6f4f0;
      --dot-green: #22c55e;
      --dot-red: #ef4444;
      --dot-grey: #d1d5db;
      --dot-orange: #fa8d4e;
      --bg: rgba(77, 189, 198, 0.4);
      --surface: #ffffff;
      --border: #e4e0d8;
      --text: #1a1a1a;
      --text-muted: #6b7280;
      --radius: 8px;
      --shadow: 0 1px 3px rgba(0, 0, 0, .08);
    }

    body.dashboard {
      font-family: 'Inter', sans-serif;
      background: var(--bg);
      color: var(--text);
      font-size: 14px;
      min-height: 100vh;
    }

    /* ─── Header ───────────────────────────────────────────────── */
    .header {
      background: var(--bg);
      padding: 14px 16px;
      display: flex;
      align-items: center;
      gap: 16px;
      border-bottom: 1px solid var(--border);
      position: sticky;
      top: 0;
      z-index: 10;
    }

    .header .logo {
      flex-shrink: 0;
      display: flex;
      align-items: center;
    }

    .header .logo img,
    .header .logo svg {
      height: 22px;
      width: auto;
    }

    .search-wrap {
      margin-left: auto;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .search-input-wrap {
      position: relative;
    }

    .status-filter {
      padding: 7px 34px 7px 12px;
      border: 1px solid var(--border);
      border-radius: var(--radius);
      background-color: var(--surface);
      background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 7px center;
      background-size: 12px;
      color: var(--text);
      font-family: inherit;
      font-size: 13px;
      outline: none;
      cursor: pointer;
      transition: border-color .2s;
      appearance: none;
      -webkit-appearance: none;
      -moz-appearance: none;
    }

    .status-filter:focus {
      border-color: var(--green);
    }

    .search-wrap input {
      padding: 7px 14px 7px 36px;
      border: 1px solid var(--border);
      border-radius: var(--radius);
      background: var(--surface);
      font-size: 13px;
      width: 240px;
      outline: none;
      transition: border-color .2s;
    }

    .search-wrap input:focus {
      border-color: var(--green);
    }

    .search-wrap .icon {
      position: absolute;
      left: 10px;
      top: 50%;
      transform: translateY(-50%);
      color: var(--text-muted);
      pointer-events: none;
    }

    .header-actions {
      display: flex;
      gap: 8px;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 7px 14px;
      border: 1px solid var(--border);
      border-radius: var(--radius);
      background: var(--surface);
      font-size: 13px;
      font-family: inherit;
      cursor: pointer;
      color: var(--text);
      font-weight: 500;
      transition: background .15s, border-color .15s, box-shadow .15s;
      white-space: nowrap;
    }

    .btn:hover {
      background: var(--green-light);
      border-color: var(--green);
      color: var(--green);
    }

    .btn:active {
      opacity: .85;
    }

    .btn-primary {
      background: var(--green);
      color: #fff;
      border-color: var(--green);
    }

    .btn-primary:hover {
      background: #044d3a;
      border-color: #044d3a;
      color: #fff;
    }

    /* ─── Main / Table Container ───────────────────────────────── */
    .main {
      padding: 0;
    }

    .table-wrapper {
      background: var(--surface);
      border-radius: 0;
      /* overflow: hidden; */
    }

    /* ─── Table ────────────────────────────────────────────────── */
    table {
      width: 100%;
      border-collapse: collapse;
    }

    thead {
      position: sticky;
      top: 61px;
      background: var(--surface);
      box-shadow: inset 0 -1px 0 var(--border);
      z-index: 10;
    }

    thead tr {
      border-bottom: 1px solid var(--border);
    }

    th {
      padding: 12px 16px;
      text-align: left;
      font-weight: 600;
      font-size: 13px;
      color: var(--text);
      white-space: nowrap;
      user-select: none;
    }

    th.sortable {
      cursor: pointer;
    }

    th.sortable:hover {
      color: var(--green);
    }

    th .sort-arrow {
      display: inline-block;
      margin-left: 4px;
      font-size: 10px;
      opacity: .6;
    }

    tbody tr.data-row {
      border-bottom: 1px solid var(--border);
      transition: background .15s;
    }

    tbody tr.data-row:hover {
      background: #ece7de;
    }

    tbody tr.data-row.expanded {
      background: #ece7de;
      border-bottom: none;
    }

    td {
      padding: 12px 16px;
      vertical-align: middle;
      font-size: 13px;
      color: var(--text);
    }

    td.email {
      color: var(--text-muted);
    }

    td.name {
      font-weight: 500;
      color: var(--text);
    }

    /* Expanded selected row */
    tr.data-row.selected {
      background: #e3ddd4;
    }

    tr.data-row.selected td.email,
    tr.data-row.selected td.name {
      font-weight: 700;
      color: var(--text);
    }

    /* ─── Status Dots ──────────────────────────────────────────── */
    .dot-cell {
      display: flex;
      align-items: center;
      gap: 7px;
    }

    .dot {
      display: inline-block;
      width: 14px;
      height: 14px;
      border-radius: 50%;
      flex-shrink: 0;
    }

    .dot.green {
      background: var(--dot-green);
    }

    .dot.red {
      background: var(--dot-red);
    }

    .dot.grey {
      background: var(--dot-grey);
    }

    .dot.orange {
      background: var(--dot-orange);
    }

    .dot-ts {
      font-size: 11px;
      color: var(--text-muted);
      white-space: nowrap;
    }

    /* toggle + timestamp wrapper */
    .toggle-cell {
      display: flex;
      align-items: center;
      gap: 7px;
    }

    /* ─── Toggle Switch ────────────────────────────────────────── */
    .toggle {
      position: relative;
      display: inline-block;
      width: 36px;
      height: 20px;
    }

    .toggle input {
      opacity: 0;
      width: 0;
      height: 0;
    }

    .slider {
      position: absolute;
      inset: 0;
      background: var(--dot-grey);
      border-radius: 20px;
      cursor: pointer;
      transition: background .2s;
    }

    .slider::before {
      content: '';
      position: absolute;
      width: 14px;
      height: 14px;
      left: 3px;
      bottom: 3px;
      background: #fff;
      border-radius: 50%;
      transition: transform .2s;
    }

    .toggle input:checked+.slider {
      background: var(--dot-green);
    }

    .toggle input:checked+.slider::before {
      transform: translateX(16px);
    }

    .tri-state-toggle {
        width: 50px;
        height: 20px;
        background: var(--dot-grey);
        border-radius: 20px;
        position: relative;
        cursor: pointer;
        transition: background 0.3s ease;
    }

    .tri-slider {
        width: 14px;
        height: 14px;
        background: #fff;
        border-radius: 50%;
        position: absolute;
        bottom: 3px;
        left: 50%;
        transform: translateX(-50%);
        transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .tri-state-toggle.negative {
        background: var(--dot-red);
    }
    .tri-state-toggle.negative .tri-slider {
        left: 3px;
        transform: translateX(0);
    }

    .tri-state-toggle.positive {
        background: var(--dot-green);
    }
    .tri-state-toggle.positive .tri-slider {
        left: calc(100% - 17px);
        transform: translateX(0);
    }

    .tri-state-toggle.disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

    /* ─── Row Actions ──────────────────────────────────────────── */
    .row-actions {
      display: flex;
      gap: 6px;
      align-items: center;
      justify-content: flex-end;
    }

    .btn-sm {
      padding: 5px 11px;
      font-size: 12px;
      border-radius: 6px;
      border: 1px solid var(--border);
      background: var(--surface);
      font-family: inherit;
      cursor: pointer;
      font-weight: 500;
      transition: background .15s, border-color .15s;
      white-space: nowrap;
    }

    .btn-sm:hover {
      background: var(--green-light);
      border-color: var(--green);
      color: var(--green);
    }

    .btn-chevron {
      width: 28px;
      height: 28px;
      border: 1px solid var(--border);
      border-radius: 6px;
      background: var(--surface);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background .15s, border-color .15s;
      flex-shrink: 0;
    }

    .btn-chevron:hover {
      background: var(--green-light);
      border-color: var(--green);
    }

    .btn-chevron svg {
      transition: transform .25s;
      transform: rotate(0deg);
      display: block;
    }

    .btn-chevron.open svg {
      transform: rotate(180deg);
    }

    /* ─── Expanded Detail Row ──────────────────────────────────── */
    tr.detail-row {
      display: none;
    }

    tr.detail-row.open {
      display: table-row;
    }

    .detail-row td {
      padding: 0;
      border-bottom: 1px solid var(--border);
      background: #ece7de;
    }

    .detail-body {
      padding: 16px 16px 14px;
    }

    .detail-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
      margin-bottom: 14px;
      text-align: left;
    }

    .detail-col {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .detail-field {
      font-size: 13px;
      line-height: 1.55;
    }

    .detail-field strong {
      font-weight: 600;
    }

    .detail-actions {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      border-top: 1px solid var(--border);
      padding-top: 14px;
    }

    .btn-detail {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 6px 14px;
      font-size: 12px;
      font-family: inherit;
      font-weight: 500;
      border: 1px solid var(--border);
      border-radius: 20px;
      background: var(--surface);
      cursor: pointer;
      transition: background .15s, border-color .15s;
    }

    .btn-detail:hover {
      background: var(--green-light);
      border-color: var(--green);
      color: var(--green);
    }

    .btn-detail.sent {
      background: #f0faf6;
      border-color: var(--dot-green);
      color: #166534;
    }

    .btn-detail.sent .check-icon {
      background: var(--dot-green);
      color: #fff;
      border-radius: 50%;
      width: 16px;
      height: 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 10px;
      flex-shrink: 0;
    }

    .btn-detail.sent-d {
      background: #f0faf6;
      border-color: var(--dot-red);
      color: #832b2b;
    }

    .btn-detail.sent-d .check-icon {
      background: var(--dot-red);
      color: #fff;
      border-radius: 50%;
      width: 16px;
      height: 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 10px;
      flex-shrink: 0;
    }

    a.btn-detail{
      text-decoration: none;
      color: #000000;
    }

    .btn-detail.right{
      margin-left: auto;
    }

    /* ─── Notification Toast ───────────────────────────────────── */
    #toast {
      position: fixed;
      bottom: 28px;
      right: 28px;
      background: var(--green);
      color: #fff;
      padding: 10px 18px;
      border-radius: var(--radius);
      font-size: 13px;
      font-weight: 500;
      box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
      opacity: 0;
      transform: translateY(8px);
      transition: opacity .3s, transform .3s;
      pointer-events: none;
      z-index: 9999;
    }

    #toast.show {
      opacity: 1;
      transform: translateY(0);
    }

    /* ─── Notification Error ───────────────────────────────────── */
    #error {
      position: fixed;
      bottom: 28px;
      right: 28px;
      background: var(--dot-red);
      color: #fff;
      padding: 10px 18px;
      border-radius: var(--radius);
      font-size: 13px;
      font-weight: 500;
      box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
      opacity: 0;
      transform: translateY(8px);
      transition: opacity .3s, transform .3s;
      pointer-events: none;
      z-index: 9999;
    }

    #error.show {
      opacity: 1;
      transform: translateY(0);
    }

    /* ─── Empty State ──────────────────────────────────────────── */
    .empty-state {
      text-align: center;
      padding: 60px 20px;
      color: var(--text-muted);
      display:none;
    }

    .empty-state p {
      margin-top: 8px;
      font-size: 13px;
    }

    /* ─── Confirm Dialog ───────────────────────────────────────── */
    .confirm-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, .35);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 10000;
      animation: fadeIn .15s ease;
    }

    @keyframes fadeIn {
      from {
        opacity: 0
      }

      to {
        opacity: 1
      }
    }

    .confirm-box {
      background: var(--surface);
      border-radius: 12px;
      padding: 28px 28px 20px;
      width: 320px;
      box-shadow: 0 8px 32px rgba(0, 0, 0, .18);
      text-align: center;
    }

    .confirm-box h3 {
      font-size: 16px;
      font-weight: 600;
      margin-bottom: 8px;
    }

    .confirm-box p {
      font-size: 13px;
      color: var(--text-muted);
      margin-bottom: 22px;
      line-height: 1.5;
    }

    .confirm-box .confirm-btns {
      display: flex;
      gap: 10px;
      justify-content: center;
    }

    .confirm-box .confirm-btns button {
      flex: 1;
      padding: 8px 0;
      border-radius: 8px;
      font-family: inherit;
      font-size: 13px;
      font-weight: 500;
      cursor: pointer;
      border: 1px solid var(--border);
      transition: background .15s;
    }

    .confirm-box .btn-confirm-yes {
      background: var(--green);
      color: #fff;
      border-color: var(--green);
    }

    .confirm-box .btn-confirm-yes:hover {
      background: #044d3a;
    }

    .confirm-box .btn-confirm-no {
      background: var(--surface);
      color: var(--text);
    }

    .confirm-box .btn-confirm-no:hover {
      background: #f5f5f5;
    }

    .content{
      width: 600px;
      max-width: 90%;
      margin: 50px auto;
    }

    .login{
      width: 350px;
    }

    .content h2 {
      font-size: 26px;
      font-weight: 500;
      margin-bottom: 8px;
      color: var(--text-dark);
    }

    .content p {
      font-size: 14px;
      color: var(--text-muted);
      margin-bottom: 24px;
    }

    /* ─── Add Participant Modal ─────────────────────────────────── */
    .modal-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.4);
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 3000;
      backdrop-filter: blur(4px);
      animation: fadeIn .2s ease-out;
    }

    .modal-overlay.open {
      display: flex;
    }

    .modal-content {
      background: #f1ebd7;
      border-radius: 16px;
      padding: 40px;
      width: 600px;
      max-width: 90%;
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    }

    .modal-content h2 {
      font-size: 26px;
      font-weight: 500;
      margin-bottom: 8px;
      color: var(--text-dark);
    }

    .modal-content p {
      font-size: 14px;
      color: var(--text-muted);
      margin-bottom: 24px;
    }

    .modal-grid {
      display: grid;
      grid-template-columns: repeat(6, 1fr);
      gap: 12px;
    }

    .modal-col-full {
      grid-column: span 6;
    }

    .modal-col-2 {
      grid-column: span 2;
    }

    .modal-col-3 {
      grid-column: span 3;
    }

    .modal-col-4 {
      grid-column: span 4;
    }

    .modal-col-1 {
      grid-column: span 1;
    }

    .input-field {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .input-field label {
      display: none;
    }

    .input-field input,
    .input-field select {
      width: 100%;
      padding: 12px 16px;
      border: 1px solid #7a7a7a;
      border-radius: 8px;
      background: transparent;
      font-family: inherit;
      font-size: 14px;
      font-weight: 400;
      /* Align with inputs */
      color: var(--text-dark);
      transition: border-color .15s;
    }

    .input-field select {
      appearance: none;
      -webkit-appearance: none;
      background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9L12 15L18 9' stroke='%237a7a7a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 16px center;
      padding-right: 40px;
    }

    .input-field input:focus,
    .input-field select:focus {
      outline: none;
      border-color: var(--green);
    }

    .modal-footer {
      display: flex;
      justify-content: flex-end;
      gap: 16px;
      margin-top: 32px;
      align-items: center;
    }

    .sub-info {
      font-size: 11px;
      color: var(--text-muted);
      margin-right: auto;
    }

    .btn-save {
      background: rgba(116, 97, 125, 1);
      color: #fff;
      border: none;
      padding: 10px 32px;
      border-radius: 100px;
      font-weight: 600;
      font-size: 15px;
      cursor: pointer;
      transition: transform .1s, opacity .1s;
    }

    .btn-save:hover {
      transform: translateY(-1px);
    }

    .btn-save:active {
      transform: scale(0.98);
    }

    .btn-cancel {
      background: #e8e3d3;
      color: var(--text-dark);
      border: 1px solid #ccc7b8;
      padding: 10px 24px;
      border-radius: 100px;
      font-weight: 600;
      font-size: 15px;
      cursor: pointer;
    }

    .btn-cancel:hover {
      transform: translateY(-1px);
    }

    /* ─── Editable Fields ────────────────────────────────────────── */
    .editable-field {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      cursor: pointer;
      border-bottom: 1px dashed transparent;
      transition: background 0.2s, border-color 0.2s;
      padding: 2px 4px;
      margin: -2px -4px;
      border-radius: 4px;
    }

    .editable-field:hover {
      background: var(--green-light);
      border-bottom-color: var(--green);
    }

    .edit-input,
    .edit-select {
      font-family: inherit;
      font-size: 14px;
      padding: 4px 8px;
      border: 1px solid var(--green);
      border-radius: 4px;
      background: #fff;
      color: var(--text-dark);
      width: 100%;
      box-sizing: border-box;
    }

    .edit-actions {
      display: inline-flex;
      gap: 6px;
    }

    .btn-edit-save {
      font-size: 11px;
      padding: 2px 8px;
      background: var(--green);
      color: #fff;
      border: none;
      border-radius: 4px;
      cursor: pointer;
    }

    .btn-edit-cancel {
      font-size: 11px;
      padding: 2px 8px;
      background: var(--grey);
      color: var(--text-dark);
      border: none;
      border-radius: 4px;
      cursor: pointer;
    }

    /* ─── Copy Button ──────────────────────────────────────────── */
    .copy-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 24px;
      height: 24px;
      border: none;
      background: transparent;
      cursor: pointer;
      color: var(--text-muted);
      border-radius: 4px;
      margin-left: 4px;
      vertical-align: middle;
      transition: background .15s, color .15s;
    }

    .copy-btn:hover {
      background: var(--green-light);
      color: var(--green);
    }

    .copy-btn svg {
      width: 14px;
      height: 14px;
    }

    .link{
        color: var(--green);
        word-break: break-all;
    }

    #btn-add-participant{
        margin-right: -8px;
    }

    #scanner-modal .modal-content{
        width: 314px;
        padding: 32px;
    }

    #upload-modal .modal-content{
        width: 400px;
        padding: 32px;
    }

    #upload-modal .modal-content.upload_res{
        width: 600px;
    }

    #upload-modal .modal-content h2{
        margin-bottom: 16px;
    }

    #upload-modal .modal-content p{
        margin-bottom:16px;
        color:var(--text-muted);
        font-size:14px;
    }

    #upload-modal .modal-content .input-field{
        margin-bottom: 24px;
    }

    #upload-modal .modal-content .modal-footer{
        margin-top: 0;
    }

    .modal-grid .modal-col-5{
        grid-column: span 5;
    }

    .table-wrapper th.actions{
        width: 230px;
    }

    /* ─── Print & Business Card ────────────────────────────────── */
    /* ─── Print View (Business Card 85x55mm) ──────────────────── */
    /* @media print {
      body * {
        visibility: hidden;
      }

      #print-card,
      #print-card * {
        visibility: visible;
      }

      #print-card {
        position: absolute;
        left: 0;
        top: 0;
        width: 85mm;
        height: 55mm;
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: #fff;
      }

      @page {
        size: 85mm 55mm;
        margin: 0;
      }
    }

    #print-card {
      display: none;
      font-family: 'Inter', sans-serif;
      text-align: center;
      font-size: 24px;
      font-weight: 500;
      color: #000;
    } */

    @media print {
      body > *:not(#print-card) {
        display: none !important;
      }

      html, body {
        margin: 0 !important;
        padding: 0 !important;
        width: 85mm;
        height: 55mm;
        overflow: hidden;
      }

      @page {
        size: 85mm 55mm;
        margin: 0;
      }

      #print-card {
        display: flex !important;
        width: 85mm;
        height: 55mm;
        position: absolute;
        top: 0;
        left: 0;
        align-items: center;
        /* justify-content: center; */
        box-sizing: border-box;
        background: #fff;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
      }
    }

    #print-card {
      display: none;
      font-family: 'Inter', sans-serif;
      /* text-align: center; */
      font-size: 24px;
      font-weight: 400;
      color: #000;
    }

    #print-card .card-content {
      margin: 5mm;
    }

    #print-card .card-content span {
      font-weight: bold;
    }

    #print-card .card-content p {
      font-size: 21.6px;
    }


    /* ─── Responsive ───────────────────────────────────────────── */
    /* Tablet (≤ 1024px) */
    @media (max-width: 1024px) {
      .status-filter {
        max-width: 120px;
      }

      .search-wrap input {
        width: 180px;
      }

      th:nth-child(4),
      td:nth-child(4),
      th:nth-child(5),
      td:nth-child(5) {
        white-space: nowrap;
      }

      .row-actions .btn-sm{
        display: none;
      }
    }

    /* Tablet portrait (≤ 860px) */
    @media (max-width: 860px) {
      .detail-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .header {
        padding: 12px 12px;
        gap: 10px;
      }

      .search-wrap input {
        width: 150px;
      }

      .btn {
        padding: 6px 10px;
        font-size: 12px;
      }

      thead {
        top: 56px;
      }

      td,
      th {
        padding: 10px 10px;
      }
    }

    /* Mobile (≤ 640px) */
    @media (max-width: 640px) {
      .header {
        flex-wrap: wrap;
        gap: 8px;
        padding: 10px 12px;
      }

      .header .logo {
        order: 0;
      }

      .search-wrap {
        order: 2;
        flex: 1 1 100%;
        margin-left: 0;
      }

      .search-input-wrap {
        flex: 1 1 auto;
      }

      .status-filter {
        flex: 0 0 120px;
        max-width: 120px;
      }

      .search-wrap input {
        width: 100%;
      }

      .header-actions {
        order: 1;
        margin-left: auto;
        /* gap: 6px; */
      }

      #btn-add-participant{
        margin-left: auto;
        margin-right: 0;
      }

      /* Hide less-critical columns, keep email + actions visible */
      th:nth-child(3),
      td:nth-child(3),
      th:nth-child(4),
      td:nth-child(4),
      th:nth-child(5),
      td:nth-child(5),
      th:nth-child(6),
      td:nth-child(6) {
        display: none;
      }

      th:nth-child(7),
      td:nth-child(7) {
        display: table-cell;
      }

      .detail-grid {
        grid-template-columns: 1fr;
      }

      .btn-sm {
        padding: 5px 8px;
        font-size: 11px;
      }

      /* .row-actions {
        gap: 4px;
      } */
      .row-actions .btn-sm, .row-actions .btn-edit{
        display: none;
      }

      .detail-actions {
        gap: 6px;
      }

      .btn-detail {
        font-size: 11px;
        padding: 5px 10px;
      }

      thead {
        top: 126px;
      }
    }

    .hidden{
        display: none;
    }

    .disabled{
        pointer-events: none;
    }
