/* Admin SPA Styles */
.wpsc-admin-wrap .wpsc-tabs {
  margin-bottom: 1em;
}
.table tbody td[rowspan],
.content table tbody td[rowspan] {
  border-bottom: 1px solid #adadad;
}
.wpsc-delete-class, .wpsc-delete-type
{
  background: white !important;
  font-size: 14px !important;
}

.wpsc-project-config
{
  padding: 20px;
  border: 1px solid black;
  border-radius: 20px;
  margin: 20px;
}

.wpsc-dims-manager ul
{
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.wpsc-dims-manager ul li
{
flex: 1 1 calc(25% - 10px);
}

.wpsc-dims-manager
{
  
display: flex;
  
width: 100%;
  
justify-content: center;
  
gap: 30px;
}
.wpsc-dims-manager> div
{

width: 50%;

padding: 40px;

border: 1px solid black;

border-radius: 20px;

margin-bottom: 20px;
}

.wpsc-price-ex-input:placeholder-shown, .wpsc-price-inc-input:placeholder-shown
{
  
background: gray;
}
.wpsc-admin-wrap .wpsc-tabs .wpsc-tab {
  background: #e0e0e0;
  border: 1px solid #ccc;
  border-radius: 4px 4px 0 0;
  padding: 6px 12px;
  margin-right: 4px;
  cursor: pointer;
}
.wpsc-admin-wrap .wpsc-tabs .wpsc-tab.active {
  background: #fff;
  border-bottom: 1px solid #fff;
}
.wpsc-panel {
  display: none;
}
.wpsc-service-item {
  border: 1px solid #ddd;
  margin-bottom: 8px;
}
.wpsc-service-header {
  background: #f7f7f7;
  padding: 8px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.wpsc-service-header strong {
  font-size: 1.1em;
}
.wpsc-service-header button {
  background: #dc3545;
  color: #fff;
  border: none;
  padding: 4px 8px;
  font-size: 0.9em;
  cursor: pointer;
}
.wpsc-service-body {
  display: none;
  padding: 8px;
  background: #fff;
}
.wpsc-service-details {
  margin-bottom: 8px;
}
.wpsc-service-details label {
  display: block;
  margin: 4px 0;
}
.wpsc-service-details input {
  width: 100%;
  max-width: 400px;
  padding: 4px;
}
.wpsc-shortcodes-hint code {
  background: #eef;
  padding: 2px 4px;
  margin-right: 4px;
  display: inline-block;
}
.wpsc-table-edit {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1em;
}
.wpsc-table-edit th, .wpsc-table-edit td {
  border: 1px solid #ccc;
  padding: 4px 6px;
  text-align: left;
}
.wpsc-table-edit th {
  background: #f0f0f0;
}
.wpsc-table-edit input[type=text], 
.wpsc-table-edit input[type=number] {
  width: 100%;
  box-sizing: border-box;
  padding: 2px;
  border: 1px solid #ccc;
}
.wpsc-add-service, .wpsc-import-section {
  background: #f9f9f9;
  border: 1px solid #ddd;
  padding: 8px;
  margin-bottom: 12px;
}
.wpsc-add-service h2, .wpsc-import-section h2 {
  margin-top: 0;
}
.wpsc-add-service input, .wpsc-add-service select {
  margin-right: 4px;
}
.wpsc-classes-types {
  display: flex;
  gap: 20px;
  margin-bottom: 8px;
}
.wpsc-classes, .wpsc-types {
  flex: 1;
}
.wpsc-classes h5, .wpsc-types h5 {
  margin: 0 0 4px 0;
}
.wpsc-classes ul, .wpsc-types ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.wpsc-classes li, .wpsc-types li {
  background: #eef;
  margin: 2px 0;
  padding: 2px 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.wpsc-classes li button, .wpsc-types li button {
  background: #dc3545;
  color: #fff;
  border: none;
  font-size: 0.8em;
  cursor: pointer;
}
.postcode-table th {
  position: sticky;
  top: 0;
  background: #f0f0f0;
}
.postcode-table tbody tr:nth-child(even) td {
  background: #fafafa;
}
.postcode-table td {
  text-align: center;
}
.postcode-table select {
  width: 100%;
}
.wpsc-logs-admin .logs-table {
  width: 100%;
  border-collapse: collapse;
}
.wpsc-logs-admin .logs-table th, .wpsc-logs-admin .logs-table td {
  border: 1px solid #ccc;
  padding: 4px 6px;
}
.wpsc-logs-admin .logs-table th {
  background: #f0f0f0;
}
