/* Dark Dialog Container */
.dialog-container {
  min-width: 500px;
  padding: 24px;
  background: #1a1d29;
  color: #ffffff;
}

/* Dialog Title */
.dialog-container h2 {
  color: #ffffff;
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 20px 0;
}

/* Dialog Content */
.dialog-content {
  padding: 20px 0;
  max-height: 60vh;
  overflow-y: auto;
}

.dialog-content::-webkit-scrollbar {
  width: 8px;
}

.dialog-content::-webkit-scrollbar-track {
  background: #242837;
  border-radius: 4px;
}

.dialog-content::-webkit-scrollbar-thumb {
  background: #2a2d3a;
  border-radius: 4px;
}

.dialog-content::-webkit-scrollbar-thumb:hover {
  background: #34384a;
}

/* Content List */
.content-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

/* Content Item */
.content-item {
  border: 1px solid #2a2d3a;
  border-radius: 8px;
  padding: 16px;
  background: #242837;
  transition: all 0.2s ease;
}

.content-item:hover {
  border-color: #10b981;
  background: #2a2d3a;
}

/* Content Header */
.content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

/* Content Type Select */
.content-type-select {
  padding: 8px 12px;
  border: 1px solid #2a2d3a;
  border-radius: 6px;
  background: #1a1d29;
  color: #ffffff;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.content-type-select option {
  background: #1a1d29;
  color: #ffffff;
}

.content-type-select:focus {
  outline: none;
  border-color: #10b981;
}

/* Content Input */
.content-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #2a2d3a;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  background: #1a1d29;
  color: #ffffff;
  transition: all 0.2s ease;
}

.content-input::placeholder {
  color: #6b7280;
}

.content-input:focus {
  outline: none;
  border-color: #10b981;
  background: #242837;
}

textarea.content-input {
  resize: vertical;
  min-height: 80px;
}

/* File Input Wrapper */
.file-input-wrapper {
  position: relative;
  overflow: hidden;
  display: inline-block;
  width: 100%;
  margin-top: 8px;
}

.file-input-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #2a2d3a;
  border: 1px solid #2a2d3a;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #9ca3af;
  font-size: 14px;
}

.file-input-label:hover {
  background: #34384a;
  border-color: #10b981;
  color: #ffffff;
}

.file-input-label svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

input[type="file"] {
  position: absolute;
  left: -9999px;
}

.file-name {
  color: #10b981;
  font-size: 12px;
  margin-top: 4px;
  word-break: break-all;
}

/* Image Preview */
.image-preview {
  margin-top: 12px;
  max-width: 100%;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #2a2d3a;
}

.image-preview img {
  width: 100%;
  height: auto;
  display: block;
}

/* Remove Button */
.remove-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 20px;
  padding: 4px;
  transition: transform 0.2s ease;
  color: #ef4444;
}

.remove-btn:hover {
  transform: scale(1.1);
}

/* Add Button */
.add-btn {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}

.add-btn:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* Dialog Actions */
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid #2a2d3a;
  margin-top: 20px;
}

.dialog-actions button {
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
