  .sd-accordion {
    margin: 10px auto;
    background: #fff;
    border: 1px solid #dfe3e8;
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  }
 
  .sd-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 18px;
    background: #374aa9;
    border-bottom: 1px solid #e5e8ec;
    cursor: pointer;
    user-select: none;
  }
 
  .sd-header .sd-icon {
    color: #8a94a6;
    font-size: 15px;
  }
 
  .sd-header .sd-title {
    font-weight: 600;
    font-size: 14px;
    color: #ffffff;
  }
 
  .sd-header .sd-count {
    font-size: 13px;
    color: #dadce1;
  }
 
  .sd-header .sd-toggle {
    margin-left: auto;
    color: #ffffff;
    font-size: 12px;
    transition: transform 0.2s ease;
  }
 
  .sd-accordion.collapsed .sd-toggle {
    transform: rotate(-90deg);
  }
 
  .sd-accordion.collapsed .sd-body {
    display: none;

  }
 
  .sd-body {
    padding: 18px;
    background: #eff7ff;
  }
 
  .sd-section-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #9aa3b0;
    margin-bottom: 10px;
  }

  .sd-staff-hint {
    font-size: 11px;
    color: #8a94a6;
    margin: 2px 0 10px;
    font-style: italic;
  }

  .sd-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
 
  .sd-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 10px;
    border: 1px solid #d7dbe0;
    background: #fff;
    font-size: 13px;
    font-weight: 500;
    color: #4a5160;
    transition: background 0.2s ease-in;
  }
  /* .sd-pill:hover{
    background: #ededed;
  } */
 
  .sd-pill .sd-pill-icon {
    font-size: 13px;
  }
 
  .sd-pill.done {
    color: #2f6f3e;
  }
 
  .sd-pill.done .sd-pill-icon {
    color: #7a8290;
  }
 
  .sd-pill.pending {
    background: #fff4e0;
    border-color: #f3d9a8;
    color: #b9761f;
  }
 
  .sd-pill.pending .sd-pill-icon {
    color: #b9761f;
  }
 
  .sd-divider {
    border: none;
    border-top: 1px dashed #dfe3e8;
    margin: 18px 0;
  }
 
  .sd-section-label-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
  }
 
  .sd-section-label-row .sd-section-label {
    margin-bottom: 0;
  }
 
  .sd-badge {
    font-size: 11px;
    font-weight: 600;
    color: #3766c9;
    background: #e8effc;
    padding: 2px 9px;
    border-radius: 10px;
  }
 
  .sd-pill.uploaded {
    background: #eaf9e9;
    border-color: #b7e3b4;
    color: #2f6f3e;
  }
 
  .sd-pill.uploaded .sd-pill-icon {
    color: #2f6f3e;
  }
 
  .sd-pill.uploaded-soft {
    background: #f2fbf1;
    border-color: #cfeccd;
    color: #6fa66f;
  }
 
  .sd-pill.uploaded-soft .sd-pill-icon {
    color: #6fa66f;
  }

.sd-pill.to-upload {
	background: #fff;
	border: 1px dashed #b9c6f2;    /* dashed hints "add something here" */
	color: #3766c9;
	cursor: pointer;
}
.sd-pill.to-upload:hover {
	background: #eef2fd;
	border-style: solid;
}
.sd-pill.to-upload .sd-pill-icon {
	color: #3766c9;
}
 
  .sd-pill.disabled {
    background: #fbfbfc;
    border-color: #e8eaed;
    color: #c3c8d1;
  }
 
  .sd-pill.disabled .sd-pill-icon {
    color: #d6dae0;
  }
 
  .sd-pill.uploaded, .sd-pill.uploaded-soft, .sd-pill.disabled {
    cursor: pointer;
  }
 
  .sd-upload-panel {
    display: none;
    max-width: 900px;
    margin-top: 14px;
    border: 2px dashed #b9c6f2;
    background: #eef2fd;
    border-radius: 8px;
    padding: 14px;
  }
 
  .sd-upload-panel.show {
    display: block;
  }
 
  .sd-upload-title {
    color: #c93737;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 12px;
  }

.sd-loading {
	padding: 12px 4px;
	color: #8a94a6;
	font-size: 13px;
	font-style: italic;
}
.sd-loading.sd-error {
	color: #c0392b;
	font-style: normal;
}
 
  .sd-dropzone {
    background: #fff;
    border: 1.5px dashed #cfd6e6;
    border-radius: 6px;
    padding: 28px 16px;
    text-align: center;
    font-size: 13px;
    color: #4a5160;
    cursor: pointer;
  }
 
  .sd-dropzone.dragover {
    background: #f5f8ff;
    border-color: #7c96e8;
  }
 
  .sd-dropzone .sd-dz-icon {
    margin-right: 4px;
  }
 
  .sd-dropzone .sd-dz-browse {
    color: #3766c9;
    font-weight: 600;
    text-decoration: none;
  }
 
  .sd-dropzone .sd-dz-sub {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    color: #9aa3b0;
  }
 
  .sd-upload-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 14px;
  }
 
  .sd-btn {
    font-size: 13px;
    font-weight: 500;
    padding: 7px 16px;
    border-radius: 6px;
    cursor: pointer;
    border: 1px solid #d7dbe0;
    background: #fff;
    color: #4a5160;
  }
 
  .sd-btn.sd-btn-delete {
    border-color: #eab8b8;
    color: #c0392b;
  }
 
  .sd-btn.sd-btn-upload {
    background: #6a7fdb;
    border-color: #6a7fdb;
    color: #fff;
  }
.sd-pill.sd-pill-stacked {
	flex-direction: column;
	align-items: flex-start;
	border-radius: 12px;
	padding: 8px 14px;
	gap: 6px;
}

.sd-pill-top {
	display: flex;
	align-items: center;
	gap: 6px;
}

.sd-pill-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 4px;
}

.sd-act {
	font-size: 11px;
	text-decoration: none;
	color: #3766c9;
	cursor: pointer;
	transition: color 0.15s ease;
}
.sd-act:hover {
	text-decoration: underline;
}

.sd-act-danger {
	color: #c0392b;
}

/* subtle dot separator between action links */
.sd-pill-actions .sd-act + .sd-act::before {
	content: "·";
	color: #c3c8d1;
	margin-right: 10px;
	text-decoration: none;
	display: inline-block;
}
.sd-pill-meta {
	font-size: 10px;
	color: #6b7280;
	margin-top: 2px;
	font-weight: normal;
}

/* Shipping documents modal css - listing page */
.sd-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.sd-modal {
  position: relative;
  background: #fff;
  border-radius: 8px;
  max-width: 1000px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0,0,0,0.25);
}
.sd-modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  font-size: 24px;
  color: #8a94a6;
  cursor: pointer;
}
.sd-modal .sd-toggle {
  display: none;
}

.sd-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  z-index: 10;
  color: #fff;
  font-size: 22px;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
}

a.sdDocsLink {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 2px 10px;
	margin-left: 4px;
	color: #3766c9;
	font-size: 10px;
	text-decoration: none;
	cursor: pointer;
  font-weight: 600;
	transition: background 0.15s ease;
}
a.sdDocsLink:hover {
	background: #dce4fb;
	border-color: #7c96e8;
}