/* Custom tweaks for the existing SSR pages on top of Metronic/Bootstrap */

/* Container spacing */
.app-content .wrap, .wrap { max-width: 1200px; margin: 0 auto; }

/* Legacy utility classes (some pages may still use) */
.muted { color: var(--bs-gray-600, #6b7280); }
.right { text-align: right; }

/* If a page uses a plain table without bootstrap classes */
table { width: 100%; border-collapse: collapse; }
th, td { padding: 0.75rem 0.75rem; border-bottom: 1px solid var(--bs-border-color, #e5e7eb); vertical-align: middle; }
th { font-weight: 600; color: var(--bs-gray-700, #4b5563); }

/* Minor spacing */
.card { margin-bottom: 1rem; }

/* Links */
a { text-decoration: none; }
/* Alias for convenience */
:root {
  --bs-text-primary: var(--bs-primary);
}

/* Ensure primary text color isn't overridden by theme */
.text-primary {
  color: var(--bs-primary) !important;
}
.text-secondary {
  color: var(--bs-secondary) !important;
}
.text-success {
  color: var(--bs-success) !important;
}
.text-danger {
  color: var(--bs-danger) !important;
}
.text-warning {
  color: var(--bs-warning) !important;
}
.text-info {
  color: var(--bs-info) !important;
}
.text-muted {
  color: var(--bs-secondary-color) !important;
}
