/* before-after.css — Voor/Na LinkedIn-composer · 4:5 staand */

.ba-layout {
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
  gap: 20px;
  align-items: start;
}
@media (max-width: 860px) {
  .ba-layout { grid-template-columns: 1fr; }
}

.ba-stage-wrap {
  position: sticky;
  top: 16px;
}

.ba-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  overflow: hidden;
  background: #0c0c0e;
  box-shadow: 0 10px 30px rgba(0,0,0,.22);
  border: 1px solid var(--pt-border, #2a2a2a);
}

.ba-half {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50%;
  overflow: hidden;
  background: #14141a;
}
.ba-half--before { top: 0; }
.ba-half--after { top: 50%; }
.ba-half img,
.ba-half video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ba-half-empty {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.4);
  font-size: 12px;
  text-align: center;
  padding: 12px;
}

.ba-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(12,12,14,.5);
  backdrop-filter: blur(3px);
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  z-index: 2;
  pointer-events: none;
}
.ba-half--after .ba-badge { top: 14px; }
.ba-badge img { width: 20px; height: 20px; display: block; filter: brightness(0) invert(1); }
.ba-badge span { color: #fff; font-weight: 700; font-size: 13px; letter-spacing: .01em; white-space: nowrap; }

.ba-dropzone {
  border: 1.5px dashed var(--pt-border, #3a3a3a);
  border-radius: 12px;
  padding: 18px;
  text-align: center;
  cursor: pointer;
  transition: border-color .15s, background .15s;
  background: rgba(255,255,255,.015);
}
.ba-dropzone:hover { border-color: var(--pt-accent, #A0722A); }
.ba-dropzone.drag-over {
  border-color: var(--pt-accent, #A0722A);
  background: var(--pt-accent-soft, rgba(160,114,42,.08));
}
.ba-dropzone p { margin: 0; }
.ba-dropzone .ba-dz-icon { opacity: .55; margin-bottom: 6px; }

.ba-clip-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}
.ba-clip-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--pt-border, #2a2a2a);
  font-size: 12px;
}
.ba-clip-row .ba-clip-num {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--pt-accent, #A0722A); color: #fff;
  display: grid; place-items: center; font-size: 11px; font-weight: 700; flex-shrink: 0;
}
.ba-clip-row .ba-clip-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.ba-copy-card {
  border-radius: 10px;
  padding: 12px;
  background: rgba(255,255,255,.02);
  border: 1px solid var(--pt-border, #2a2a2a);
  margin-bottom: 10px;
}
.ba-copy-card .ba-copy-lang {
  display: flex; align-items: center; gap: 8px; margin-bottom: 6px;
}
.ba-copy-card .ba-copy-flag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--pt-accent, #A0722A); }
.ba-copy-card p.ba-copy-text { white-space: pre-wrap; line-height: 1.45; margin: 0; font-size: 13.5px; }
