/*
 * GoldGini dashboard UI upgrade (loaded last, after goldgini-ultra-theme.css).
 * Visual only: no layout logic or behaviour changes. Makes the older "master" pages
 * (categories, sizes, colours, reels, banners...) match the newer screens.
 */

/* Page titles on the older master pages: normal case, readable size. */
h5.text-uppercase.text-dark.fw-bold.m-0 {
  text-transform: none !important;
  font-size: 20px !important;
  letter-spacing: 0 !important;
  font-weight: 700 !important;
  color: #0f172a !important;
}

/* Active / Inactive status: a small pill instead of a big button. */
.clickable-status-badge {
  border-radius: 999px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  padding: 3px 12px !important;
  min-width: 72px !important;
  box-shadow: none !important;
  cursor: pointer;
}

/* Row actions: calm Edit, outlined Delete (so the destructive button no longer shouts). */
table .btn.btn-sm.btn-primary {
  background: #fff !important;
  color: #334155 !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: none !important;
  font-weight: 600 !important;
}
table .btn.btn-sm.btn-primary:hover {
  background: #f1f5f9 !important;
}
table .btn.btn-sm.btn-danger {
  background: #fff !important;
  color: #dc2626 !important;
  border: 1px solid #fecaca !important;
  box-shadow: none !important;
  font-weight: 600 !important;
  font-size: 12px !important;
}
table .btn.btn-sm.btn-danger:hover {
  background: #fef2f2 !important;
}

/* Tables: clear headers, soft row lines, hover highlight. */
.main-content table thead th {
  background: #f8fafc !important;
  color: #64748b !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid #e2e8f0 !important;
}
.main-content table tbody tr:hover td {
  background: #f8fafc !important;
}
.main-content table tbody td {
  border-color: #f1f5f9 !important;
  vertical-align: middle;
}

/* "Show 10 entries" / search controls of the data tables. */
.dataTables_wrapper .dataTables_length select,
.dataTables_wrapper .dataTables_filter input {
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  padding: 4px 8px !important;
  background: #fff !important;
}

/* Keyboard focus is always visible. */
.main-content .btn:focus-visible,
.main-content a:focus-visible,
.main-content input:focus-visible,
.main-content select:focus-visible {
  outline: 2px solid #6366f1 !important;
  outline-offset: 2px;
}
