/* update : 2026-06-11 by sonny */
.tm-header,
.tm-footer {
  /* background: #04398c;#0A2DA5; */
  background: #011627;
}

.tm-header {
  padding: 2px;
}

.tm-header,
.tm-header a,
.tm-footer,
.tm-footer a {
  color: #cbd5e1;
}

.tm-main .uk-grid-divider:not(:empty) {
  margin-right: 0px;
}

.tm-footer {
  width: 100%;
  position: fixed;
  bottom: 0px;
}

.tm-header .uk-grid > * {
  padding-left: 5px;
}

.tm-header .uk-form input:not([type]),
.tm-header .uk-form input[type="text"],
.tm-header .uk-form input[type="password"],
.tm-header .uk-form input[type="email"],
.tm-header .uk-form input[type="url"],
.tm-header .uk-form input[type="search"],
.tm-header .uk-form input[type="tel"],
.tm-header .uk-form input[type="number"],
.tm-header .uk-form input[type="datetime"],
.tm-header .uk-form input[type="datetime-local"],
.tm-header .uk-form input[type="date"],
.tm-header .uk-form input[type="month"],
.tm-header .uk-form input[type="time"],
.tm-header .uk-form input[type="week"],
.tm-header .uk-form input[type="color"],
.tm-header .uk-form select,
.tm-header .uk-form textarea {
  height: 30px;
  padding: 0px;
}

.tm-header .uk-button {
  min-height: inherit;
  padding: 1px 4px;
  color: #000;
}

.tm-main .tm-side-left {
  color: #000;
  /*
	padding-top: 10px;
	padding-bottom: 10px;
	/**/
}

.tm-main .tm-side-left {
  width: 230px;
  position: absolute;
}

@media (min-width: 767px) {
  .tm-main .tm-content {
    margin-left: 230px;
  }
}

.tm-main .tm-side-left hr {
  margin: 4px 0px;
}

.uk-grid-divider > * {
  padding-right: 0px;
}

.uk-grid > * {
  padding-left: 35px;
}

.uk-grid > *:not(:first-child) {
  padding-left: 25px;
}

.tm-side-left {
  background: #efefef;
  max-height: 100%;
  overflow-y: hidden;
}

.tm-side-left:hover {
  overflow-y: scroll;
}

.uk-grid > .tm-side-left > *:last-child {
  margin-bottom: 10px;
}

.uk-button {
  border-radius: 8px !important;
}

.uk-button-danger {
  background-color: #e63946;
  background-image: #e63946;
}

.uk-button:hover {
  color: rgb(81, 105, 182) 100% !important;
}

.uk-button-danger:hover {
  color: #fdfffc !important;
}

.uk-button-primary {
  background:  rgb(81, 105, 182) 100% !important;
}

.uk-button-primary:not(.uk-button-success):not(.uk-button-warning):not(
    .uk-button-danger
  ) {
  background:  rgb(81, 105, 182) 100% !important;
}

.ui-widget-header {
  background: linear-gradient(
    135deg,
    #a1a3a8 0%,
    rgb(81, 105, 182) 100%
  ) !important;
  /* border-radius: none !important; */
}

/*
.tm-main .tm-side-left { padding-top: 0px; padding-left: 20px; }
@media (min-width:900px) {
	.tm-main .tm-side-left { padding-top: 10px; padding-left: 35px; }
}
@media (min-width:767px) {
	.uk-width-medium-1-6 { width: 25%; }
	.uk-width-medium-5-6 { width: 75%; }
}
@media (min-width:769px) {
	.uk-width-medium-1-6 { width: 16.666%; }
	.uk-width-medium-5-6 { width: 83.333%; }
}
/*

fieldset {
  border: none;
}

fieldset a {
  font-size: 1.25rem;
  text-decoration: none;
  margin-right: 1rem;
}

fieldset a:hover {
  text-decoration: none;
  color: #26a39c !important;
}
/* new theme for web dashboard 2026 */
:root {
  --bg: #f0f4fa;
  --bg-card: #ffffff;
  --bg-header: #ffffff;
  --border: #e2e8f0;
  --border-light: #eef2f7;

  --primary: #2563eb;
  --primary-lite: #eff6ff;
  --primary-mid: #bfdbfe;
  --accent: #0ea5e9;
  --success: #16a34a;
  --success-lite: #f0fdf4;
  --warning: #d97706;
  --warning-lite: #fffbeb;
  --danger: #dc2626;
  --danger-lite: #fef2f2;
  --purple: #7c3aed;
  --purple-lite: #f5f3ff;

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --text-black: #000000;

  --shadow-sm:
    0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md:
    0 4px 12px rgba(15, 23, 42, 0.08), 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-lg:
    0 8px 24px rgba(15, 23, 42, 0.1), 0 4px 8px rgba(15, 23, 42, 0.06);

  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --bg: #f0f4fa;
  --bg-card: #ffffff;
  --bg-header: #ffffff;
  --border: #e2e8f0;
  --border-light: #eef2f7;

  --primary: #2563eb;
  --primary-lite: #eff6ff;
  --primary-mid: #bfdbfe;
  --accent: #0ea5e9;
  --success: #16a34a;
  --success-lite: #f0fdf4;
  --warning: #d97706;
  --warning-lite: #fffbeb;
  --danger: #dc2626;
  --danger-lite: #fef2f2;
  --purple: #7c3aed;
  --purple-lite: #f5f3ff;

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --text-black: #000000;

  --shadow-sm:
    0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md:
    0 4px 12px rgba(15, 23, 42, 0.08), 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-lg:
    0 8px 24px rgba(15, 23, 42, 0.1), 0 4px 8px rgba(15, 23, 42, 0.06);

  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;

  --font-main:
    "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "DM Mono", "Courier New", monospace;
}
body {
  font-family: var(--font-main);
  background: white;
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.6;
  min-height: 100vh;
}
.dash-header {
  background: var(--bg-header);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  margin-bottom: 1rem;
}

.dash-header-inner {
  /* max-width: 1400px; */
  margin: 0 auto;
  padding: 12px 28px 14px;
}

.dash-breadcrumb {
  font-size: 12px;
  color: var(--text-black);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dash-breadcrumb > a {
  color: var(--text-black);
  text-decoration: none;
  /* font-weight: 500; */
  transition: opacity 0.15s;
}

.dash-breadcrumb a:hover {
  opacity: 0.75;
}
.dash-breadcrumb .sep {
  opacity: 0.4;
}

/* TOPBAR SOURCE: client/modul/standart_report/monitoring/index.php */
/* MOVED TO THEME: 2026-04-20 */
.monitoring-topbar {
  margin-bottom: 0;
}

.monitoring-topbar-inner {
  padding: 16px 32px;
}

.monitoring-topbar-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.monitoring-topbar-icon svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
}

.monitoring-topbar-title {
  font-size: 20px;
}

.monitoring-topbar-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.monitoring-topbar-text .monitoring-topbar-title {
  order: 1;
}

.monitoring-topbar-text .dash-breadcrumb {
  order: 2;
  margin-top: 2px;
  margin-bottom: 0;
}

.monitoring-header-meta {
  font-size: 12.5px;
  color: var(--text-secondary);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 5px 14px;
  font-weight: 600;
  white-space: nowrap;
}

@media (max-width: 700px) {
  .monitoring-topbar-inner {
    padding: 12px 16px;
  }

  .monitoring-topbar .dash-title-row {
    flex-wrap: wrap;
  }
}

.dash-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.dash-title-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.dash-icon-badge {
  width: 48px;
  height: 48px;
  background: var(--primary-lite);
  border: 1.5px solid var(--primary-mid);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dash-icon-badge svg {
  width: 20px !important;
  height: 20px !important;
  color: var(--primary);
  display: block;
  max-width: 100%;
  max-height: 100%;
}

.dash-main-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.3px;
  line-height: 1.2;
  margin: none;
}

/* TOPBAR SOURCE: client/modul/kurikulum/**/index.php */
/* MOVED TO THEME: 2026-04-20 */
body.topbar-legacy-hide > fieldset:first-of-type > legend:first-of-type,
body.topbar-legacy-hide .shadowed,
body.topbar-legacy-hide .shadowed.uk-h2 {
  display: none !important;
}

.dash-subtitle {
  font-size: 12.5px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.dash-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.dash-year-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-lite);
  color: var(--primary);
  border: 1px solid var(--primary-mid);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 600;
}

.dash-refresh-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: white;
  border: none;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-main);
  transition: all 0.15s;
}

.dash-refresh-btn:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.dash-refresh-btn:active {
  transform: translateY(0);
}
.dash-breadcrumb {
  font-size: 12px;
  color: var(--text-black);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dash-breadcrumb > a {
  color: var(--text-black);
  text-decoration: none;
  /* font-weight: 500; */
  transition: opacity 0.15s;
}

.dash-breadcrumb a:hover {
  opacity: 0.75;
}
.dash-breadcrumb .sep {
  opacity: 0.4;
}