/* Bio-Lec — Ninja Forms custom upload field UI (drop zone + results table) */
.bl-up{margin:6px 0 4px;}

/* ── Drop zone ── */
.bl-up-zone{position:relative;border:2px dashed #C4D3E0;border-radius:16px;
  background:#fff;text-align:center;padding:34px 24px 28px;cursor:pointer;
  transition:border-color .16s ease,background .16s ease;
  box-shadow:0 1px 2px rgba(0,101,184,.04),0 10px 26px rgba(0,101,184,.06);}
.bl-up-zone:hover,.bl-up-zone:focus{border-color:#329AE0;outline:none;}
.bl-up-zone.is-drag{border-color:#0065B8;background:#E6F2FB;}
.bl-up-cloud{font-size:2rem;line-height:1;margin-bottom:6px;}
.bl-up-title{margin:0 0 6px;font-size:1rem;font-weight:600;color:#15202B;}
.bl-up-or{margin:0 0 10px;font-size:.82rem;font-weight:600;letter-spacing:.06em;color:#93A2AF;}
.bl-up-browse{display:inline-flex;align-items:center;justify-content:center;cursor:pointer;
  background:#fff;color:#0065B8;border:1.5px solid #C4D3E0;border-radius:999px;
  font-weight:600;font-size:.9rem;padding:9px 22px;transition:background .16s ease,border-color .16s ease;}
.bl-up-browse:hover{background:#E6F2FB;border-color:#329AE0;}
.bl-up-hint{margin:14px 0 0;font-size:.8rem;color:#5C6B79;}
.bl-up-input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden;clip:rect(0 0 0 0);}

/* ── Results table ── */
.bl-up-tablewrap{margin-top:18px;background:#fff;border:1px solid #DBE5EE;border-radius:14px;
  overflow:hidden;box-shadow:0 1px 2px rgba(0,101,184,.04),0 10px 26px rgba(0,101,184,.06);}
.bl-up-table{width:100%;border-collapse:collapse;font-size:.88rem;}
.bl-up-table th,.bl-up-table td{padding:12px 14px;text-align:left;vertical-align:middle;}
.bl-up-table thead th{font-size:.74rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;
  color:#5C6B79;border-bottom:1px solid #DBE5EE;background:#F4F8FC;}
.bl-up-table tbody tr{border-bottom:1px solid #EDF2F7;}
.bl-up-table tbody tr:last-child{border-bottom:0;}
.bl-up-table .bl-up-num{color:#93A2AF;font-weight:600;width:38px;}
.bl-up-table .bl-up-fname{color:#15202B;font-weight:600;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.bl-up-table .bl-up-type{color:#5C6B79;}
.bl-up-thumb{display:inline-flex;align-items:center;justify-content:center;
  width:46px;height:36px;border-radius:8px;background:#F4F8FC;border:1px solid #DBE5EE;
  object-fit:cover;font-size:1.1rem;overflow:hidden;}
img.bl-up-thumb{object-fit:cover;}
.bl-up-del{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;
  border:0;background:none;color:#EF4444;cursor:pointer;font-size:1.1rem;line-height:1;
  transition:color .16s ease;}
.bl-up-del:hover{color:#B91C1C;background:none;}

.bl-up-table tbody tr.is-uploading{opacity:.6;}
.bl-up-table tbody tr.is-err .bl-up-type{color:#A01B12;font-weight:600;}
.bl-up-table tbody tr.is-ok .bl-up-num::after{content:" ✓";color:#1E9E5C;}

@media (max-width:560px){
  .bl-up-table thead{display:none;}
  .bl-up-table,.bl-up-table tbody,.bl-up-table tr,.bl-up-table td{display:block;width:100%;}
  .bl-up-table tr{padding:8px 4px;}
  .bl-up-table td{padding:4px 14px;}
}

/* Hide the helper text field that stores the uploaded URLs (it still submits). */
.nf-field-container.bl-upload-urls{position:absolute!important;width:1px;height:1px;
  overflow:hidden;clip:rect(0 0 0 0);margin:-1px;padding:0;border:0;}
