/* Buttons */
.btn {
  padding: 10px 20px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--studio-text);
  border: 1px solid var(--studio-border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn-danger {
  background: var(--danger);
  color: var(--white);
}

.btn-danger:hover {
  background: var(--brand-danger);
}

.btn-small {
  padding: 6px 10px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 1rem;
  border-radius: var(--radius);
  transition: all 0.2s;
}

.btn-small:hover {
  background: var(--gray-100);
}

.btn-edit:hover {
  background: var(--brand-primary-soft);
}

.btn-delete:hover {
  background: var(--brand-danger-soft, rgba(239, 68, 68, 0.1));
}

.tool-btn {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 15px;
  background: var(--studio-panel);
  border: 1px solid var(--studio-border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.875rem;
  color: var(--studio-text);
  font-weight: 600;
  width: 100%;
}

.tool-btn:hover,
.tool-btn.is-active {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--gray-900);
  transform: translateX(-2px);
}

.tool-btn:hover i,
.tool-btn.is-active i {
  color: var(--gray-900) !important;
}

.tool-btn .icon {
  font-size: 1.5rem;
}

/* Element Card */
.element-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--studio-border);
  border-radius: var(--radius);
  padding: 15px;
  margin-bottom: 15px;
  transition: all 0.2s;
  color: var(--studio-text);
}

.element-card:hover {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.05);
}

.element-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--studio-border);
}

/* Slider Preview Styles */
.slider-preview {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: var(--radius);
}

.slider-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
