/* The game provider panel supplements the existing manual-game editor. */
#admin-content .ag-provider-panel {
  padding: 16px 18px;
  margin-bottom: 16px;
  border-color: #d7deeb;
  background: #fff;
  color: #273449;
}
.ag-provider-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.ag-provider-title-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
#admin-content .ag-provider-title-line h3 { margin: 0; font-size: 16px; line-height: 24px; font-weight: 700; color: #273449; }
.ag-provider-environment { display: inline-flex; align-items: center; padding: 2px 9px; border: 1px solid #d8dfea; border-radius: 6px; background: #f3f6fb; color: #53627b; font-size: 12px; line-height: 20px; white-space: nowrap; }
.ag-provider-environment[data-test=true] { background: #f5edfb; border-color: #e2d4ee; color: #754793; }
#admin-content .ag-provider-description { margin: 4px 0 0; font-size: 13px; line-height: 20px; color: #596881; }
.ag-provider-actions { display: flex; flex: 0 0 auto; gap: 8px; }
#admin-content .ag-provider-actions button { min-height: 38px; padding: 8px 13px; font-size: 13px; line-height: 20px; white-space: nowrap; }
#admin-content .ag-provider-state { margin: 10px 0 12px; color: #596881; font-size: 13px; line-height: 20px; }
.ag-provider-panel[data-state=ready] .ag-provider-state { color: #287653 !important; }
.ag-provider-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0; }
.ag-provider-fact { padding: 10px 12px; border: 1px solid #e1e6ef; border-radius: 8px; background: #f8f9fc; min-width: 0; }
.ag-provider-fact dt { color: #64728a; font-size: 12px; line-height: 19px; }
.ag-provider-fact dd { margin: 4px 0 0; color: #2e3c53; font-size: 15px; font-weight: 650; line-height: 22px; overflow-wrap: anywhere; }
.ag-provider-fact dd[data-ok=true] { color: #287653; }
.ag-provider-metadata { display: flex; flex-wrap: wrap; gap: 5px 24px; margin-top: 11px; color: #64728a; font-size: 12px; line-height: 20px; }
.ag-provider-metadata span { overflow-wrap: anywhere; }
#admin-content .ag-provider-notice { margin: 10px 0 0; padding: 8px 10px; border: 1px solid #e1d7bc; border-radius: 7px; background: #fffaf0; color: #806026; font-size: 13px; line-height: 20px; overflow-wrap: anywhere; }
#admin-content .ag-provider-notice[data-kind=error] { background: #fff5f5; border-color: #edcdcd; color: #a34444; }
#admin-content .ag-provider-notice[data-kind=success] { background: #f0faf4; border-color: #cce6d5; color: #287653; }
@media (max-width: 900px) {
  .ag-provider-heading { flex-wrap: wrap; gap: 10px; }
  .ag-provider-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  #admin-content .ag-provider-panel { padding: 13px; }
  .ag-provider-actions { width: 100%; }
  .ag-provider-actions button { flex: 1; }
}
