.dashboard-widgets { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.dashboard-widgets .card { border: 1px solid #e5e7eb; border-radius: 8px; background: #fff; }
.dashboard-widgets .card .card-body { padding: 12px 16px; }
.button { display: inline-block; padding: 6px 10px; border-radius: 6px; background: #2563eb; color: #fff; text-decoration: none; }
.button.default { background: #374151; }
/* Admin overrides for maintenance mode and other admin interfaces */

/* Force readable tags/chips/select text in Django admin for our custom widgets */
.select2-container .select2-selection__choice,
.select2-container--default .select2-selection--multiple .select2-selection__choice,
.select2-container--default .select2-selection--single .select2-selection__rendered,
select[multiple],
.related-widget-wrapper select,
.vTextField,
.vSelectMultipleField,
.vForeignKeyRawIdAdminField {
  color: #000 !important;
  background-color: #fff !important;
}

/* Chips inside tag-like multi widgets */
.select2-selection__choice__display,
.select2-selection__choice__remove {
  color: #000 !important;
}

/* Help text readability */
.help, .help-tooltip { 
  color: #3a3a3a !important; 
}

/* Maintenance mode specific styling */
.maintenance-mode-status {
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 4px;
  margin: 10px 0;
}

.maintenance-mode-active {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.maintenance-mode-inactive {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

/* Form field styling */
.field-is_enabled .vCheckboxField {
  margin: 10px 0;
}

.field-message_en textarea,
.field-message_ar textarea {
  width: 100%;
  min-height: 100px;
  font-family: monospace;
}

