/* JoeScuba Used Gear Market - minimal styling */
.jsgm-box{
  border:1px solid #dcdcdc;
  padding:16px;
  border-radius:8px;
  background:#fff;
}
.jsgm-form .jsgm-field{ margin-bottom: 12px; }
.jsgm-form label{ display:block; font-weight:600; margin-bottom:6px; }
.jsgm-form input[type="text"],
.jsgm-form input[type="email"],
.jsgm-form textarea,
.jsgm-form select{
  width:100%;
  max-width:100%;
  padding:8px;
  border:1px solid #cfcfcf;
  border-radius:6px;
}
.jsgm-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:12px;
}
.jsgm-grid.jsgm-grid-cols-1{ grid-template-columns: 1fr; }
.jsgm-grid.jsgm-grid-cols-2{ grid-template-columns: repeat(2, minmax(0,1fr)); }
.jsgm-grid.jsgm-grid-cols-3{ grid-template-columns: repeat(3, minmax(0,1fr)); }
@media (max-width: 900px){
  .jsgm-grid{ grid-template-columns: 1fr; }
}
.jsgm-item{
  border:1px solid #e5e5e5;
  padding:12px;
  border-radius:8px;
  margin: 12px 0;
  background:#fafafa;
}
.jsgm-thread{
  margin-top: 10px;
}
.jsgm-msg{
  padding:10px;
  border-radius:8px;
  margin:8px 0;
  border:1px solid #e5e5e5;
  background:#fff;
}
.jsgm-msg-admin{ border-left:4px solid #2271b1; }
.jsgm-msg-user{ border-left:4px solid #46b450; }
.jsgm-msg-meta{ font-size: 12px; opacity: .85; margin-bottom:6px; display:flex; justify-content:space-between; gap:10px; }
.jsgm-ts{ white-space: nowrap; }
.jsgm-badge{
  display:inline-block;
  padding:2px 8px;
  border-radius:999px;
  font-size:12px;
  border:1px solid #d0d0d0;
  background:#f3f3f3;
}
.jsgm-offer-card{
  border:1px solid #e5e5e5;
  padding:12px;
  border-radius:8px;
  margin:12px 0;
}
.jsgm-offer-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
}
.jsgm-items-summary, .jsgm-price-table{
  width:100%;
  border-collapse: collapse;
  margin-top: 10px;
}
.jsgm-items-summary{ table-layout: fixed; }
.jsgm-items-summary th:nth-child(1), .jsgm-items-summary td:nth-child(1){ width: 60%; }
.jsgm-items-summary th:nth-child(2), .jsgm-items-summary td:nth-child(2){ width: 20%; }
.jsgm-items-summary th:nth-child(3), .jsgm-items-summary td:nth-child(3){ width: 20%; }
.jsgm-items-summary th, .jsgm-items-summary td,
.jsgm-price-table th, .jsgm-price-table td{
  border:1px solid #e5e5e5;
  padding:8px;
  vertical-align:top;
}
.jsgm-user-reply textarea{ width:100%; margin-top:10px; }
.jsgm-send-status{ margin-top:6px; font-size:12px; opacity:.85; }
.jsgm-photo-row{ display:flex; flex-wrap:wrap; gap:8px; margin-top:8px; }
.jsgm-photo img{ border-radius:6px; border:1px solid #e5e5e5; }
.jsgm-admin-table .jsgm-admin-subrow td{ background:#fcfcfc; }
