/* =====================================================================
   Govinda Education — Tema aplikasi
   Palet: teal #0f766e · navy #0b2532 · emas #f2c14e
   ===================================================================== */

:root {
    --ge-teal: #0f766e;
    --ge-teal-600: #0d6b64;
    --ge-teal-700: #0b5b55;
    --ge-teal-soft: #e7f4f1;
    --ge-navy: #0b2532;
    --ge-navy-soft: #e8eef1;
    --ge-gold: #f2c14e;
    --ge-gold-dark: #d9a52c;
    --ge-gold-soft: #fdf6e3;
    --ge-bg: #f3f7f6;
    --ge-ink: #0f172a;
    --ge-muted: #64748b;
    --ge-line: #e3e9e7;
    --ge-radius: 16px;
    --ge-shadow: 0 10px 30px rgba(11, 37, 50, 0.07);
    --ge-shadow-lg: 0 18px 44px rgba(11, 37, 50, 0.12);
    --lte-sidebar-width: 266px;
    --bs-body-font-family: "Segoe UI", Inter, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    --bs-body-color: #1e293b;
    --bs-body-bg: var(--ge-bg);
    --bs-link-color: var(--ge-teal);
    --bs-link-hover-color: var(--ge-teal-700);
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--ge-bg);
    color: var(--ge-ink);
    font-family: var(--bs-body-font-family);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
}

:focus-visible {
    outline: 2px solid var(--ge-teal);
    outline-offset: 2px;
}

/* ---------------------------------------------------------------------
   Tombol & form
   --------------------------------------------------------------------- */
.btn {
    border-radius: 9px;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.48rem 0.95rem;
}

.btn-sm {
    font-size: 0.8rem;
    padding: 0.35rem 0.7rem;
}

.btn-primary {
    --bs-btn-bg: var(--ge-teal);
    --bs-btn-border-color: var(--ge-teal);
    --bs-btn-hover-bg: var(--ge-teal-700);
    --bs-btn-hover-border-color: var(--ge-teal-700);
    --bs-btn-active-bg: var(--ge-teal-700);
    --bs-btn-active-border-color: var(--ge-teal-700);
    --bs-btn-disabled-bg: var(--ge-teal);
    --bs-btn-disabled-border-color: var(--ge-teal);
    box-shadow: 0 6px 14px rgba(15, 118, 110, 0.18);
}

.btn-outline-primary {
    --bs-btn-color: var(--ge-teal);
    --bs-btn-border-color: var(--ge-teal);
    --bs-btn-hover-bg: var(--ge-teal);
    --bs-btn-hover-border-color: var(--ge-teal);
    --bs-btn-active-bg: var(--ge-teal-700);
    --bs-btn-active-border-color: var(--ge-teal-700);
}

.btn-light {
    --bs-btn-bg: #f3f6f5;
    --bs-btn-border-color: #e2e8e6;
}

.form-label {
    font-weight: 600;
    font-size: 0.82rem;
    color: #334155;
    margin-bottom: 0.35rem;
}

.form-control,
.form-select {
    border-radius: 9px;
    border-color: #d9e2e0;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--ge-teal);
    box-shadow: 0 0 0 0.2rem rgba(15, 118, 110, 0.14);
}

.form-text {
    font-size: 0.76rem;
}

.input-group-text {
    border-radius: 9px;
    background: #f8faf9;
    border-color: #d9e2e0;
    color: var(--ge-muted);
}

/* ---------------------------------------------------------------------
   Header / navbar
   --------------------------------------------------------------------- */
.app-header {
    min-height: 64px;
    padding: 0.35rem 0;
    background: #fff !important;
    border-bottom: 1px solid var(--ge-line);
    box-shadow: 0 2px 16px rgba(11, 37, 50, 0.045);
    z-index: 1035;
}

.app-header .navbar-nav .nav-link {
    color: #3f4c5a;
    border-radius: 10px;
    padding: 0.45rem 0.6rem;
    transition: background 0.15s ease, color 0.15s ease;
}

.app-header .navbar-nav .nav-link:hover {
    background: var(--ge-teal-soft);
    color: var(--ge-teal-700);
}

.nav-toggle-sidebar {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    padding: 0 !important;
}

.navbar-context {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8a9aa5;
    padding-left: 0.35rem;
}

.navbar-context-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ge-gold);
    box-shadow: 0 0 0 3px rgba(242, 193, 78, 0.2);
}

.navbar-date {
    display: inline-flex;
    align-items: center;
    font-size: 0.78rem;
    color: #55636f;
    background: #f5f8f7;
    border: 1px solid var(--ge-line);
    border-radius: 999px;
    padding: 0.38rem 0.8rem;
}

.nav-icon-btn {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    padding: 0 !important;
}

.user-trigger {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding-left: 0.55rem !important;
    padding-right: 0.35rem !important;
}

.avatar-initials {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: inline-grid;
    place-items: center;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #fff;
    background: linear-gradient(135deg, #14867c, #0b5b55);
    box-shadow: 0 5px 12px rgba(15, 118, 110, 0.24);
    flex: 0 0 auto;
}

.avatar-initials.role-admin {
    background: linear-gradient(135deg, #f7d06b, #d9a52c);
    color: #3d2c05;
    box-shadow: 0 5px 12px rgba(217, 165, 44, 0.28);
}

.avatar-initials.avatar-lg {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    font-size: 0.95rem;
}

.user-meta {
    flex-direction: column;
    line-height: 1.15;
    text-align: left;
}

.user-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: #1e293b;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-role {
    font-size: 0.66rem;
    color: #8a9aa5;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.user-dropdown {
    width: 310px;
    border: 1px solid var(--ge-line);
    border-radius: 14px;
    padding: 0.35rem;
}

.user-dropdown-head {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    padding: 0.8rem 0.75rem 0.65rem;
}

.user-dropdown-meta {
    font-size: 0.75rem;
    color: var(--ge-muted);
    padding: 0.35rem 0.85rem 0.7rem;
}

/* ---------------------------------------------------------------------
   Sidebar
   --------------------------------------------------------------------- */
.app-sidebar.sidebar-govinda {
    background:
        radial-gradient(circle at 18% 0%, rgba(242, 193, 78, 0.13), transparent 30%),
        linear-gradient(172deg, #0b2532 0%, #0c3338 46%, #0f514b 100%);
    border-right: 0;
    box-shadow: 8px 0 30px rgba(11, 37, 50, 0.12);
}

.sidebar-govinda .sidebar-brand {
    min-height: 72px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0 0.35rem;
}

.sidebar-govinda .brand-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    width: 100%;
}

.sidebar-govinda .brand-logo {
    width: 45px;
    height: 45px;
    border-radius: 13px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    flex: 0 0 auto;
}

.sidebar-govinda .brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.08;
    min-width: 0;
}

.sidebar-govinda .brand-name {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 750;
    letter-spacing: -0.02em;
}

.sidebar-govinda .brand-sub {
    color: var(--ge-gold);
    font-size: 0.61rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    margin-top: 0.2rem;
}

.sidebar-govinda .sidebar-wrapper {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 72px);
    padding-bottom: 0.75rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}

.sidebar-section-label {
    padding: 1rem 1.35rem 0.45rem;
    color: rgba(255, 255, 255, 0.38);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.sidebar-govinda .sidebar-menu {
    padding: 0 0.55rem;
}

.sidebar-govinda .sidebar-menu .nav-item {
    margin-bottom: 0.16rem;
}

.sidebar-govinda .sidebar-menu .nav-link {
    display: flex;
    align-items: center;
    gap: 0.03rem;
    color: rgba(255, 255, 255, 0.72);
    border-radius: 10px;
    padding: 0.66rem 0.75rem;
    font-size: 0.86rem;
    font-weight: 500;
    transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.sidebar-govinda .sidebar-menu .nav-link p {
    margin: 0;
    line-height: 1.2;
}

.sidebar-govinda .sidebar-menu .nav-icon {
    font-size: 1rem;
    width: 1.4rem;
    min-width: 1.4rem;
    margin-right: 0.5rem;
    opacity: 0.9;
}

.sidebar-govinda .sidebar-menu .nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    transform: translateX(2px);
}

.sidebar-govinda .sidebar-menu .nav-link.active {
    background: linear-gradient(90deg, rgba(242, 193, 78, 0.2), rgba(255, 255, 255, 0.045));
    color: #fff;
    box-shadow: inset 3px 0 0 var(--ge-gold);
    font-weight: 650;
}

.sidebar-govinda .sidebar-menu .nav-link.active .nav-icon {
    color: var(--ge-gold);
    opacity: 1;
}

.sidebar-footer-card {
    margin: auto 0.85rem 0.35rem;
    padding: 0.85rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-footer-icon {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(242, 193, 78, 0.16);
    color: var(--ge-gold);
    flex: 0 0 auto;
}

.sidebar-footer-title {
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
}

.sidebar-footer-text {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.68rem;
}

.sidebar-footer-copy {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.62rem;
    margin-top: 0.7rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding-top: 0.55rem;
}

/* ---------------------------------------------------------------------
   Konten utama
   --------------------------------------------------------------------- */
.app-main {
    background:
        radial-gradient(circle at 92% 2%, rgba(15, 118, 110, 0.045), transparent 27%),
        var(--ge-bg);
}

.app-content-header {
    padding: 1.25rem 0 0.7rem;
}

.page-heading {
    font-size: 1.5rem;
    font-weight: 750;
    letter-spacing: -0.025em;
    color: var(--ge-ink);
}

.page-subheading {
    font-size: 0.82rem;
    color: var(--ge-muted);
    margin-top: 0.3rem;
}

.breadcrumb {
    font-size: 0.78rem;
    margin-bottom: 0;
}

.breadcrumb-item a {
    color: var(--ge-teal);
    font-weight: 500;
}

.breadcrumb-item.active {
    color: #8a9aa5;
}

.app-content {
    padding-bottom: 1.25rem;
}

.app-alert {
    border: 0;
    border-left: 4px solid currentColor;
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(11, 37, 50, 0.06);
    font-size: 0.86rem;
    padding: 0.8rem 1rem;
}

.app-alert .btn-close {
    padding: 0.95rem;
}

/* ---------------------------------------------------------------------
   Kartu
   --------------------------------------------------------------------- */
.card {
    border: 1px solid rgba(227, 233, 231, 0.9);
    border-radius: var(--ge-radius);
    box-shadow: var(--ge-shadow);
    background: #fff;
}

.card-body {
    padding: 1.2rem;
}

.card-header {
    background: #fff;
    border-bottom: 1px solid var(--ge-line);
    padding: 1rem 1.2rem;
    border-radius: var(--ge-radius) var(--ge-radius) 0 0 !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.card-header > div {
    min-width: 0;
}

.card .card-title {
    float: none;
    margin: 0 0 0.12rem;
    font-weight: 700;
    font-size: 0.98rem;
    color: var(--ge-ink);
    line-height: 1.3;
}

.card-subtitle {
    font-size: 0.76rem;
    color: var(--ge-muted);
    line-height: 1.4;
}

.card-toolbar {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.74rem;
    color: var(--ge-muted);
}

/* Hero dashboard */
.dash-hero {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    padding: 1.45rem 1.65rem;
    color: #fff;
    background: linear-gradient(118deg, #0b2532 0%, #0e4547 58%, #147a70 100%);
    box-shadow: 0 18px 40px rgba(11, 37, 50, 0.18);
}

.dash-hero::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    right: -70px;
    top: -120px;
    background: radial-gradient(circle, rgba(242, 193, 78, 0.22), transparent 65%);
}

.dash-hero::after {
    content: "";
    position: absolute;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    right: 12%;
    bottom: -120px;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.dash-hero-content {
    position: relative;
    z-index: 1;
}

.dash-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ge-gold);
    margin-bottom: 0.45rem;
}

.dash-hero h2 {
    font-size: 1.32rem;
    font-weight: 700;
    margin: 0 0 0.3rem;
    letter-spacing: -0.02em;
}

.dash-hero p {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.82rem;
}

.dash-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 1rem;
}

.dash-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    padding: 0.32rem 0.65rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
}

.dash-pill-gold {
    background: rgba(242, 193, 78, 0.14);
    border-color: rgba(242, 193, 78, 0.28);
    color: #ffe7a3;
}

.dash-hero-emblem {
    position: relative;
    z-index: 1;
    width: 118px;
    height: 118px;
    display: grid;
    place-items: center;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
    margin-left: auto;
}

.dash-hero-emblem img {
    width: 72px;
    height: 72px;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.25));
}

/* Stat cards */
.stat-card {
    --stat-accent: var(--ge-teal);
    --stat-soft: var(--ge-teal-soft);
    position: relative;
    height: 100%;
    background: #fff;
    border: 1px solid rgba(227, 233, 231, 0.9);
    border-radius: 15px;
    padding: 1.05rem 1.15rem 0.95rem;
    box-shadow: var(--ge-shadow);
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.stat-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--stat-accent);
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--ge-shadow-lg);
}

.stat-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.stat-label {
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #7c8b96;
    line-height: 1.35;
}

.stat-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    color: var(--stat-accent);
    background: var(--stat-soft);
    font-size: 1rem;
    flex: 0 0 auto;
}

.stat-value {
    font-size: 1.55rem;
    font-weight: 750;
    color: var(--ge-ink);
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin: 0.4rem 0 0.2rem;
    font-variant-numeric: tabular-nums;
}

.stat-value.stat-money {
    font-size: 1.32rem;
}

.stat-meta {
    font-size: 0.7rem;
    color: var(--ge-muted);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.stat-meta .bi {
    font-size: 0.72rem;
}

.stat-teal { --stat-accent: #0f766e; --stat-soft: #e6f4f1; }
.stat-gold { --stat-accent: #c9931e; --stat-soft: #fdf4df; }
.stat-navy { --stat-accent: #244b5d; --stat-soft: #e8eef1; }
.stat-blue { --stat-accent: #2563eb; --stat-soft: #e8effd; }
.stat-green { --stat-accent: #15803d; --stat-soft: #e8f6ed; }
.stat-rose { --stat-accent: #be123c; --stat-soft: #fbeaef; }

.text-teal { color: var(--ge-teal) !important; }
.text-gold { color: var(--ge-gold-dark) !important; }
.bg-teal-soft { background: var(--ge-teal-soft) !important; }

/* Grafik */
.chart-box {
    position: relative;
    height: 296px;
}

.chart-box-sm {
    height: 246px;
}

.chart-empty {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--ge-muted);
    font-size: 0.8rem;
    gap: 0.45rem;
    background: rgba(255, 255, 255, 0.72);
    border-radius: 12px;
}

.chart-empty i {
    font-size: 1.5rem;
    color: #b6c3c8;
}

.legend-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.9rem;
    font-size: 0.72rem;
    color: var(--ge-muted);
}

.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 0.35rem;
}

.chart-stat-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 0.85rem;
    margin-top: 0.6rem;
    border-top: 1px dashed var(--ge-line);
    font-size: 0.74rem;
    color: var(--ge-muted);
}

.chart-stat-row strong {
    color: var(--ge-ink);
    font-size: 0.86rem;
    display: block;
    font-variant-numeric: tabular-nums;
}

.doughnut-wrap {
    display: grid;
    place-items: center;
}

.doughnut-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    line-height: 1.1;
}

.doughnut-center span {
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8a9aa5;
}

.doughnut-center strong {
    font-size: 1.6rem;
    font-weight: 750;
    color: var(--ge-ink);
    font-variant-numeric: tabular-nums;
    margin: 0.18rem 0 0.1rem;
}

.doughnut-center small {
    font-size: 0.64rem;
    color: var(--ge-muted);
}

.status-row {
    padding: 0.45rem 0.65rem;
    border: 1px solid #eef2f1;
    border-radius: 9px;
    background: #fbfcfc;
}

.status-row-label {
    font-size: 0.76rem;
    color: #475569;
    font-weight: 600;
}

.status-row-value {
    font-size: 0.74rem;
    color: #475569;
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.status-row-value small {
    display: block;
    color: #8a9aa5;
    font-size: 0.64rem;
}

.financial-note {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin-top: 1rem;
    padding: 0.75rem 0.9rem;
    border-radius: 11px;
    border: 1px dashed #d8e5e1;
    background: #f8fbfa;
    color: #64748b;
    font-size: 0.74rem;
    line-height: 1.55;
}

.financial-note i {
    color: var(--ge-teal);
    margin-top: 0.1rem;
}

.financial-note strong {
    color: #334155;
}

/* ---------------------------------------------------------------------
   Tabel
   --------------------------------------------------------------------- */
.table-modern {
    margin-bottom: 0;
    font-size: 0.84rem;
    --bs-table-bg: transparent;
    --bs-table-hover-bg: #f7faf9;
}

.table-modern > thead th {
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7f8d97;
    border-bottom: 1px solid var(--ge-line);
    padding: 0.7rem 0.75rem;
    white-space: nowrap;
    background: #fbfcfc;
}

.table-modern > tbody > tr > td {
    padding: 0.72rem 0.75rem;
    border-bottom: 1px solid #eef2f1;
    vertical-align: middle;
    color: #334155;
}

.table-modern > tbody > tr:last-child > td {
    border-bottom: 0;
}

.table-modern .amount {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    color: var(--ge-ink);
    white-space: nowrap;
}

.table-modern .invoice-number {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.76rem;
    color: var(--ge-teal-700);
    font-weight: 600;
}

.table-modern .cell-title {
    font-weight: 600;
    color: var(--ge-ink);
    display: block;
    line-height: 1.25;
}

.table-modern .cell-sub {
    font-size: 0.7rem;
    color: var(--ge-muted);
    display: block;
    margin-top: 0.1rem;
}

.table-modern tr.row-overdue td {
    background: #fffafb;
}

.badge {
    font-weight: 600;
    font-size: 0.68rem;
    padding: 0.36em 0.7em;
    border-radius: 6px;
    letter-spacing: 0.01em;
}

.badge-method {
    font-weight: 600;
}

.due-date {
    font-size: 0.76rem;
    white-space: nowrap;
}

.due-date.is-overdue {
    color: #be123c;
    font-weight: 600;
}

.log-description {
    display: block;
    max-width: 520px;
    color: #475569;
    line-height: 1.45;
}

.pagination {
    --bs-pagination-color: var(--ge-teal);
    --bs-pagination-hover-color: var(--ge-teal-700);
    --bs-pagination-active-bg: var(--ge-teal);
    --bs-pagination-active-border-color: var(--ge-teal);
    --bs-pagination-focus-box-shadow: 0 0 0 0.2rem rgba(15, 118, 110, 0.14);
    font-size: 0.78rem;
}

.pagination .page-link {
    border-radius: 7px;
    margin: 0 2px;
    border-color: var(--ge-line);
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 2.1rem 1rem;
    color: var(--ge-muted);
}

.empty-state-icon {
    width: 52px;
    height: 52px;
    border-radius: 15px;
    display: inline-grid;
    place-items: center;
    background: #f2f7f5;
    color: #9db0ad;
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.empty-state-title {
    color: #475569;
    font-weight: 650;
    font-size: 0.88rem;
    margin-bottom: 0.2rem;
}

.empty-state-text {
    font-size: 0.76rem;
    margin: 0;
}

/* ---------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------- */
.app-footer {
    background: #fff;
    border-top: 1px solid var(--ge-line);
    color: #64748b;
    font-size: 0.76rem;
    padding: 0.9rem 1.5rem;
}

.footer-version {
    display: inline-block;
    background: var(--ge-teal-soft);
    color: var(--ge-teal-700);
    border-radius: 999px;
    padding: 0.2rem 0.55rem;
    font-size: 0.68rem;
    font-weight: 700;
}

/* ---------------------------------------------------------------------
   Responsif
   --------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .page-heading {
        font-size: 1.32rem;
    }

    .dash-hero {
        padding: 1.25rem 1.3rem;
    }

    .dash-hero-emblem {
        width: 92px;
        height: 92px;
        border-radius: 24px;
    }

    .dash-hero-emblem img {
        width: 58px;
        height: 58px;
    }

    .stat-value {
        font-size: 1.4rem;
    }

    .stat-value.stat-money {
        font-size: 1.18rem;
    }
}

@media (max-width: 767.98px) {
    .app-content-header {
        padding-top: 1rem;
    }

    .breadcrumb {
        margin-top: 0.35rem;
    }

    .stat-card {
        padding: 0.9rem 1rem;
    }

    .stat-label {
        font-size: 0.59rem;
    }

    .stat-icon {
        width: 34px;
        height: 34px;
        border-radius: 9px;
    }

    .chart-box {
        height: 260px;
    }

    .card-body {
        padding: 1rem;
    }

    .card-header {
        padding: 0.9rem 1rem;
    }

    .app-footer {
        text-align: center;
    }

    .app-footer .float-end {
        float: none !important;
    }
}

@media (max-width: 575.98px) {
    .dash-hero h2 {
        font-size: 1.12rem;
    }

    .dash-hero p {
        font-size: 0.76rem;
    }

    .stat-value {
        font-size: 1.25rem;
    }

    .stat-value.stat-money {
        font-size: 1.02rem;
    }

    .stat-meta {
        font-size: 0.64rem;
    }
}

/* ---------------------------------------------------------------------
   Master Data (Tahap 2)
   --------------------------------------------------------------------- */
.master-table-wrap {
    padding: 0.85rem 1rem 1rem;
}

.master-table-wrap .dt-container {
    font-size: 0.84rem;
}

.master-table-wrap .table-modern {
    font-size: 0.81rem;
}

.master-table-wrap .table-modern > thead th {
    padding: 0.62rem 0.55rem;
}

.master-table-wrap .table-modern > tbody > tr > td {
    padding: 0.62rem 0.55rem;
}

.master-table-wrap .avatar-photo {
    width: 36px;
    height: 36px;
    border-radius: 10px;
}

.master-table-wrap .dt-layout-row:first-child {
    margin-top: 0 !important;
}

.master-table-wrap .dt-search input {
    min-width: 230px;
}

.master-table-wrap .dt-length select {
    width: auto;
    display: inline-block;
}

.master-table-wrap .dt-info {
    font-size: 0.74rem;
    color: #64748b;
}

.master-table-wrap table.dataTable > thead > tr > th {
    white-space: normal;
}

.master-table-wrap table.dataTable th:first-child,
.master-table-wrap table.dataTable td:first-child {
    padding-left: 0.35rem;
    padding-right: 0.3rem;
}

.master-table-wrap table.dataTable th:nth-child(2),
.master-table-wrap table.dataTable td:nth-child(2) {
    padding-left: 0.3rem;
    padding-right: 0.3rem;
}

.master-table-wrap table.dataTable td .font-monospace {
    white-space: nowrap;
}

/* Kolom aksi tetap terlihat saat tabel digeser horizontal */
.master-table-wrap table.dataTable > thead > tr > th:last-child,
.master-table-wrap table.dataTable > tbody > tr > td:last-child {
    position: sticky;
    right: 0;
    background: #fff;
    z-index: 2;
    box-shadow: -10px 0 14px -14px rgba(11, 37, 50, 0.45);
}

.master-table-wrap table.dataTable > thead > tr > th:last-child {
    background: #fbfcfc;
}

.master-table-wrap table.dataTable > tbody > tr:hover > td:last-child {
    background: #f7faf9;
}

.photo-link {
    display: inline-block;
    line-height: 0;
}

.avatar-photo {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    object-fit: cover;
    background: #f1f7f5;
    border: 1px solid var(--ge-line);
}

.table-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.22rem;
}

.table-actions form {
    display: inline-flex;
    margin: 0;
}

.table-actions .btn {
    padding: 0.22rem 0.38rem;
    font-size: 0.74rem;
    line-height: 1.2;
    border-radius: 7px;
}

.master-note {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin-top: 1rem;
    padding: 0.75rem 0.9rem;
    border-radius: 11px;
    border: 1px dashed #d8e5e1;
    background: #f8fbfa;
    color: #64748b;
    font-size: 0.74rem;
    line-height: 1.55;
}

.master-note i {
    color: var(--ge-teal);
    margin-top: 0.1rem;
}

.profile-card {
    padding: 1.5rem 1.2rem;
}

.profile-photo {
    width: 124px;
    height: 124px;
    border-radius: 30px;
    object-fit: cover;
    background: #f1f7f5;
    border: 4px solid #fff;
    box-shadow: 0 12px 30px rgba(11, 37, 50, 0.14);
    margin-bottom: 0.9rem;
}

.profile-name {
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--ge-ink);
    margin: 0;
}

.profile-code {
    font-size: 0.75rem;
    color: var(--ge-muted);
    margin-top: 0.15rem;
}

.profile-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem 0.95rem;
    margin-top: 0.9rem;
    font-size: 0.72rem;
    color: #64748b;
}

.profile-meta span {
    display: inline-flex;
    align-items: center;
}

.detail-list {
    margin: 0;
}

.detail-row {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 0.7rem;
    padding: 0.45rem 0;
    border-bottom: 1px dashed #edf2f1;
}

.detail-row:last-child {
    border-bottom: 0;
}

.detail-row dt {
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #7f8d97;
    margin: 0;
}

.detail-row dd {
    margin: 0;
    font-size: 0.83rem;
    color: #243b4a;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.photo-preview {
    width: 156px;
    height: 156px;
    object-fit: cover;
    border-radius: 20px;
    border: 1px solid var(--ge-line);
    background: #f1f7f5;
}

.chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.chip {
    display: inline-flex;
    align-items: center;
    padding: 0.38rem 0.72rem;
    border-radius: 9px;
    background: #ecf7f4;
    border: 1px solid #d5eae5;
    color: #0b5f59;
    font-size: 0.76rem;
    font-weight: 600;
    text-decoration: none;
}

.chip:hover {
    background: #ddf0eb;
    color: #0b4f4a;
}

.chip-muted {
    background: #f8fafc;
    border-color: #e6ecf0;
    color: #64748b;
}

.chip-note {
    margin-left: 0.35rem;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #94a3b8;
}

.subject-emblem {
    width: 92px;
    height: 92px;
    margin: 0 auto 0.8rem;
    border-radius: 28px;
    display: grid;
    place-items: center;
    font-size: 2.2rem;
    color: var(--ge-gold);
    background: linear-gradient(140deg, var(--ge-teal), var(--ge-navy));
    box-shadow: 0 12px 28px rgba(11, 37, 50, 0.18);
}

.usage-box {
    padding: 0.95rem;
    border-radius: 12px;
    border: 1px dashed #d8e5e1;
    background: #f6faf9;
    text-align: center;
}

.usage-value {
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1;
    color: var(--ge-teal);
}

.usage-label {
    margin-top: 0.3rem;
    font-size: 0.7rem;
    color: #64748b;
}

/* ---------------------------------------------------------------------
   Akademik: ringkasan, aturan, kapasitas
   --------------------------------------------------------------------- */
.mini-stat {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    height: 100%;
    padding: 0.9rem 1rem;
    background: #fff;
    border: 1px solid var(--ge-line);
    border-radius: 14px;
    box-shadow: var(--ge-shadow);
    color: inherit;
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

a.mini-stat {
    text-decoration: none;
}

.mini-stat-link:hover {
    transform: translateY(-2px);
    border-color: #cfe5df;
    box-shadow: var(--ge-shadow-lg);
    color: inherit;
}

.mini-stat-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    font-size: 1.15rem;
    background: #eef4f3;
    color: var(--ge-teal);
}

.mini-stat-teal { background: #e6f4f1; color: #0f766e; }
.mini-stat-gold { background: #fdf4df; color: #b78113; }
.mini-stat-navy { background: #e8eef1; color: #244b5d; }
.mini-stat-rose { background: #fbeaef; color: #be123c; }
.mini-stat-blue { background: #e8effd; color: #2563eb; }

.mini-stat-value {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--ge-ink);
}

.mini-stat-label {
    font-size: 0.73rem;
    color: var(--ge-muted);
    line-height: 1.35;
}

.rule-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.7rem;
}

.rule-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.78rem;
    line-height: 1.5;
    color: #475569;
}

.rule-icon {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    font-size: 0.8rem;
    background: #eef4f3;
    color: var(--ge-teal);
}

.rule-private { background: #e8effd; color: #2563eb; }
.rule-group { background: #fdf4df; color: #b78113; }
.rule-lock { background: #fbeaef; color: #be123c; }
.rule-clock { background: #e8eef1; color: #244b5d; }
.rule-check { background: #e6f4f1; color: #0f766e; }

.capacity-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    background: #e6f4f1;
    color: #0b5f59;
    white-space: nowrap;
}

.capacity-badge.is-full {
    background: #fdf0d4;
    color: #92620a;
}

.capacity-badge.is-empty {
    background: #f4f6f8;
    color: #64748b;
}

.schedule-chip {
    display: inline-block;
    padding: 0.16rem 0.45rem;
    margin: 0 0.12rem 0.2rem 0;
    border-radius: 7px;
    background: #f1f7f5;
    border: 1px solid #dcebe7;
    color: #0b5f59;
    font-size: 0.68rem;
    font-weight: 600;
    white-space: nowrap;
}

/* ---------------------------------------------------------------------
   Akademik: identitas group, tab, info tile, timeline
   --------------------------------------------------------------------- */
.group-emblem {
    width: 74px;
    height: 74px;
    flex: 0 0 74px;
    border-radius: 22px;
    display: grid;
    place-items: center;
    font-size: 1.8rem;
    color: var(--ge-gold);
    background: linear-gradient(140deg, var(--ge-teal), var(--ge-navy));
    box-shadow: 0 12px 28px rgba(11, 37, 50, 0.18);
}

.group-tabs {
    border-bottom: 0;
    gap: 0.15rem;
}

.group-tabs .nav-link {
    border: 0;
    border-radius: 10px 10px 0 0;
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.6rem 0.9rem;
}

.group-tabs .nav-link:hover {
    background: #f1f7f5;
    color: var(--ge-teal);
}

.group-tabs .nav-link.active {
    background: #fff;
    color: var(--ge-teal);
    border-bottom: 2px solid var(--ge-teal);
}

.info-tile {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.9rem;
    border: 1px solid var(--ge-line);
    border-radius: 13px;
    background: #f8fbfa;
}

.info-tile-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #e6f4f1;
    color: var(--ge-teal);
    font-size: 1.05rem;
}

.info-tile-label {
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #7f8d97;
}

.info-tile-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--ge-ink);
}

.info-tile-sub {
    font-size: 0.72rem;
    color: var(--ge-muted);
}

.section-mini-title {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #7f8d97;
    margin: 0 0 0.7rem;
}

.timeline-list {
    list-style: none;
    margin: 0;
    padding: 0 0 0 0.2rem;
    display: grid;
    gap: 0.75rem;
    border-left: 2px solid #edf2f1;
}

.timeline-item {
    display: flex;
    gap: 0.65rem;
    padding-left: 0.6rem;
    position: relative;
}

.timeline-icon {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #e6f4f1;
    color: var(--ge-teal);
    font-size: 0.78rem;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #dcebe7;
}

.timeline-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--ge-ink);
}

.timeline-text {
    font-size: 0.75rem;
    color: #475569;
    line-height: 1.5;
}

.timeline-time {
    font-size: 0.68rem;
    color: #94a3b8;
}

/* ---------------------------------------------------------------------
   Akademik: jadwal
   --------------------------------------------------------------------- */
.schedule-hero {
    padding: 1.1rem 1.2rem;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--ge-teal), var(--ge-navy));
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem 1rem;
}

.schedule-hero-day {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ge-gold);
}

.schedule-hero-time {
    font-size: 1.5rem;
    font-weight: 800;
    display: inline-flex;
    align-items: baseline;
    gap: 0.4rem;
}

.schedule-hero-time span {
    font-size: 1rem;
    opacity: 0.7;
}

.schedule-hero-room {
    font-size: 0.78rem;
    opacity: 0.85;
    margin-left: auto;
}

.schedule-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.schedule-list-item {
    border-bottom: 1px dashed #edf2f1;
}

.schedule-list-item:last-child {
    border-bottom: 0;
}

.schedule-list-item.is-current {
    background: #f1f9f6;
}

.schedule-list-item a {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.6rem;
    padding: 0.6rem 0.9rem;
    color: inherit;
    text-decoration: none;
}

.schedule-list-item a:hover {
    background: #f7faf9;
}

.schedule-day {
    font-size: 0.76rem;
    font-weight: 700;
    min-width: 56px;
}

.schedule-time {
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--ge-teal);
}

.schedule-room {
    font-size: 0.7rem;
    color: var(--ge-muted);
    margin-right: auto;
}

.week-grid-wrap {
    overflow-x: auto;
    padding-bottom: 0.35rem;
}

.week-grid {
    width: 100%;
    min-width: 980px;
    border-collapse: separate;
    border-spacing: 8px 0;
}

.week-grid th {
    padding: 0.55rem 0.4rem;
    border-radius: 10px;
    background: #f3f9f7;
    color: #0b5f59;
    font-size: 0.74rem;
    font-weight: 800;
    text-align: center;
    white-space: nowrap;
}

.week-grid th.is-weekend {
    background: #fdf6e3;
    color: #92620a;
}

.week-grid-count {
    display: inline-block;
    min-width: 18px;
    margin-left: 0.25rem;
    padding: 0.05rem 0.3rem;
    border-radius: 999px;
    background: #fff;
    color: #64748b;
    font-size: 0.62rem;
}

.week-grid td {
    width: 14.28%;
    min-width: 132px;
    vertical-align: top;
    padding: 0.4rem;
    border-radius: 12px;
    background: #f8fbfa;
    border: 1px solid #edf2f1;
}

.week-grid td.is-weekend {
    background: #fffbf1;
    border-color: #f5ead1;
}

.week-empty {
    display: grid;
    place-items: center;
    min-height: 78px;
    color: #cbd5d9;
    font-size: 1.1rem;
}

.week-card {
    display: flex;
    flex-direction: column;
    gap: 0.14rem;
    padding: 0.5rem 0.55rem;
    margin-bottom: 0.4rem;
    border-radius: 9px;
    background: #fff;
    border: 1px solid #dcebe7;
    border-left: 4px solid var(--ge-teal);
    box-shadow: 0 4px 10px rgba(11, 37, 50, 0.04);
    color: inherit;
    text-decoration: none;
}

.week-card:last-child {
    margin-bottom: 0;
}

.week-card:hover {
    border-left-color: var(--ge-gold);
    box-shadow: 0 8px 18px rgba(11, 37, 50, 0.09);
    color: inherit;
}

.week-card-time {
    font-size: 0.64rem;
    font-weight: 800;
    color: var(--ge-teal);
}

.week-card-title {
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--ge-ink);
    line-height: 1.3;
}

.week-card-meta {
    font-size: 0.64rem;
    color: var(--ge-muted);
    line-height: 1.35;
}

.week-card-type {
    align-self: flex-start;
    margin-top: 0.15rem;
    padding: 0.05rem 0.35rem;
    border-radius: 5px;
    background: #f1f7f5;
    color: #0b5f59;
    font-size: 0.58rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

@media (max-width: 575.98px) {
    .group-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.25rem;
    }

    .group-tabs .nav-link {
        white-space: nowrap;
        font-size: 0.76rem;
    }

    .schedule-hero-room {
        margin-left: 0;
    }

    .mini-stat {
        padding: 0.75rem 0.85rem;
    }

    .mini-stat-value {
        font-size: 1.15rem;
    }
}

/* ---------------------------------------------------------------------
   Tahap 4 - Paket pertemuan, tagihan paket, pembayaran
   --------------------------------------------------------------------- */
.amount {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    color: var(--ge-ink);
    white-space: nowrap;
}

.invoice-number {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.76rem;
    color: var(--ge-teal-700);
    font-weight: 600;
    letter-spacing: 0.01em;
}

a.invoice-number:hover {
    color: var(--ge-teal-800, #115e59);
    text-decoration: underline;
}

.card-panel {
    padding: 1rem 1.1rem;
    border: 1px solid var(--ge-line);
    border-radius: 16px;
    background: #fbfdfd;
}

.package-progress {
    background: linear-gradient(135deg, #f2fbf9 0%, #f8fafc 100%);
    border-color: #cfe8e2;
}

.package-progress .progress {
    background-color: #e2ece9;
    border-radius: 999px;
    overflow: hidden;
}

.package-progress .progress-bar {
    border-radius: 999px;
    transition: width 0.3s ease;
}

.package-progress-label {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
}

/* Nominal yang dikunci sistem (wajib lunas, tidak bisa diubah) */
.amount-locked {
    background-color: #f1f5f9 !important;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    color: var(--ge-ink);
    cursor: not-allowed;
}

.amount-locked:focus {
    box-shadow: none;
    border-color: var(--ge-line);
}

/* Panel tindakan administratif yang diaudit (recount / batal paket) */
.admin-action {
    border: 1px dashed #d5e2df;
    border-radius: 12px;
    padding: 0.65rem 0.85rem;
    background: #fbfdfc;
}

.admin-action > summary {
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 700;
    color: #334155;
    list-style: none;
}

.admin-action > summary::-webkit-details-marker {
    display: none;
}

.admin-action > summary::before {
    content: "\F4FE";
    font-family: "bootstrap-icons";
    margin-right: 0.4rem;
    color: var(--ge-teal-700);
}

.admin-action[open] > summary::before {
    content: "\F2EA";
}

.admin-action[open] {
    background: #fff;
    border-style: solid;
}

/* Ringkasan keuangan: diterbitkan vs diterima */
.finance-split {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.finance-split-item {
    border-left: 3px solid var(--ge-teal-700);
    padding-left: 0.75rem;
}

.finance-split-item.is-received {
    border-left-color: var(--ge-gold, #f59e0b);
}

.finance-split-label {
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #7f8d97;
}

.finance-split-value {
    font-size: 1.05rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: var(--ge-ink);
}

@media (max-width: 575.98px) {
    .package-progress {
        padding: 0.85rem 0.9rem;
    }

    .card-panel {
        padding: 0.85rem 0.9rem;
    }
}

/* ---------------------------------------------------------------------
   Profil bimbel
   --------------------------------------------------------------------- */
.profile-logo-preview {
    width: 168px;
    height: 168px;
    object-fit: contain;
    border-radius: 24px;
    border: 1px solid var(--ge-line);
    background: #f1f7f5;
    padding: 14px;
}

.sidebar-govinda .brand-logo {
    object-fit: contain;
}

.sidebar-govinda .brand-name,
.sidebar-govinda .brand-sub {
    overflow-wrap: anywhere;
}

.dash-hero-emblem img {
    object-fit: contain;
}

/* Latar kontras otomatis untuk logo kustom. */
.logo-tile-light,
.logo-tile-dark {
    box-sizing: border-box;
    padding: 5px;
    border-radius: 9px;
}

.logo-tile-light {
    background: #f8fafc;
}

.logo-tile-dark {
    background: #0b2532;
}

/* ---------------------------------------------------------------------
   Cetak
   --------------------------------------------------------------------- */
@media print {
    body {
        background: #fff !important;
    }

    .app-sidebar,
    .app-header,
    .app-footer,
    .breadcrumb,
    .btn,
    .no-print {
        display: none !important;
    }

    .app-main {
        margin: 0 !important;
        background: #fff !important;
    }

    .app-content {
        padding: 0 !important;
    }

    .card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }

    a {
        color: inherit !important;
        text-decoration: none !important;
    }
}
