/* =========================
   EMBED BOX (ISOLATED)
========================= */

.embed-box {
  max-width: 700px;
  margin: 40px auto;
  padding: 24px;
  border-radius: 16px;
  background: linear-gradient(145deg,#ffffff,#f3f4f6);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border: 1px solid #e5e7eb;
  font-family: Arial, sans-serif;
}

.embed-box h3 {
  margin: 0 0 12px;
  font-size: 20px;
  color: #111827;
}

.embed-box p {
  margin: 0 0 16px;
  font-size: 14px;
  color: #6b7280;
}

.embed-box .embed-code {
  position: relative;
}

.embed-box .embed-code textarea {
  width: 100%;
  height: 120px;
  padding: 14px;
  font-size: 13px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  resize: none;
  background: #f9fafb;
  color: #111827;
  font-family: monospace;
}

/* 🔒 FULL RESET לכפתור */
.embed-box .copy-btn {
  all: unset;
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-block;
  background: #111827;
  color: #fff;
  padding: 8px 14px;
  font-size: 13px;
  border-radius: 8px;
  cursor: pointer;
  font-family: Arial, sans-serif;
  text-align: center;
  transition: 0.2s ease;
}

.embed-box .copy-btn:hover {
  background: #2563eb;
  transform: translateY(-2px);
}

.embed-box .copy-btn.copied {
  background: #16a34a;
}






.dark .embed-box {
  background: linear-gradient(145deg,#111827,#0f172a);
  border: 1px solid #1f2937;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  color: #f3f4f6;
}

.dark .embed-box h3 {
  color: #f9fafb;
}

.dark .embed-box p {
  color: #9ca3af;
}

.dark .embed-box .embed-code textarea {
  background: #0f172a;
  border: 1px solid #1f2937;
  color: #e5e7eb;
}

.dark .embed-box .copy-btn {
  background: #2563eb;
  color: #ffffff;
}

.dark .embed-box .copy-btn:hover {
  background: #3b82f6;
}

.dark .embed-box .copy-btn.copied {
  background: #22c55e;
}
