/**
 * @file
 * Styles for Actus View Modes module.
 */

/* Debug output styling */
.actus-view-modes-debug {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  padding: 10px;
  margin: 10px 0;
  font-family: 'Courier New', monospace;
  font-size: 12px;
  line-height: 1.4;
}

.actus-view-modes-debug__header {
  background: #e9ecef;
  padding: 5px 8px;
  margin: -10px -10px 8px -10px;
  border-radius: 4px 4px 0 0;
  border-bottom: 1px solid #dee2e6;
  font-weight: bold;
  color: #495057;
}

.actus-view-modes-debug__content {
  margin-bottom: 8px;
}

.actus-view-modes-debug__item {
  padding: 2px 0;
  color: #6c757d;
}

.actus-view-modes-debug__paragraph-info {
  border-top: 1px solid #dee2e6;
  padding-top: 8px;
  margin-top: 8px;
}

.actus-view-modes-debug__paragraph-info strong {
  color: #495057;
  display: block;
  margin-bottom: 4px;
}

/* Formatter settings form styling */
.field-formatter-settings-form .form-item-included-types {
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid #ccc;
  padding: 10px;
  background: #fafafa;
}

.field-formatter-settings-form .form-item-included-types .form-checkboxes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px;
}

.field-formatter-settings-form .form-item-included-types .form-checkboxes > div {
  margin: 0;
}

.field-formatter-settings-form .form-item-included-types .form-checkboxes label {
  font-weight: normal;
  margin-left: 5px;
}

/* Bundle grouping in form */
.field-formatter-settings-form .form-item-included-types .form-checkboxes > div > label {
  font-weight: bold;
  color: #333;
  border-bottom: 1px solid #ddd;
  padding-bottom: 5px;
  margin-bottom: 8px;
  grid-column: 1 / -1;
}

/* Warning message styling */
.messages--warning {
  background-color: #fff3cd;
  border: 1px solid #ffeaa7;
  color: #856404;
  padding: 12px;
  border-radius: 4px;
  margin: 10px 0;
}

/* Settings summary styling */
.field-formatter-settings-summary {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  padding: 8px 12px;
  margin: 5px 0;
}

.field-formatter-settings-summary .formatter-summary-item {
  margin: 2px 0;
  color: #6c757d;
  font-size: 13px;
}

/* Responsive design */
@media (max-width: 768px) {
  .field-formatter-settings-form .form-item-included-types .form-checkboxes {
    grid-template-columns: 1fr;
  }
  
  .actus-view-modes-debug {
    font-size: 11px;
    padding: 8px;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .actus-view-modes-debug {
    border: 2px solid #000;
    background: #fff;
  }
  
  .actus-view-modes-debug__header {
    background: #000;
    color: #fff;
  }
  
  .actus-view-modes-debug__item {
    color: #000;
  }
}

/* Print styles */
@media print {
  .actus-view-modes-debug {
    display: none;
  }
} 