/* 嵌入代码弹窗样式 */
.embed-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.embed-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.embed-modal-content {
  position: relative;
  background: #fff;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.embed-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid #eee;
}

.embed-modal-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #2c2c2c;
}

.embed-modal-close {
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.embed-modal-close:hover {
  opacity: 1;
}

.embed-modal-close svg {
  width: 20px;
  height: 20px;
  color: #666;
}

.embed-modal-body {
  padding: 24px;
}

.embed-modal-body p {
  margin: 0 0 16px 0;
  font-size: 14px;
  color: #666;
}

.embed-code {
  width: 100%;
  min-height: 120px;
  padding: 16px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  font-family: 'Monaco', 'Menlo', monospace;
  font-size: 12px;
  background: #f8f8f8;
  resize: vertical;
  margin-bottom: 20px;
}

.embed-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
