
/* Critical layout safeguards, before seller workspace HTML is painted. */
.ezcat-hub .ezcat-hub-header-actions svg{display:block!important;width:16px!important;height:16px!important;min-width:16px!important;max-width:16px!important;min-height:16px!important;max-height:16px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.ezcat-hub .ezcat-hub-header-actions a{display:inline-flex;align-items:center;gap:8px;text-decoration:none}
.ezcat-hub .ezcat-hub-header-actions a span{display:inline-block}

  .ezcat-hub{max-width:1200px;margin:24px auto;font-family:inherit;color:inherit}.ezcat-hub *{box-sizing:border-box}.ezcat-hub-header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:18px}.ezcat-hub-header h2{margin:0}.ezcat-hub-header p{margin:6px 0;color:#667085}.ezcat-hub-store,.ezcat-hub-actions a{display:inline-block;padding:11px 16px;border:1px solid #d0d5dd;border-radius:10px;text-decoration:none}.ezcat-hub-tabs{display:flex;gap:8px;overflow-x:auto;padding:6px 0 14px;margin-bottom:16px;scrollbar-width:thin}.ezcat-hub-tabs a{white-space:nowrap;border:1px solid #d0d5dd;border-radius:999px;padding:9px 14px;text-decoration:none;color:inherit;font-size:14px}.ezcat-hub-tabs a[aria-current]{background:#2563eb;border-color:#2563eb;color:#fff}.ezcat-hub-main{min-width:0}.ezcat-hub-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:12px}.ezcat-hub-card{border:1px solid #e0e3e7;border-radius:14px;padding:18px;background:#fff;color:#20262d;display:flex;flex-direction:column;gap:8px}.ezcat-hub-card strong{font-size:28px}.ezcat-hub-card span{font-size:13px;color:#667085}.ezcat-hub-actions{display:flex;flex-wrap:wrap;gap:10px}.ezcat-hub-note{font-size:13px;color:#667085;margin-top:20px}.ezcat-hub .ezcat-seller{margin:0;max-width:none}.ezcat-hub .ezcat-seller>h2{display:none}@media(max-width:600px){.ezcat-hub{padding:0 10px}.ezcat-hub-header h2{font-size:23px}.ezcat-hub-tabs{position:relative}.ezcat-hub-card{padding:12px}.ezcat-hub .ezcat-seller table{font-size:12px}}

  .ezcat-hub-header-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.ezcat-hub-logout{display:inline-block;padding:11px 16px;border:1px solid #f0d4d4;border-radius:10px;background:#fff;color:#a12d2d!important;text-decoration:none;font-weight:650}.ezcat-hub-logout:hover{background:#fff0f0}@media(max-width:650px){.ezcat-hub-header-actions{width:100%}.ezcat-hub-header-actions a{flex:1;text-align:center;min-width:120px}}
  /* v0.7.1 seller workspace design refresh */
  .ezcat-hub{background:#f7f9fb;border:1px solid #e7ebef;border-radius:18px;padding:28px;box-shadow:0 12px 35px rgba(20,45,70,.05);color:#223047}
  .ezcat-hub-header{padding-bottom:20px;border-bottom:1px solid #e4e9ee;margin-bottom:22px}
  .ezcat-hub-header h2{font-size:30px;font-weight:750;letter-spacing:-.025em;color:#1b3043}
  .ezcat-hub-store{background:#fff;color:#2563eb;font-weight:650}
  .ezcat-hub-tabs{gap:10px;margin-bottom:24px}
  .ezcat-hub-tabs a{background:#fff;border-color:#dce4e9;font-weight:600;padding:11px 16px;text-decoration:none}
  .ezcat-hub-tabs a[aria-current]{background:#2563eb;box-shadow:0 3px 9px rgba(18,108,69,.18)}
  .ezcat-hub-main>h3{font-size:20px;color:#223047;margin:22px 0 15px}
  .ezcat-hub-cards{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-bottom:26px}
  .ezcat-hub-card{border-color:#e5ebef;box-shadow:0 2px 7px rgba(20,40,60,.025);padding:20px}
  .ezcat-hub-card:before{content:"";height:5px;width:32px;background:#2563eb;border-radius:8px;margin-bottom:7px}
  .ezcat-hub-card strong{font-size:32px;color:#1c2d40}
  .ezcat-hub-actions a{background:#fff;color:#2563eb;font-weight:600;border-color:#dce4e9}
  .ezcat-hub-actions a:hover{background:#eff6ff;border-color:#2563eb}
  .ezcat-hub .ezcat-seller,.ezcat-hub .ezcat-products{background:#fff;padding:18px;border:1px solid #e6ebef;border-radius:14px}
  .ezcat-hub .ezcat-seller table,.ezcat-hub .ezcat-products table{width:100%;border-collapse:collapse}
  .ezcat-hub .ezcat-seller th,.ezcat-hub .ezcat-products th{background:#f3f7f8;color:#41576b;font-size:12px}
  .ezcat-hub .ezcat-seller td,.ezcat-hub .ezcat-products td{font-size:13px}
  .ezcat-hub .ezcat-stats>div{background:#f9fbfc;border-color:#e5ebef}
  .ezcat-hub .ezcat-filters{padding:12px;background:#f9fbfc;border-radius:10px}
  .ezcat-hub .ezcat-seller input,.ezcat-hub .ezcat-seller select,.ezcat-hub .ezcat-products input,.ezcat-hub .ezcat-products select,.ezcat-hub .ezcat-products textarea{border:1px solid #d2dce3;border-radius:7px}
  @media(max-width:1050px){.ezcat-hub-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
  @media(max-width:650px){.ezcat-hub{padding:15px}.ezcat-hub-header h2{font-size:24px}.ezcat-hub-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.ezcat-hub-card{padding:13px}.ezcat-hub-card strong{font-size:26px}.ezcat-hub .ezcat-seller{overflow-x:auto}.ezcat-hub .ezcat-seller table{min-width:720px}.ezcat-hub .ezcat-products-table{overflow-x:auto}.ezcat-hub .ezcat-seller,.ezcat-hub .ezcat-products{padding:12px}}

/* v0.7.2: mobile UX; preserve desktop table and all order actions */
.ezcat-hub .ezcat-order-status{display:inline-flex;align-items:center;padding:5px 10px;border-radius:100px;background:#e9eef4;color:#344054;font-size:12px;font-weight:650;white-space:nowrap}
.ezcat-hub .ezcat-order-status-completed{background:#e5f6ec;color:#2563eb}
.ezcat-hub .ezcat-order-status-processing{background:#e6f0ff;color:#245c99}
.ezcat-hub .ezcat-order-status-pending,.ezcat-hub .ezcat-order-status-on-hold{background:#fff2d6;color:#94620a}
@media(max-width:650px){
.ezcat-hub{max-width:100%;margin:8px auto;padding:14px 12px;border-radius:13px;overflow:hidden}
.ezcat-hub-header{align-items:center;flex-direction:row;flex-wrap:nowrap;gap:8px;padding-bottom:14px;margin-bottom:12px}
.ezcat-hub-header h2{font-size:21px;line-height:1.2}
.ezcat-hub-header p{font-size:12px;line-height:1.45}
.ezcat-hub-store{flex:none;padding:9px 10px;font-size:12px;white-space:nowrap}
.ezcat-hub-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;gap:8px;padding:0;margin:0 0 20px;scrollbar-width:none}
.ezcat-hub-tabs a{display:flex;justify-content:center;align-items:center;min-width:0;white-space:normal;text-align:center;line-height:1.25;padding:11px 6px;font-size:12px;border-radius:9px;min-height:44px}
.ezcat-hub-main>h3{margin:18px 0 12px}
.ezcat-hub-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.ezcat-hub-card{padding:13px;min-height:106px}
.ezcat-hub-card strong{font-size:27px}
.ezcat-hub-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.ezcat-hub-actions a{padding:12px 8px;display:flex;align-items:center;justify-content:center;text-align:center;font-size:12px;min-height:46px}
.ezcat-hub .ezcat-seller{background:transparent;border:0;padding:0;overflow:visible;max-width:100%;min-width:0}
.ezcat-hub .ezcat-seller>p{font-size:13px;line-height:1.5}
.ezcat-hub .ezcat-seller>p:has(a[href*="ezcat"]){display:none}
.ezcat-hub .ezcat-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:15px 0}
.ezcat-hub .ezcat-stats>div{padding:13px;min-width:0}
.ezcat-hub .ezcat-stats strong{font-size:24px}
.ezcat-hub .ezcat-filters{display:grid;grid-template-columns:1fr;gap:9px;padding:12px;margin:16px 0;background:#fff;border:1px solid #e6ebef;border-radius:12px}
.ezcat-hub .ezcat-filters input,.ezcat-hub .ezcat-filters select,.ezcat-hub .ezcat-filters button{width:100%;max-width:none;min-height:44px;margin:0;font-size:14px}
.ezcat-hub .ezcat-orders-wrap{overflow:visible!important;width:100%}
.ezcat-hub .ezcat-orders-table{min-width:0!important;width:100%!important;display:block;border:0;background:transparent}
.ezcat-hub .ezcat-orders-table thead{display:none}
.ezcat-hub .ezcat-orders-table tbody{display:flex;flex-direction:column;gap:13px}
.ezcat-hub .ezcat-orders-table tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px 12px;padding:15px;background:#fff;border:1px solid #e0e6ec;border-radius:13px;box-shadow:0 2px 7px rgba(15,23,42,.035);width:100%;min-width:0}
.ezcat-hub .ezcat-orders-table td{display:flex;flex-direction:column;gap:4px;min-width:0;overflow-wrap:anywhere;word-break:normal;border:0!important;padding:0!important;font-size:13px;line-height:1.45}
.ezcat-hub .ezcat-orders-table td:before{content:attr(data-label);font-size:11px;font-weight:600;letter-spacing:.02em;color:#64748b}
.ezcat-hub .ezcat-orders-table td:nth-child(1){grid-column:1}
.ezcat-hub .ezcat-orders-table td:nth-child(2){grid-column:2}
.ezcat-hub .ezcat-orders-table td:nth-child(3){grid-column:1}
.ezcat-hub .ezcat-orders-table td:nth-child(4){grid-column:2}
.ezcat-hub .ezcat-orders-table td:nth-child(5),.ezcat-hub .ezcat-orders-table td:nth-child(6),.ezcat-hub .ezcat-orders-table td:nth-child(7){grid-column:1/-1}
.ezcat-hub .ezcat-orders-table td:nth-child(6),.ezcat-hub .ezcat-orders-table td:nth-child(7){padding-top:10px!important;border-top:1px solid #eef1f4!important}
.ezcat-hub .ezcat-order-number,.ezcat-hub .ezcat-order-amount{font-weight:750;font-size:17px!important;color:#182e41}
.ezcat-hub .ezcat-customer-details{min-width:0}
.ezcat-hub .ezcat-detail-body{min-width:0;max-width:100%;font-size:13px}
.ezcat-hub .ezcat-order-actions{display:block!important}
.ezcat-hub .ezcat-order-actions:before{display:block;margin-bottom:7px}
.ezcat-hub .ezcat-order-actions a{display:inline-flex;align-items:center;margin:4px 6px 4px 0;padding:8px 10px;border:1px solid #dce4e9;border-radius:7px;text-decoration:none;font-size:12px;min-height:40px}
.ezcat-hub .ezcat-order-actions form{display:inline-block!important;margin:4px 6px 4px 0!important}
.ezcat-hub .ezcat-order-actions button{min-height:40px;padding:8px 13px;border-radius:7px}
.ezcat-hub .ezcat-products{max-width:100%;overflow:hidden}
.ezcat-hub input,.ezcat-hub select,.ezcat-hub textarea{max-width:100%}
}
  
/* v0.7.3 Mobile overflow and product management improvements */
.ezcat-hub-need-login{max-width:500px;margin:40px auto;padding:30px;border:1px solid #e3e8ec;border-radius:15px;text-align:center}.ezcat-hub-need-login a{display:inline-block;background:#2563eb;color:#fff;padding:12px 20px;border-radius:9px;text-decoration:none}
@media(max-width:760px){
.ezcat-hub,.ezcat-hub-main,.ezcat-hub .ezcat-products,.ezcat-hub .ezcat-seller{min-width:0!important;max-width:100%!important;width:100%!important}
.ezcat-hub .ezcat-products,.ezcat-hub .ezcat-seller{padding:14px!important;overflow:hidden!important}
.ezcat-hub .ezcat-products form,.ezcat-hub .ezcat-products fieldset,.ezcat-hub .ezcat-products form>div,.ezcat-hub .ezcat-products p{max-width:100%!important;min-width:0!important;width:100%!important;box-sizing:border-box!important}
.ezcat-hub .ezcat-products input:not([type=checkbox]):not([type=radio]),.ezcat-hub .ezcat-products select,.ezcat-hub .ezcat-products textarea,.ezcat-hub .ezcat-products button,.ezcat-hub .ezcat-products input[type=submit],.ezcat-hub .ezcat-seller input:not([type=checkbox]):not([type=radio]),.ezcat-hub .ezcat-seller select,.ezcat-hub .ezcat-seller textarea{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
.ezcat-hub .ezcat-products input[type=file]{font-size:13px!important;overflow:hidden}
.ezcat-hub .ezcat-products label,.ezcat-hub .ezcat-seller label{overflow-wrap:anywhere}
.ezcat-hub .ezcat-products table{display:block!important;width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch}
.ezcat-hub .ezcat-products table th,.ezcat-hub .ezcat-products table td{font-size:12px!important;padding:9px 7px!important}
.ezcat-hub .ezcat-products table td:last-child a,.ezcat-hub .ezcat-products table td:last-child button{display:inline-block!important;min-height:36px;line-height:1.3}
.ezcat-hub .ezcat-hub-card{min-width:0!important}
.ezcat-hub .ezcat-hub-tabs a{text-decoration:none!important}
.ezcat-hub .ezcat-order-actions a{max-width:100%;white-space:normal;overflow-wrap:anywhere}
}

/* v0.7.79 — consistent seller workspace checkbox controls */
.ezcat-hub input[type="checkbox"]:not(.ezcat-setting-toggle input):not(.ezcat-privacy){
 -webkit-appearance:none!important;appearance:none!important;display:inline-grid!important;place-content:center!important;
 width:20px!important;height:20px!important;min-width:20px!important;min-height:20px!important;
 margin:0!important;padding:0!important;vertical-align:middle!important;flex:0 0 20px!important;
 border:2px solid #94a3b8!important;border-radius:6px!important;background:#fff!important;
 box-shadow:none!important;cursor:pointer!important;transition:background-color .16s,border-color .16s,box-shadow .16s!important;
}
.ezcat-hub input[type="checkbox"]:not(.ezcat-setting-toggle input):not(.ezcat-privacy):checked{
 background:#2563eb!important;border-color:#2563eb!important;
}
.ezcat-hub input[type="checkbox"]:not(.ezcat-setting-toggle input):not(.ezcat-privacy):checked::after{
 content:""!important;display:block!important;width:9px!important;height:5px!important;
 border:0!important;border-left:2px solid #fff!important;border-bottom:2px solid #fff!important;
 transform:translateY(-1px) rotate(-45deg)!important;
}
.ezcat-hub input[type="checkbox"]:not(.ezcat-setting-toggle input):not(.ezcat-privacy):focus-visible{
 outline:3px solid #93c5fd!important;outline-offset:3px!important;
}
.ezcat-hub .ezcat-payment-methods label,
.ezcat-hub .ezcat-payment-settings p>label:has(input[type="checkbox"]),
.ezcat-hub .ezcat-qr-remove,
.ezcat-hub fieldset>label:has(input[type="checkbox"]){
 display:flex!important;align-items:center!important;gap:12px!important;min-height:44px;
 padding:10px 12px!important;margin:5px 0!important;cursor:pointer!important;
 border:1px solid #e2e8f0;border-radius:10px;background:#fff;
 line-height:1.4!important;box-sizing:border-box!important;
}
.ezcat-hub .ezcat-payment-methods label:has(input:checked),
.ezcat-hub .ezcat-payment-settings p>label:has(input:checked),
.ezcat-hub .ezcat-qr-remove:has(input:checked),
.ezcat-hub fieldset>label:has(input:checked){border-color:#93c5fd;background:#eff6ff}
.ezcat-hub .ezcat-payment-methods label:hover,
.ezcat-hub .ezcat-payment-settings p>label:has(input[type="checkbox"]):hover,
.ezcat-hub .ezcat-qr-remove:hover,
.ezcat-hub fieldset>label:has(input[type="checkbox"]):hover{border-color:#93c5fd}
@media(max-width:600px){.ezcat-hub .ezcat-payment-methods label,.ezcat-hub fieldset>label:has(input[type="checkbox"]){padding:12px!important}}

  /* v0.8.76: compact, consistent header actions; scoped to Seller Workspace. */
  .ezcat-hub .ezcat-hub-header-actions {
    display:flex;align-items:center;justify-content:flex-end;gap:10px;
    flex-wrap:wrap;width:auto;margin-left:auto;
  }
  .ezcat-hub .ezcat-hub-header-actions a.ezcat-hub-store,
  .ezcat-hub .ezcat-hub-header-actions a.ezcat-hub-logout {
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    flex:0 0 auto!important;gap:8px!important;min-width:0!important;
    min-height:40px!important;padding:10px 15px!important;
    border-radius:10px!important;border:1px solid #d9e3ed!important;
    background:#fff!important;color:#344054!important;
    text-decoration:none!important;font-size:13px!important;font-weight:650!important;
    line-height:1.2!important;white-space:nowrap!important;
    box-shadow:0 1px 2px rgba(16,24,40,.035)!important;
    transition:background .15s ease,border-color .15s ease,box-shadow .15s ease;
  }
  .ezcat-hub .ezcat-hub-header-actions a.ezcat-hub-store {
    background:#2563eb!important;border-color:#2563eb!important;color:#fff!important;
  }
  .ezcat-hub .ezcat-hub-header-actions a.ezcat-hub-store:hover {
    background:#1d4ed8!important;border-color:#1d4ed8!important;
  }
  .ezcat-hub .ezcat-hub-header-actions a.ezcat-hub-logout:hover {
    background:#f8fafc!important;border-color:#aab9ca!important;
  }
  .ezcat-hub .ezcat-hub-header-actions a:focus-visible {
    outline:3px solid #93c5fd!important;outline-offset:2px!important;
  }
  .ezcat-hub .ezcat-hub-header-actions svg {
    display:block!important;width:16px!important;height:16px!important;
    min-width:16px!important;max-width:16px!important;max-height:16px!important;
    fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;
    stroke-linecap:round!important;stroke-linejoin:round!important;
  }
  @media(max-width:650px) {
    .ezcat-hub .ezcat-hub-header {
      display:flex!important;flex-direction:column!important;align-items:stretch!important;
      gap:12px!important;
    }
    .ezcat-hub .ezcat-hub-header-actions {
      width:100%!important;margin:0!important;display:grid!important;
      grid-template-columns:1fr 1fr!important;gap:8px!important;
    }
    .ezcat-hub .ezcat-hub-header-actions a.ezcat-hub-store,
    .ezcat-hub .ezcat-hub-header-actions a.ezcat-hub-logout {
      width:100%!important;min-height:42px!important;padding:10px 8px!important;
    }
  }


/* EZCatalog v0.9.7: Seller Workspace Connected Apps. */
.ezcat-hub-connected-apps{margin:12px 0 16px;padding:12px;border:1px solid #dae4f0;background:#f8fbff;border-radius:14px;min-width:0}
.ezcat-hub-connected-title{display:block;color:#65738a;font-size:10px;font-weight:800;letter-spacing:.09em;margin:0 0 10px}
.ezcat-connected-app-link{display:flex;align-items:center;gap:10px;min-height:46px;padding:9px 11px;border-radius:11px;background:#fff;border:1px solid #e3e9f2;text-decoration:none!important;color:#172842!important;box-sizing:border-box;min-width:0}
.ezcat-connected-app-link:hover,.ezcat-connected-app-link:focus-visible{border-color:#2563eb;color:#1d4ed8!important;box-shadow:0 0 0 2px #dbeafe}
.ezcat-connected-app-icon{display:grid;place-items:center;flex:none;background:#eaf1ff;color:#2563eb;border-radius:10px;width:36px;height:36px}
.ezcat-connected-app-icon svg{width:21px;height:21px}
.ezcat-connected-app-copy{display:flex;flex-direction:column;gap:2px;min-width:0;line-height:1.25}
.ezcat-connected-app-copy strong{font-size:13px;font-weight:750}
.ezcat-connected-app-copy small{font-size:11px;color:#66768c;overflow-wrap:anywhere}
.ezcat-connected-app-external{font-size:17px;margin-left:auto;color:#64748b}
@media(max-width:430px){.ezcat-hub-connected-apps{padding:10px}.ezcat-connected-app-link{padding:9px;min-height:48px}}
