.collection-modal .modal-content {
  border-radius: 16px;
  overflow: hidden;
}

.collection-modal-header {
  background: linear-gradient(135deg, #C52110 0%, #333 50%, #5810c5 100%);
  padding: 12px 20px;
  position: relative;
  overflow: hidden;
}

.collection-modal-header-blob {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 80px;
  height: 80px;
  background: rgba(197, 33, 16, 0.4);
  border-radius: 50%;
  filter: blur(25px);
  pointer-events: none;
}

.collection-modal-title {
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
}

.collection-modal-title i {
  color: #fff;
}

.collection-modal-body {
  padding: 16px;
}

.collection-modal-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.collection-modal-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  padding: 12px 20px;
}

.collection-modal-btn {
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  padding: 6px 16px;
  font-weight: 600;
}

.collection-modal-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #f8f7ff;
}

.collection-modal-list-item-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1a1a2e;
}

.collection-modal-list-item-btn {
  background: #5810c5;
  border: none;
  border-radius: 8px;
  padding: 4px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
}

.collection-modal-list-empty {
  padding: 16px;
  text-align: center;
  color: #888;
  font-size: 0.85rem;
}

.collection-modal-list-error {
  padding: 12px;
  color: #C52110;
}

html.dark-mode .collection-modal-list-item {
  border-color: rgba(255, 255, 255, 0.08);
  background: #313131;
}

html.dark-mode .collection-modal-list-item-name {
  color: #e4e4e4;
}

.collection-modal-hint {
  font-size: 0.78rem;
  color: #6c757d;
  margin: 0 0 8px;
}
html.dark-mode .collection-modal-hint { color: var(--dm-text-muted); }
