/* ==========================================================================
   SMAN 8 Jakarta Application CSS
   Overrides and custom styling on top of SB Admin 2
   ========================================================================== */

@import url("fonts.css");

:root {
  --primary: #4e73df;
  --success: #1cc88a;
  --warning: #f6c23e;
  --danger: #e74a3b;
  --secondary: #858796;
  --body-bg: #f8f9fc;
  --cbt-font:
    "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
}

body {
  font-family: var(--cbt-font);
  background-color: var(--body-bg);
}

/* Ensure no external font dependency by using system font stack fallback */
body,
button,
input,
optgroup,
select,
textarea {
  font-family: var(--cbt-font);
}

/* Flash message styles */
.cbt-flash-container {
  margin-bottom: 1.5rem;
}

/* Badges and custom indicators */
.badge-role {
  font-size: 0.75rem;
  padding: 0.35em 0.65em;
  font-weight: 700;
}

/* Responsive tables */
.table td,
.table th {
  vertical-align: middle;
}
