#spu-upload-wrapper.spu-hidden { display:none; }

.spu-positions.spu-hidden { display:none; }

.spu-choice {
  display:flex;
  gap:14px;
  align-items:center;
  margin: 0 0 10px 0;
  font-size:13px;
}

.spu-choice-item input { margin-right:6px; }

#spu-upload-wrapper .spu-title {
  margin: 0 0 6px 0;
  font-size: 15px;
  font-weight: 600;
}

.spu-uploader {
  border:1px dashed #ccc;
  padding:14px;
  border-radius:8px;
  margin:10px 0;
  background:#fff;
}

.spu-positions[data-mode="multi"] {
  display:flex;
  flex-direction:column;
  gap:14px;
}

.spu-position-block {
  border:1px solid #eee;
  border-radius:6px;
  padding:10px;
  background:#fafafa;
}

.spu-position-title {
  font-weight:600;
  margin-bottom:6px;
  font-size:14px;
}

.spu-dropzone {
  padding:18px;
  text-align:center;
  cursor:pointer;
  border:1px dashed #cbd5e1;
  border-radius:6px;
  background:#fff;
}
.spu-dropzone.spu-hover { background:#f6f7f9; }

.spu-instructions { font-size:13px; color:#555; }

.spu-file-list { list-style:none; padding:0; margin:10px 0 0 0; }

.spu-li {
  padding:6px 8px;
  border-bottom:1px solid #eee;
  display:flex;
  gap:10px;
  align-items:center;
}

.spu-thumb {
  width:32px;
  height:32px;
  border-radius:4px;
  overflow:hidden;
  flex:0 0 32px;
  background:#f1f1f1;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:10px;
  font-weight:600;
  color:#555;
  text-transform:uppercase;
}

.spu-thumb img {
  max-width:100%;
  max-height:100%;
  display:block;
}

.spu-thumb-badge {
  background:#e5e7eb;
}

.spu-li .spu-name { font-weight:600; }
.spu-li .spu-size { color:#666; font-size:12px; }
.spu-li .spu-state { margin-left:auto; font-size:12px; }
.spu-li .spu-done { color:#2271b1; }
.spu-li .spu-error { color:#b32d2e; }

.spu-note { margin-bottom:6px; color:#666; }
.spu-note-small { margin-top:8px; color:#888; font-size:12px; }

/* Kundenkonto */
.woocommerce-spu-account { margin-top:30px; }
.spu-account-item { margin-bottom:16px; }
.spu-account-item-title { font-weight:600; margin-bottom:4px; }

/* Admin Inline */
.spu-admin-inline a { text-decoration:none; }
.spu-admin-inline a:hover { text-decoration:underline; }


/* Kundenkonto – Positionen */
.spu-account-position {
  border:1px solid #eee;
  border-radius:6px;
  padding:10px;
  background:#fafafa;
  margin-top:10px;
}
.spu-account-position-title {
  font-weight:600;
  margin-bottom:6px;
  font-size:14px;
}
.spu-thumb-img img{
  max-width:32px;
  max-height:32px;
  border-radius:4px;
  display:block;
}
.spu-download-link{
  margin-left:10px;
  font-size:12px;
}
.spu-delete-file{
  margin-left:10px;
}


/* Korrekturabzug Lightbox */
.spu-proof-wrap{
  margin: 10px 0 20px 0;
}
.spu-proof-status{
  margin-left:10px;
  font-weight:600;
}
.spu-proof-approved{ color: #1a7f37; }
.spu-proof-rejected{ color: #a00; }
.spu-proof-pending{ color: #b36b00; }

.spu-proof-overlay{
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(0,0,0,0.6);
  z-index: 99999;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 20px;
}
.spu-proof-modal{
  position: relative;
  background:#fff;
  width: min(980px, 100%);
  height: min(720px, 100%);
  border-radius: 10px;
  overflow: hidden;
  display:flex;
  flex-direction: column;
}
.spu-proof-close{
  position:absolute;
  top:8px;
  right:10px;
  z-index:2;
  background: transparent;
  border:0;
  font-size: 28px;
  line-height: 28px;
  cursor:pointer;
}
.spu-proof-frame{
  width: 100%;
  flex: 1 1 auto;
  border:0;
}

/* Close button for proof lightbox (bottom) */
.spu-proof-close-bottom{ margin-left:auto; }
/* legacy top-right close (removed in JS) */
.spu-proof-close{ display:none; }
.spu-proof-actions{
  padding: 10px;
  border-top: 1px solid #eee;
  display:flex;
  flex-wrap: wrap;
  align-items:center;
  gap:10px;
}
.spu-proof-msg{
  flex: 1 0 100%;
  margin: 6px 0 0;
}
.spu-proof-reason-wrap{
  padding: 10px;
  border-top: 1px solid #eee;
}
.spu-proof-reason{
  width: 100%;
  min-height: 80px;
  margin-bottom: 10px;
}

/* Bestätigungs-Popup vor Freigabe */
.spu-proof-confirm-overlay{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.55);
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 20px;
  z-index: 5;
}
.spu-proof-confirm-box{
  background:#fff;
  border-radius: 10px;
  width: min(720px, 100%);
  max-height: 100%;
  overflow:auto;
  padding: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.25);
}
.spu-proof-confirm-title{
  font-weight: 700;
  margin: 0 0 10px;
  font-size: 16px;
}
.spu-proof-confirm-text{
  white-space: pre-wrap;
  line-height: 1.45;
  font-size: 14px;
}
.spu-proof-confirm-actions{
  display:flex;
  justify-content:flex-end;
  gap: 10px;
  margin-top: 14px;
}
