/* ============================================================
 * WP Social Video Editor — Premium (AVM style)
 * Scope: .sved
 * ============================================================ */

.sved{
  --bg0:#0b0b0f; --bg1:#12121a;
  --card:rgba(255,255,255,.06);
  --card2:rgba(255,255,255,.08);
  --line:rgba(255,255,255,.10);
  --line2:rgba(255,255,255,.14);
  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.70);
  --muted2:rgba(255,255,255,.55);
  --gold:#d6ad61; --gold2:#b88a3b;

  color:var(--text);
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background:
    radial-gradient(1200px 600px at 20% 0%, rgba(214,173,97,.18), transparent 55%),
    radial-gradient(1000px 600px at 80% 10%, rgba(120,95,55,.18), transparent 55%),
    linear-gradient(180deg, rgba(18,18,26,.98), rgba(10,10,14,.98));
  box-shadow: 0 18px 55px rgba(0,0,0,.45);
}

.sved-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:14px}
.sved-title h3{margin:0;font-size:20px;font-weight:900;color:#fff;display:flex;gap:10px;align-items:center}
.sved-title h3:before{content:"";width:10px;height:10px;border-radius:999px;background:linear-gradient(180deg,var(--gold),var(--gold2));box-shadow:0 0 0 3px rgba(214,173,97,.16)}
.sved-title p{margin:8px 0 0;opacity:.8}

.sved-actions{display:flex;gap:10px}

.sved-grid{display:grid;grid-template-columns: 380px 1fr;gap:14px}

.sved-panel{
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  border-radius:18px;
  padding:14px;
}

.sved-panel h4{margin:0 0 10px;font-weight:900;color:#fff}

.sved-row{margin-bottom:12px}
.sved-row label,
.sved-row2 label{
  display:block;
  font-weight:800;
  margin:10px 0 6px;
  color:rgba(255,255,255,.85)
}

.sved-row input[type="text"],
.sved-row input[type="number"],
.sved-row textarea,
.sved-row select,
.sved-row2 input[type="number"],
.sved-row2 select{
  width:100%;
  padding:12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  color:#fff;
  outline:none;
}

.sved-row textarea::placeholder{color:rgba(255,255,255,.55)}

.sved-row input:focus,
.sved-row textarea:focus,
.sved-row select:focus,
.sved-row2 input:focus,
.sved-row2 select:focus{
  border-color: rgba(214,173,97,.55);
  box-shadow: 0 0 0 3px rgba(214,173,97,.16);
}

.sved-row2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-bottom:12px
}

.sved-btn{
  padding:12px 14px;
  border-radius:14px;
  border: 1px solid rgba(214,173,97,.38);
  background: linear-gradient(180deg, var(--gold), var(--gold2));
  color:#14110c;
  font-weight:900;
  cursor:pointer;
  box-shadow: 0 12px 28px rgba(0,0,0,.30);
  transition: transform .08s ease, filter .12s ease, opacity .12s ease;
}
.sved-btn:hover{filter:brightness(1.03)}
.sved-btn:active{transform:translateY(1px)}
.sved-btn:disabled{opacity:.45;cursor:not-allowed}

.sved-btn-ghost{
  border: 1px solid var(--line2);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
  box-shadow: none;
}

.sved-hr{border:0;border-top:1px solid rgba(255,255,255,.10);margin:12px 0}

.sved-slides{display:flex;flex-direction:column;gap:10px;margin-top:8px}
.sved-slide{
  display:flex; gap:10px; align-items:center;
  padding:10px; border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  cursor:pointer;
}
.sved-slide.active{outline:2px solid rgba(214,173,97,.35)}
.sved-thumb{
  width:56px;height:56px;border-radius:12px;
  object-fit:cover;border:1px solid rgba(255,255,255,.12);
  background:#000;
}
.sved-meta{flex:1}
.sved-meta b{display:block}
.sved-meta small{opacity:.75;display:block}
.sved-dur{width:92px}

.sved-tip{
  margin-top:12px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.80);
  font-weight:700;
}

.sved-canvas{
  width:100%;
  height:auto;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background: #000;
}

.sved-status{
  margin-top:10px;
  padding:10px 12px;
  border-radius:14px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  font-weight:800;
  color: rgba(255,255,255,.85);
}

.sved-download{
  display:inline-block;
  margin-top:10px;
  color:rgba(214,173,97,.95);
  font-weight:900;
  text-decoration:none
}
.sved-download:hover{text-decoration:underline}

@media (max-width: 980px){
  .sved-grid{grid-template-columns:1fr}
}