.nextaicoder-custom-fields-list {
  margin: 2rem 0;
  padding: 1.5rem;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nextaicoder-custom-fields-list h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
}

.nextaicoder-custom-fields-list .custom-fields-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nextaicoder-custom-fields-list .custom-field-item {
  margin-bottom: 1rem;
  padding: 1rem;
  background-color: #fff;
  border-radius: 4px;
  border: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nextaicoder-custom-fields-list .custom-field-label {
  font-weight: 600;
  color: #555;
}

.nextaicoder-custom-fields-list .custom-field-value {
  color: #333;
  line-height: 1.6;
}

.nextaicoder-custom-fields-list .custom-field-value img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  border: 1px solid #e0e0e0;
}

.nextaicoder-custom-fields-list .custom-field-value a {
  color: #0073aa;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nextaicoder-custom-fields-list .custom-field-value a:hover {
  color: #005177;
  text-decoration: underline;
}

.nextaicoder-custom-fields {
  margin: 2rem 0;
}

.nextaicoder-custom-field {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background-color: #f9f9f9;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

.nextaicoder-custom-field h4 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
}

.nextaicoder-custom-field p {
  margin: 0;
  line-height: 1.6;
  color: #666;
}

/* Custom field display styles */
.custom-field-display {
  margin: 1rem 0;
  padding: 1rem;
  background-color: #f5f5f5;
  border-left: 4px solid #0073aa;
  border-radius: 0 4px 4px 0;
}

.custom-field-display .field-name {
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
}

.custom-field-display .field-value {
  color: #555;
  line-height: 1.6;
}

/* Custom field grid layout */
.custom-fields-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.custom-fields-grid .custom-field-card {
  padding: 1.5rem;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
}

.custom-fields-grid .custom-field-card h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: #333;
}

.custom-fields-grid .custom-field-card .field-item {
  margin-bottom: 1rem;
}

.custom-fields-grid .custom-field-card .field-item:last-child {
  margin-bottom: 0;
}

.custom-fields-grid .custom-field-card .field-label {
  font-weight: 500;
  color: #555;
  margin-bottom: 0.25rem;
}

.custom-fields-grid .custom-field-card .field-value {
  color: #666;
  line-height: 1.6;
}

/* Responsive styles */
@media (max-width: 768px) {
  .custom-fields-grid {
    grid-template-columns: 1fr;
  }
}

/* Custom field table styles */
.custom-fields-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}

.custom-fields-table th,
.custom-fields-table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}

.custom-fields-table th {
  background-color: #f9f9f9;
  font-weight: 600;
  color: #333;
}

.custom-fields-table tr:hover {
  background-color: #f5f5f5;
}

/* Custom field status styles */
.custom-field-status {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
}

.custom-field-status.active {
  background-color: #c8e6c9;
  color: #2e7d32;
}

.custom-field-status.inactive {
  background-color: #ffcdd2;
  color: #c62828;
}

.custom-field-status.pending {
  background-color: #fff3cd;
  color: #856404;
}

/* Custom field image styles */
.custom-field-image {
  margin: 1rem 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

/* Custom field file styles */
.custom-field-file {
  display: inline-block;
  margin: 1rem 0;
  padding: 0.75rem 1.5rem;
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  color: #0073aa;
  text-decoration: none;
  transition: all 0.3s ease;
}

.custom-field-file:hover {
  background-color: #e0e0e0;
  text-decoration: underline;
}

.custom-field-file i {
  margin-right: 0.5rem;
}

/* Custom field color styles */
.custom-field-color {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0;
}

.custom-field-color .color-swatch {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #e0e0e0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.custom-field-color .color-value {
  font-family: monospace;
  color: #333;
  font-weight: 500;
}