.motorbike-preview{
 margin-top: 15px;
 padding: 20px;
 border: 1px solid #e8e8e8;
 background-color: white;
}

/* MY SALES TABLE  */
.filter-action-wrapper{
  align-items: center;
}

#guarantee-activation-form .form-input-field{
  padding: 0.175rem 0.75rem;
}

/* Κρύβει edit/remove μόνο στο πεδίο Άδεια Κυκλοφορίας */
.acf-field[data-key="field_69835c4073ec9"] .acf-actions,
.acf-field-69835c4073ec9 .acf-actions {
  display: none !important;
}

.file_attachment{
  color: #1D2327;
  display: flex;
  gap: 10px;
  align-items: center;
}

.file_attachment:hover{
  color: #12649b;
}

/* Guarantee activation Preview */
.guarantee-activation-searchinput{
  display: flex;
  align-items: center;
  gap: 10px;
}

/* CATEGORY PARTS CSS */
.gs-cat-grid{
  display: grid;
  grid-template-columns: 1fr; /* ή 2 στήλες: repeat(2, 1fr) */
  gap: 8px;
}

.gs-cat-card{
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  border: 1px solid #d0d0d0;
  background: #fff;
  padding: 8px;
  border-radius: 8px;
  text-align: left;
  cursor: pointer;
}

.gs-cat-card:hover{
  background: #f7f7f7;
}

.gs-cat-thumb{
  width: 125px;
  height: 125px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #e5e5e5;
  flex: 0 0 auto;
}

.gs-cat-meta{
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.gs-cat-name{
  font-weight: 700;
}

#gs-cat-wrap{
  min-height: 240px;      
  max-height: 520px;      
  overflow-y: auto;       
  overflow-x: hidden;     
  padding-right: 6px;    
}

#gs-parts-col{
  display: flex;
  flex-direction: column;
  min-height: 240px;
  max-height: 620px;              
}

#gs-parts-results{
  flex: 1 1 auto;                 
  overflow-y: auto;              
  overflow-x: hidden;
  min-height: 0;                
  padding-right: 6px;
}

/* pager να μένει κάτω */
#gs-parts-pager{
  flex: 0 0 auto;
  margin-top: 10px;
}

.gs-acf-filelist { margin-top:10px; display:flex; flex-direction:column; gap:10px; }
  .gs-acf-file {
    display:flex; gap:12px; align-items:flex-start;
    border:1px solid #d0d0d0; padding:10px; background:#fff;
  }
  .gs-acf-thumb {
    width:60px; height:60px; border:1px solid #ddd; background:#f6f6f6;
    display:flex; align-items:center; justify-content:center; overflow:hidden;
  }
  .gs-acf-thumb img { width:100%; height:100%; object-fit:cover; display:block; }
  .gs-acf-meta { font-size:13px; line-height:1.35; flex:1; }
  .gs-acf-name { font-weight:700; margin-bottom:2px; }
  .gs-acf-muted { color:#777; }
  .gs-acf-actions { display:flex; gap:8px; align-items:center; }
  .gs-acf-remove { border:1px solid #ccc; background:#fff; padding:4px 8px; cursor:pointer; }
  .gs-acf-ok { color:#1a7f37; font-weight:700; }

    .gs-history-table{
    width:100%;
    border-collapse:collapse;
    font-size:14px;
    border:1px solid #cfcfcf;
    background:#fff;
  }
  .gs-history-table thead th{
    background:#e9eef7; /* κοντά στο screenshot */
    border:1px solid #cfcfcf;
    padding:10px 8px;
    font-weight:700;
    text-align:center;
    vertical-align:middle;
  }
  .gs-history-table tbody td{
    border:1px solid #cfcfcf;
    padding:10px 8px;
    vertical-align:middle;
  }
  .gs-history-table .gs-empty{
    text-align:center;
    color:#666;
    padding:14px 8px;
  }

  .gs-parts-toggle{
    width:34px;
    height:28px;
    border:1px solid #bfc7d9;
    background:#f6f8ff;
    border-radius:6px;
    cursor:pointer;
    font-weight:700;
    line-height:1;
  }

  .gs-parts-row td{
    background:#f9fafc;
    padding:12px;
  }

  .gs-parts-table{
    width:100%;
    border-collapse:collapse;
    border:1px solid #cfcfcf;
    background:#fff;
    font-size:13px;
  }
  .gs-parts-table thead th{
    background:#f1f3f7;
    border:1px solid #cfcfcf;
    padding:8px;
    text-align:center;
    font-weight:700;
  }
  .gs-parts-table tbody td{
    border:1px solid #cfcfcf;
    padding:8px;
  }

.gs-parts-actions { margin-top: 6px; }
.gs-parts-toggle { display: inline-flex; align-items: center; gap: 6px; width: 100%; }
.gs-parts-icon { line-height: 1; }
.gs-parts-collapse { margin-top: 6px; }
