.page-content-widget {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-content-widget .content-title-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.page-content-widget .add-content-btn {
  width: 22px;
  height: 22px;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.page-content-widget .add-content-btn:hover {
  opacity: 1;
  transform: scale(1.1);
}

.content-add-menu {
  position: fixed;
  background: var(--color-white);
  border-radius: 9px;
  box-shadow: var(--shadow-card);
  font-family: var(--font-body);
  display: none;
  z-index: 1000;
}

.content-add-menu button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
}

.content-add-menu button:hover {
  background: var(--color-light-gray, #f0f0f0);
}

.page-content-widget .content-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-content-widget .content-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: var(--user-color);
}

.delete-content-btn {
  width: 20px;
  height: 20px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.delete-content-btn:hover {
  opacity: 1;
}

.page-content-widget .empty-state {
  color: #bbb;
  padding: 10px 0;
  text-align: center;
}

.attached-content { margin-top: 20px; }

.layout-select-menu {
  position: fixed;
  background: var(--color-white);
  border-radius: 9px;
  box-shadow: var(--shadow-card);
  font-family: var(--font-body);
  padding: 8px;
  display: none;
  z-index: 1000;
}

.layout-select-menu button {
  margin-top: 8px;
  width: 100%;
}

