:root {
    --primary: #3b5bfd;
    --primary-2: #6b4cff;
    --sidebar: #071b34;
    --sidebar-2: #092442;
    --sidebar-3: #06172d;
    --bg: #f7f9fc;
    --card: #ffffff;
    --text: #101828;
    --muted: #667085;
    --border: #e6eaf0;
    --success: #16a34a;
    --danger: #ef4444;
    --warning: #f97316;
    --purple: #7c3aed;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    background: var(--bg);
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    color: var(--text);
}

/* LOGIN */
.login-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, .35), transparent 35%),
        linear-gradient(135deg, #06162d, #0b1f3a 45%, #123d76);
}

.login-card {
    border-radius: 26px;
    overflow: hidden;
}

.login-logo {
    width: 62px;
    height: 62px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary), #60a5fa);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    margin-bottom: 14px;
    box-shadow: 0 15px 30px rgba(37, 99, 235, .35);
}

/* APP */
.app-wrapper {
    display: flex;
    min-height: 100vh;
}

/* SIDEBAR 100% FOTO */
.sidebar {
    width: 280px;
    min-width: 280px;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    overflow-y: auto;
    background:
        radial-gradient(circle at top left, rgba(59, 91, 253, .14), transparent 32%),
        linear-gradient(180deg, #071b34 0%, #092442 45%, #06172d 100%);
    padding: 20px 16px 18px;
    color: #fff;
    box-shadow: 12px 0 36px rgba(15, 23, 42, .16);
    z-index: 999;
}

.sidebar::-webkit-scrollbar {
    width: 4px;
}

.sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, .18);
    border-radius: 99px;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 32px;
    padding: 0 4px;
}

.brand-logo {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: #ffffff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
    flex: 0 0 46px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, .22);
}

.brand-title {
    font-size: 18px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -.4px;
    line-height: 1.1;
}

.brand-subtitle {
    font-size: 12px;
    color: #aebbd0;
    margin-top: 5px;
    line-height: 1.2;
}

.sidebar-section {
    font-size: 11px;
    font-weight: 800;
    color: #8798b0;
    letter-spacing: .45px;
    margin: 24px 6px 10px;
    text-transform: uppercase;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 11px 12px;
    margin-bottom: 5px;
    border-radius: 10px;
    color: #dbe5f4;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    transition: all .16s ease;
}

.sidebar-link i:first-child {
    width: 22px;
    min-width: 22px;
    text-align: center;
    font-size: 18px;
    color: #e9f0fb;
}

.sidebar-link span {
    flex: 1;
    white-space: nowrap;
}

.sidebar-link .bi-chevron-down {
    font-size: 12px;
    color: #9babbe;
    margin-left: auto;
}

.sidebar-link:hover {
    background: rgba(255, 255, 255, .075);
    color: #ffffff;
}

.sidebar-link.active {
    background: linear-gradient(135deg, #2f6df6 0%, #5b45f5 100%);
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(47, 109, 246, .34);
}

.sidebar-link.active i,
.sidebar-link.active .bi-chevron-down {
    color: #ffffff;
}

.sidebar-info {
    margin: 27px 0 14px;
    padding: 15px 13px;
    border-radius: 15px;
    background: rgba(255, 255, 255, .075);
    border: 1px solid rgba(255, 255, 255, .06);
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f59e0b, #22c55e);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    flex: 0 0 44px;
}

.sidebar-info-title {
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}

.sidebar-info-subtitle {
    font-size: 11px;
    color: #b7c4d8;
    margin-bottom: 7px;
}

.sidebar-info span {
    display: inline-block;
    font-size: 10px;
    color: #baf7cf;
    background: rgba(34, 197, 94, .18);
    padding: 4px 8px;
    border-radius: 999px;
}

.logout-link {
    color: #fecaca !important;
}

.logout-link:hover {
    background: rgba(239, 68, 68, .14) !important;
}

/* MAIN */
.main-content {
    margin-left: 280px;
    width: calc(100% - 280px);
    min-height: 100vh;
    background: #f7f9fc;
}

/* TOPBAR MIRIP FOTO */
.topbar {
    height: 72px;
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid #e7ebf2;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(14px);
}

.topbar::before {
    content: "\F479";
    font-family: "bootstrap-icons";
    font-size: 24px;
    color: #0f2746;
}

.topbar > div:first-child {
    display: none;
}

/* CONTENT */
.container-fluid {
    padding-left: 24px !important;
    padding-right: 24px !important;
}

.page-title {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -.65px;
    margin-bottom: 4px;
    color: #0f172a;
}

.page-subtitle {
    color: #475467;
    margin: 0;
    font-size: 14px;
}

/* CARD */
.card {
    border: 1px solid #e7ebf2 !important;
    border-radius: 15px !important;
    background: #fff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .045) !important;
}

.card-body {
    padding: 22px;
}

.card-header {
    background: transparent;
    border-bottom: 1px solid #eef2f7;
    padding: 18px 20px;
    font-weight: 800;
}

/* STAT */
.stat-card {
    min-height: 132px;
}

.stat-card:hover {
    transform: translateY(-2px);
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 14px;
    box-shadow: 0 12px 24px rgba(15, 23, 42, .12);
}

.stat-label {
    font-size: 13px;
    color: #334155;
    margin-bottom: 6px;
}

.stat-value {
    font-weight: 900;
    font-size: 23px;
    color: #101828;
    letter-spacing: -.4px;
}

.bg-primary-subtle {
    background: linear-gradient(135deg, #2f80ed, #2563eb) !important;
    color: #fff !important;
}

.bg-success-subtle {
    background: linear-gradient(135deg, #34d399, #16a34a) !important;
    color: #fff !important;
}

.bg-warning-subtle {
    background: linear-gradient(135deg, #fb923c, #f97316) !important;
    color: #fff !important;
}

.bg-danger-subtle {
    background: linear-gradient(135deg, #fb7185, #ef4444) !important;
    color: #fff !important;
}

.text-primary,
.text-success,
.text-warning,
.text-danger {
    color: inherit !important;
}

/* TABLE */
.table {
    vertical-align: middle;
}

.table thead th {
    color: #475467;
    font-size: 13px;
    font-weight: 800;
    background: #f8fafc;
    border-bottom: 1px solid var(--border);
}

.table tbody td {
    border-color: #eef2f7;
    color: #344054;
}

/* BADGE */
.badge {
    border-radius: 999px;
    padding: 7px 10px;
    font-weight: 700;
}

.info-box {
    border-radius: 16px;
    padding: 18px;
    background: linear-gradient(135deg, #eff6ff, #ffffff);
    border: 1px solid #dbeafe;
}

.mini-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mini-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eef2f7;
}

.mini-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.mini-title {
    font-weight: 800;
    font-size: 14px;
}

.mini-subtitle {
    color: #667085;
    font-size: 12px;
}

.amount-plus {
    color: #16a34a;
    font-weight: 900;
}

.amount-minus {
    color: #ef4444;
    font-weight: 900;
}

/* CHART */
.chart-placeholder {
    height: 290px;
    border-radius: 16px;
    background:
        linear-gradient(to top, rgba(34, 197, 94, .05), transparent),
        repeating-linear-gradient(to top, #edf1f7 0, #edf1f7 1px, transparent 1px, transparent 58px);
    position: relative;
    padding: 30px 22px 38px;
    overflow: hidden;
}

.chart-bars {
    height: 100%;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.chart-month {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: end;
    justify-content: center;
    gap: 4px;
    position: relative;
}

.chart-month small {
    position: absolute;
    bottom: -26px;
    font-size: 11px;
    color: #667085;
}

.bar {
    width: 9px;
    border-radius: 20px 20px 0 0;
}

.bar-green {
    background: linear-gradient(to top, #16a34a, #86efac);
}

.bar-red {
    background: linear-gradient(to top, #ef4444, #fca5a5);
}

/* DONUT */
.payment-status {
    display: flex;
    align-items: center;
    gap: 24px;
}

.donut {
    width: 138px;
    height: 138px;
    border-radius: 50%;
    background:
        conic-gradient(
            #22c55e 0 calc(var(--p1) * 1%),
            #fb923c calc(var(--p1) * 1%) calc((var(--p1) + var(--p2)) * 1%),
            #ef4444 calc((var(--p1) + var(--p2)) * 1%) 100%
        );
    position: relative;
}

.donut::after {
    content: "";
    position: absolute;
    inset: 34px;
    background: #fff;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px #eef2f7;
}

.status-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 14px;
}

.status-list div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    display: inline-block;
    border-radius: 50%;
    margin-right: 6px;
}

.progress {
    background: #e5e7eb;
    border-radius: 999px;
}

.progress-bar {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    border-radius: 999px;
}

/* FORM */
.form-control,
.form-select {
    border-radius: 12px;
    border: 1px solid #dbe1ea;
    padding: 10px 13px;
}

.form-control:focus,
.form-select:focus {
    border-color: #3b5bfd;
    box-shadow: 0 0 0 4px rgba(59, 91, 253, .12);
}

.btn {
    border-radius: 12px;
    padding: 10px 14px;
    font-weight: 700;
}

.btn-primary {
    background: linear-gradient(135deg, #2f6df6, #5b45f5);
    border: none;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .sidebar {
        width: 260px;
        min-width: 260px;
    }

    .main-content {
        margin-left: 260px;
        width: calc(100% - 260px);
    }
}

@media (max-width: 768px) {
    .app-wrapper {
        display: block;
    }

    .sidebar {
        position: relative;
        width: 100%;
        min-width: 100%;
        height: auto;
        border-radius: 0 0 24px 24px;
    }

    .main-content {
        margin-left: 0;
        width: 100%;
    }

    .topbar {
        height: 60px;
        padding: 0 16px;
    }

    .container-fluid {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .page-title {
        font-size: 24px;
    }

    .stat-icon {
        width: 48px;
        height: 48px;
        font-size: 22px;
    }

    .stat-value {
        font-size: 17px;
    }

    .card-body {
        padding: 16px;
    }

    .chart-placeholder {
        height: 230px;
        padding: 24px 12px 34px;
    }

    .chart-bars {
        gap: 4px;
    }

    .bar {
        width: 6px;
    }

    .payment-status {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Dashboard screenshot match */
body {
    background: #f8fafc;
}

.sidebar {
    width: 300px;
    min-width: 300px;
    padding: 24px 18px 20px;
    background: linear-gradient(180deg, #081c35 0%, #0b2747 52%, #071a31 100%);
    box-shadow: none;
}

.brand-logo {
    width: 48px;
    height: 48px;
    border-radius: 18px;
    padding: 4px;
    overflow: hidden;
    font-size: 24px;
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.brand-title {
    font-size: 24px;
    letter-spacing: -1px;
}

.brand-subtitle {
    font-size: 14px;
    color: #c0ccdd;
}

.sidebar-brand {
    margin-bottom: 38px;
}

.sidebar-section {
    margin: 25px 9px 12px;
    font-size: 12px;
    color: #90a1b8;
}

.sidebar-link {
    min-height: 47px;
    border-radius: 8px;
    padding: 12px 13px;
    margin-bottom: 6px;
    font-size: 15px;
    color: #ecf3fc;
}

.sidebar-link.active {
    background: linear-gradient(135deg, #2f74ff 0%, #6044f3 100%);
    box-shadow: 0 12px 28px rgba(74, 91, 255, .36);
}

.sidebar-info {
    min-height: 122px;
    border-radius: 10px;
    margin-top: 30px;
    padding: 17px 15px;
    background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
}

.sidebar-info-icon {
    width: 62px;
    height: 70px;
    border-radius: 0;
    background: transparent;
    font-size: 38px;
}

.sidebar-info-title {
    font-size: 15px;
}

.sidebar-info-subtitle {
    font-size: 11px;
}

.logout-link {
    margin-top: 10px;
    color: #fecaca !important;
}

.logout-link:hover {
    background: rgba(239, 68, 68, .14) !important;
}

.main-content {
    margin-left: 300px;
    width: calc(100% - 300px);
    background: #f8fafc;
}

.topbar {
    height: 78px;
    padding: 0 31px;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid #e8edf5;
}

.topbar::before {
    display: none;
}

.topbar > div:first-child,
.topbar-menu {
    display: inline-flex;
}

.topbar-menu {
    width: 34px;
    height: 34px;
    border: 0;
    background: transparent;
    color: #0b1c38;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    padding: 0;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 28px;
}

.topbar-search {
    width: 344px;
    height: 44px;
    display: flex;
    border: 1px solid #dfe6f0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.topbar-search input {
    flex: 1;
    border: 0;
    outline: 0;
    padding: 0 17px;
    font-size: 14px;
    color: #334155;
}

.topbar-search button {
    width: 48px;
    border: 0;
    border-left: 1px solid #edf1f6;
    background: #fff;
    color: #0f2746;
    font-size: 20px;
}

.topbar-notif {
    position: relative;
    color: #0f2746;
    font-size: 22px;
    line-height: 1;
}

.topbar-notif span {
    position: absolute;
    top: -9px;
    right: -10px;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #f43f5e;
    border: 2px solid #fff;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
}

.topbar-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.topbar-avatar,
.avatar {
    background: linear-gradient(180deg, #ffcf9b, #f2a56f);
    color: #0f172a;
}

.topbar-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 27px;
    overflow: hidden;
}

.topbar-user-text strong {
    display: block;
    font-size: 14px;
    color: #0f172a;
    line-height: 1.2;
}

.topbar-user-text small {
    display: block;
    color: #64748b;
    font-size: 13px;
    margin-top: 5px;
}

.topbar-chevron {
    font-size: 13px;
    color: #0f2746;
    margin-left: 14px;
}

.dashboard-shell {
    padding: 24px 21px 28px !important;
}

.dashboard-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin: 0 0 31px;
}

.page-title {
    font-size: 30px;
    line-height: 1.05;
    font-weight: 900;
    margin: 0 0 7px;
    letter-spacing: -1px;
}

.wave {
    font-size: 24px;
}

.page-subtitle {
    font-size: 15px;
    color: #243854;
}

.date-pill {
    height: 45px;
    min-width: 158px;
    border: 1px solid #dbe3ee;
    border-radius: 8px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 700;
    color: #0f2746;
}

.date-pill i {
    font-size: 18px;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 19px;
    margin-bottom: 21px;
}

.dash-card {
    background: #fff;
    border: 1px solid #e6ebf2;
    border-radius: 11px;
    box-shadow: 0 7px 18px rgba(15, 23, 42, .06);
}

.stat-card {
    min-height: 146px;
    padding: 28px 24px;
    display: flex;
    align-items: center;
    gap: 22px;
}

.stat-card:hover {
    transform: none;
}

.stat-icon {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    margin: 0;
    color: #fff;
    font-size: 31px;
    flex: 0 0 62px;
}

.stat-blue { background: linear-gradient(135deg, #39a2ff, #2669df); box-shadow: 0 14px 28px rgba(37, 99, 235, .32); }
.stat-green { background: linear-gradient(135deg, #55d98d, #0fba50); box-shadow: 0 14px 28px rgba(22, 163, 74, .3); }
.stat-orange { background: linear-gradient(135deg, #ff9d25, #ff6b13); box-shadow: 0 14px 28px rgba(249, 115, 22, .3); }
.stat-purple { background: linear-gradient(135deg, #8d55ea, #6d28d9); box-shadow: 0 14px 28px rgba(109, 40, 217, .3); }
.stat-red { background: linear-gradient(135deg, #ff5365, #ef3348); box-shadow: 0 14px 28px rgba(239, 68, 68, .32); }

.stat-copy {
    min-width: 0;
}

.stat-label {
    font-size: 14px;
    color: #10213d;
    margin-bottom: 8px;
    font-weight: 600;
}

.stat-value {
    font-size: 25px;
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -.4px;
    white-space: nowrap;
}

.stat-note {
    margin-top: 13px;
    color: #5e708c;
    font-size: 13px;
}

.dashboard-grid-main {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(300px, 1fr) minmax(360px, 1.25fr);
    gap: 19px;
    margin-bottom: 19px;
}

.dashboard-grid-bottom {
    display: grid;
    grid-template-columns: 1.12fr 1.1fr 1fr;
    gap: 19px;
}

.panel {
    padding: 23px 24px;
}

.panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.panel-head h2 {
    margin: 0;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 900;
    color: #0f172a;
}

.filter-btn,
.link-btn {
    border: 1px solid #dce6f3;
    background: #fff;
    color: #1162df;
    border-radius: 7px;
    height: 34px;
    padding: 0 13px;
    font-size: 13px;
    font-weight: 700;
}

.filter-btn {
    color: #243854;
    min-width: 132px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.chart-legend {
    display: flex;
    gap: 24px;
    align-items: center;
    margin-left: 37px;
    margin-bottom: 8px;
    font-size: 13px;
    color: #10213d;
}

.legend-dot {
    display: inline-block;
    width: 11px;
    height: 11px;
    border-radius: 3px;
    margin-right: 9px;
    vertical-align: -1px;
}

.legend-dot.green { background: #22c55e; }
.legend-dot.red { background: #ff4052; }
.legend-dot.orange { background: #ff981f; }

.line-chart {
    position: relative;
    height: 296px;
    padding-left: 36px;
    padding-bottom: 27px;
}

.line-chart svg {
    width: 100%;
    height: 260px;
    display: block;
    overflow: visible;
}

.y-axis {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 25px;
    width: 34px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #60728d;
    font-size: 12px;
}

.x-axis {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 0;
    margin-top: 3px;
    color: #47607f;
    font-size: 12px;
    text-align: center;
}

.grid-lines line {
    stroke: #dce4ee;
    stroke-width: 1;
}

.area-green { fill: url(#greenFill); }
.area-red { fill: url(#redFill); }
.line {
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.green-line { stroke: #25b35c; }
.red-line { stroke: #ff3d4e; }
.chart-points circle { stroke: #fff; stroke-width: 2; }
.green-points circle { fill: #25b35c; }
.red-points circle { fill: #ff3d4e; }

.status-content {
    display: flex;
    align-items: center;
    gap: 27px;
    min-height: 212px;
}

.donut {
    width: 166px;
    height: 166px;
    border-radius: 50%;
    background: conic-gradient(#48bf72 0 54%, #ff9826 54% 79%, #ff4052 79% 100%);
    flex: 0 0 166px;
    position: relative;
}

.donut::after {
    content: "";
    position: absolute;
    inset: 39px;
    border-radius: 50%;
    background: #fff;
}

.status-list {
    gap: 26px;
    font-size: 15px;
}

.status-list div {
    display: block;
}

.status-list span,
.status-list strong {
    display: block;
}

.status-list strong {
    color: #334155;
    margin-left: 24px;
    margin-top: 7px;
    font-size: 14px;
    font-weight: 600;
}

.total-bill {
    border-top: 1px solid #e8edf3;
    margin-top: 7px;
    padding: 19px 0 0 19px;
    border-left: 2px solid #d9e1ec;
}

.total-bill span {
    display: block;
    color: #596c87;
    font-size: 15px;
}

.total-bill strong {
    display: block;
    color: #0f172a;
    font-size: 24px;
    line-height: 1.2;
}

.transaction-list,
.arrears-list,
.agenda-list,
.vote-list {
    display: flex;
    flex-direction: column;
}

.transaction-list {
    gap: 18px;
}

.transaction-item {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
}

.tx-icon {
    width: 37px;
    height: 37px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tx-icon.in {
    color: #16a34a;
    background: #dff8e8;
}

.tx-icon.out {
    color: #ef3348;
    background: #ffe6ea;
}

.tx-copy strong,
.person-copy strong,
.agenda-copy strong {
    display: block;
    font-size: 14px;
    color: #17233b;
    font-weight: 900;
}

.tx-copy span,
.person-copy span,
.agenda-copy span,
.vote-title span {
    display: block;
    color: #5d6f89;
    font-size: 13px;
    margin-top: 4px;
}

.tx-amount {
    text-align: right;
    white-space: nowrap;
}

.tx-amount strong {
    display: block;
    font-size: 14px;
    font-weight: 900;
}

.tx-amount span {
    display: block;
    color: #7b8aa2;
    font-size: 12px;
    margin-top: 5px;
}

.tx-amount.in { color: #18b957; }
.tx-amount.out { color: #ef3348; }

.person-row {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto 65px;
    gap: 13px;
    align-items: center;
    min-height: 56px;
}

.avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.avatar.a2,
.avatar.a4 {
    background: linear-gradient(180deg, #cfe6f6, #97c1dc);
}

.person-debt {
    font-size: 14px;
    font-weight: 800;
    color: #0f2746;
    white-space: nowrap;
}

.late-badge,
.soon-badge,
.active-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.late-badge {
    height: 25px;
    padding: 0 11px;
    color: #ff3248;
    background: #ffe8ec;
}

.agenda-list {
    gap: 17px;
}

.agenda-row {
    display: grid;
    grid-template-columns: 55px minmax(0, 1fr) 90px;
    gap: 16px;
    align-items: center;
    padding-bottom: 17px;
    border-bottom: 1px solid #edf1f6;
}

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

.agenda-date {
    width: 52px;
    height: 57px;
    border: 1px solid #e3e9f1;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ff2f47;
}

.agenda-date strong {
    font-size: 25px;
    line-height: 1;
    font-weight: 900;
}

.agenda-date span {
    font-size: 12px;
    margin-top: 5px;
    color: #203551;
}

.agenda-copy span i {
    width: 17px;
    display: inline-block;
    color: #425a78;
}

.soon-badge {
    height: 25px;
    color: #18a34f;
    background: #dcf6e5;
}

.vote-title {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-top: -7px;
    margin-bottom: 22px;
}

.vote-title strong {
    font-size: 16px;
}

.active-badge {
    height: 25px;
    padding: 0 13px;
    color: #169a4d;
    background: #dff8e8;
}

.vote-list {
    gap: 17px;
}

.vote-meta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 72px 42px;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #17233b;
}

.vote-meta small {
    color: #7b8aa2;
    text-align: right;
}

.vote-meta strong {
    text-align: right;
}

.vote-track {
    height: 6px;
    margin-top: 7px;
    border-radius: 999px;
    background: #edf1f6;
    overflow: hidden;
}

.vote-track i {
    display: block;
    height: 100%;
    border-radius: 999px;
}

.vote-track .green { background: #18b957; }
.vote-track .violet { background: linear-gradient(90deg, #2563eb, #d946ef); }
.vote-track .pink { background: linear-gradient(90deg, #9333ea, #ec4899); }
.vote-track .rose { background: #f05280; }

.vote-total {
    border-top: 1px solid #edf1f6;
    margin-top: 20px;
    padding-top: 16px;
    color: #506783;
    font-size: 14px;
}

.dashboard-footer {
    margin-left: 300px;
    border-top: 1px solid #dfe6ee;
    min-height: 64px;
    padding: 0 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #415671;
    font-size: 14px;
    background: #fff;
}

.dashboard-footer b {
    color: #ef3348;
}

@media (max-width: 1500px) {
    .stat-card {
        padding: 22px 18px;
        gap: 15px;
    }

    .stat-value {
        font-size: 20px;
    }

    .dashboard-grid-main,
    .dashboard-grid-bottom {
        grid-template-columns: 1fr;
    }

    .stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {
    .sidebar {
        width: 270px;
        min-width: 270px;
    }

    .main-content,
    .dashboard-footer {
        margin-left: 270px;
        width: calc(100% - 270px);
    }

    .stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .topbar-search {
        width: 260px;
    }
}

@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        min-width: 100%;
    }

    .main-content,
    .dashboard-footer {
        margin-left: 0;
        width: 100%;
    }

    .topbar-right {
        gap: 12px;
    }

    .topbar-search,
    .topbar-user-text,
    .topbar-chevron {
        display: none;
    }

    .dashboard-head,
    .dashboard-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .stat-grid {
        grid-template-columns: 1fr;
    }

    .status-content,
    .transaction-item,
    .person-row,
    .agenda-row {
        grid-template-columns: 1fr;
    }

    .transaction-item {
        display: flex;
        align-items: flex-start;
    }
}

/* Table pagination */
.table-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 18px;
    margin-top: 8px;
    border-top: 1px solid #edf1f6;
}

.table-info-text {
    color: #667085;
    font-size: 14px;
}

.app-pagination {
    gap: 6px;
}

.app-pagination .page-link {
    min-width: 36px;
    height: 36px;
    border-radius: 9px !important;
    border: 1px solid #dfe6f0;
    color: #243854;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: none;
}

.app-pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #2f74ff 0%, #6044f3 100%);
    border-color: transparent;
    color: #fff;
}

.app-pagination .page-item.disabled .page-link {
    color: #98a2b3;
    background: #f8fafc;
}

@media (max-width: 768px) {
    .table-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Cattleya login page */
.cattleya-login-body {
    min-height: 100vh;
    margin: 0;
    background: #f7f9fc;
    overflow-x: hidden;
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

.cattleya-login {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(520px, 43%) minmax(680px, 57%);
    background: #f8fafc;
}

.login-hero-panel {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(0deg, rgba(75, 0, 10, .52), rgba(75, 0, 10, .52)),
        linear-gradient(135deg, rgba(160, 0, 24, .94), rgba(206, 14, 44, .78)),
        url("/assets/img/login-neighborhood.svg") center/cover;
}

.login-hero-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 0 0, rgba(80, 0, 0, .35), transparent 25%),
        linear-gradient(90deg, rgba(145, 0, 22, .98), rgba(168, 0, 24, .84) 56%, rgba(151, 0, 20, .72));
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(120, 0, 14, .08), rgba(63, 0, 8, .22));
}

.hero-flower {
    position: absolute;
    width: 230px;
    height: 230px;
    opacity: .22;
    filter: blur(.1px);
}

.hero-flower::before,
.hero-flower::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 12%, rgba(0,0,0,.32) 0 20%, transparent 21%),
        radial-gradient(ellipse at 82% 38%, rgba(0,0,0,.32) 0 19%, transparent 20%),
        radial-gradient(ellipse at 65% 82%, rgba(0,0,0,.32) 0 18%, transparent 19%),
        radial-gradient(ellipse at 25% 78%, rgba(0,0,0,.32) 0 18%, transparent 19%),
        radial-gradient(ellipse at 12% 37%, rgba(0,0,0,.32) 0 19%, transparent 20%);
    transform: rotate(-24deg);
}

.hero-flower-top {
    left: -54px;
    top: -55px;
}

.hero-flower-bottom {
    left: -72px;
    bottom: -80px;
    transform: rotate(28deg) scale(.85);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(560px, calc(100% - 120px));
    min-height: 100vh;
    margin: 0 auto;
    padding: 135px 0 68px;
    display: flex;
    flex-direction: column;
}

.welcome-pill {
    width: max-content;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 13px 20px;
    border-radius: 11px;
    border: 1px solid rgba(255, 255, 255, .24);
    background: rgba(255, 255, 255, .14);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.15);
    font-size: 19px;
    font-weight: 800;
    backdrop-filter: blur(8px);
}

.hero-brand-text {
    margin-top: 34px;
}

.hero-brand-text h1 {
    margin: 0;
    font-size: clamp(54px, 4.8vw, 76px);
    line-height: .95;
    letter-spacing: 2px;
    font-weight: 950;
    color: #fff;
}

.hero-brand-text div {
    display: flex;
    align-items: center;
    gap: 17px;
    margin-top: 20px;
    color: #ff3652;
    font-size: 30px;
    font-weight: 900;
    letter-spacing: 12px;
}

.hero-brand-text div span {
    display: block;
    width: 63px;
    height: 2px;
    background: rgba(255, 255, 255, .9);
}

.hero-desc {
    max-width: 540px;
    margin: 27px 0 0;
    font-size: 18px;
    line-height: 1.7;
    font-weight: 500;
    color: rgba(255, 255, 255, .96);
}

.hero-feature-list {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.hero-feature {
    display: grid;
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
    position: relative;
}

.hero-feature:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 33px;
    top: 66px;
    width: 1px;
    height: 34px;
    background: rgba(255, 255, 255, .32);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ff3652, #cb0928);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 18px 35px rgba(70, 0, 10, .32);
    font-size: 31px;
}

.hero-feature strong {
    display: block;
    font-size: 18px;
    line-height: 1.25;
    margin-bottom: 7px;
}

.hero-feature span {
    display: block;
    color: rgba(255,255,255,.92);
    font-size: 15px;
    line-height: 1.45;
}

.housing-info-card {
    margin-top: auto;
    display: grid;
    grid-template-columns: 75px minmax(0, 1fr);
    gap: 22px;
    padding: 26px 30px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 28px;
    background: rgba(164, 14, 31, .52);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 18px 45px rgba(69, 0, 10, .22);
    backdrop-filter: blur(9px);
}

.housing-pin {
    width: 63px;
    height: 63px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff3652, #d9072b);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 15px 35px rgba(90, 0, 11, .32);
}

.housing-copy h2 {
    font-size: 19px;
    line-height: 1.2;
    margin: 0 0 7px;
    font-weight: 900;
}

.housing-line {
    height: 1px;
    background: rgba(255,255,255,.26);
    margin-bottom: 14px;
}

.housing-copy span {
    display: block;
    color: rgba(255,255,255,.8);
    font-size: 14px;
    margin-top: 11px;
}

.housing-copy strong {
    display: block;
    font-size: 17px;
}

.housing-copy p {
    margin: 5px 0 0;
    line-height: 1.5;
    font-size: 15px;
    font-weight: 700;
}

.login-form-panel {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 66px 60px 47px;
    background:
        radial-gradient(circle at 18% 68%, rgba(218, 226, 237, .6), transparent 22%),
        linear-gradient(135deg, #f9fbfe, #ffffff 50%, #f7f9fd);
    overflow: hidden;
}

.login-form-panel::before,
.login-form-panel::after {
    content: "";
    position: absolute;
    width: 720px;
    height: 720px;
    border-radius: 50%;
    border: 1px solid rgba(210, 218, 231, .42);
    pointer-events: none;
}

.login-form-panel::before {
    right: -220px;
    top: -420px;
    box-shadow: 0 0 0 14px rgba(210,218,231,.11), 0 0 0 28px rgba(210,218,231,.08), 0 0 0 42px rgba(210,218,231,.06);
}

.login-form-panel::after {
    right: -330px;
    bottom: -480px;
    box-shadow: 0 0 0 14px rgba(210,218,231,.1), 0 0 0 28px rgba(210,218,231,.07), 0 0 0 42px rgba(210,218,231,.05);
}

.login-card-shell {
    position: relative;
    z-index: 2;
    width: min(100%, 900px);
    min-height: 725px;
    border-radius: 28px;
    background: rgba(255,255,255,.96);
    border: 1px solid #d5dce7;
    box-shadow: 0 28px 80px rgba(15, 23, 42, .12);
    padding: 24px 91px 46px;
}

.login-logo-wrap {
    width: 300px;
    height: 210px;
    margin: 0 auto 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.login-logo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.login-tabs {
    height: 73px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid #cfd8e5;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 33px;
}

.login-tab {
    position: relative;
    border: 0;
    background: #f8fafc;
    color: #8993a5;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    font-size: 20px;
    font-weight: 900;
}

.login-tab:first-child {
    border-right: 1px solid #cfd8e5;
}

.login-tab.active {
    background: #fff;
    color: #e00224;
}

.login-tab.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: #e00224;
}

.login-tab i {
    font-size: 25px;
}

.login-heading {
    text-align: center;
    margin-bottom: 27px;
}

.login-heading h2 {
    margin: 0 0 9px;
    color: #151924;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 950;
}

.login-heading p {
    margin: 0;
    color: #69758a;
    font-size: 16px;
    font-weight: 600;
}

.cattleya-alert {
    border-radius: 12px;
    border: 1px solid #ffc8d0;
    background: #fff1f3;
    color: #c40022;
    font-weight: 700;
}

.cattleya-login-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.login-field {
    height: 62px;
    border: 1px solid #cfd8e5;
    border-radius: 9px;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 0 22px;
    background: #fff;
    color: #667085;
}

.login-field:focus-within {
    border-color: #e00224;
    box-shadow: 0 0 0 4px rgba(224, 2, 36, .08);
}

.login-field > i {
    font-size: 24px;
    color: #5d6880;
}

.login-field input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 17px;
    font-weight: 600;
    color: #151924;
}

.login-field input::placeholder {
    color: #8a94a7;
}

.password-toggle {
    border: 0;
    background: transparent;
    color: #5d6880;
    font-size: 22px;
    padding: 0;
    display: inline-flex;
}

.login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 3px 2px 8px;
    font-size: 16px;
    font-weight: 700;
}

.remember-check {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #2b3345;
}

.remember-check input {
    width: 19px;
    height: 19px;
    accent-color: #e00224;
}

.login-options a {
    color: #e00224;
    text-decoration: none;
}

.admin-login-btn,
.resident-login-btn {
    height: 65px;
    border-radius: 9px;
    display: grid;
    grid-template-columns: 34px 1fr 34px;
    align-items: center;
    gap: 10px;
    padding: 0 22px;
    font-size: 20px;
    font-weight: 950;
}

.admin-login-btn {
    border: 0;
    color: #fff;
    background: linear-gradient(135deg, #f00027, #c9001e);
    box-shadow: 0 17px 32px rgba(205, 0, 31, .25);
}

.admin-login-btn i:first-child,
.resident-login-btn i:first-child {
    justify-self: end;
    font-size: 23px;
}

.admin-login-btn i:last-child,
.resident-login-btn i:last-child {
    justify-self: end;
    font-size: 20px;
}

.login-divider {
    position: relative;
    text-align: center;
    margin: 25px 0 24px;
    color: #7c879a;
    font-size: 15px;
}

.login-divider::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: #e5eaf1;
}

.login-divider span {
    position: relative;
    z-index: 1;
    background: #fff;
    padding: 0 18px;
}

.resident-login-btn {
    width: 100%;
    border: 1px solid #cfd8e5;
    background: #fff;
    color: #151924;
    box-shadow: none;
}

.login-copyright {
    position: relative;
    z-index: 2;
    margin-top: 28px;
    color: #69758a;
    font-size: 16px;
    font-weight: 600;
}

@media (max-width: 1200px) {
    .cattleya-login {
        grid-template-columns: 1fr;
    }

    .login-hero-panel {
        min-height: auto;
    }

    .hero-content {
        min-height: auto;
        padding: 70px 0;
    }

    .login-form-panel {
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .hero-content {
        width: calc(100% - 42px);
    }

    .hero-brand-text h1 {
        font-size: 42px;
    }

    .hero-brand-text div {
        font-size: 20px;
        letter-spacing: 6px;
    }

    .housing-info-card,
    .hero-feature {
        grid-template-columns: 1fr;
    }

    .login-form-panel {
        padding: 26px 16px 30px;
    }

    .login-card-shell {
        min-height: 0;
        padding: 20px 18px 28px;
        border-radius: 20px;
    }

    .login-logo-wrap {
        width: 220px;
        height: 155px;
    }

    .login-tabs {
        height: auto;
    }

    .login-tab {
        min-height: 58px;
        font-size: 15px;
        gap: 8px;
    }

    .admin-login-btn,
    .resident-login-btn {
        font-size: 16px;
    }
}
.month-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.month-check {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 14px;
    border: 1px solid #e5eaf2;
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    font-weight: 700;
    color: #334155;
}

.month-check input {
    width: 16px;
    height: 16px;
    accent-color: #dc1f3a;
}

.month-check:has(input:checked) {
    border-color: #dc1f3a;
    background: #fff1f3;
    color: #dc1f3a;
}

.table-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-top: 16px;
    border-top: 1px solid #eef2f7;
    margin-top: 10px;
}

.table-info-text {
    color: #64748b;
    font-size: 13px;
}

.app-pagination .page-link {
    border-radius: 10px;
    margin: 0 3px;
    color: #334155;
    border-color: #e5eaf2;
}

.app-pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #2f6df6, #5b45f5);
    border-color: transparent;
    color: #fff;
}

@media (max-width: 768px) {
    .month-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .table-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* Exact red login panel from reference */
.login-hero-panel {
    background: url("/assets/img/login-red-panel.png?v=20260529-photo-text") center center / cover no-repeat !important;
}

.login-hero-panel::before,
.login-hero-panel::after,
.login-hero-panel .hero-overlay,
.login-hero-panel .hero-flower,
.login-hero-panel .hero-content {
    display: none !important;
}

.login-tab {
    cursor: pointer;
}

body[data-login-mode="warga"] .login-tab.active {
    color: #e00224;
}

body[data-login-mode="warga"] .resident-login-btn {
    border-color: #e0e6ef;
}
.month-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.month-check {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 14px;
    border: 1px solid #e5eaf2;
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    font-weight: 700;
    color: #334155;
}

.month-check input {
    width: 16px;
    height: 16px;
    accent-color: #dc1f3a;
}

.month-check:has(input:checked) {
    border-color: #dc1f3a;
    background: #fff1f3;
    color: #dc1f3a;
}

.table-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-top: 16px;
    border-top: 1px solid #eef2f7;
    margin-top: 10px;
}

.table-info-text {
    color: #64748b;
    font-size: 13px;
}

.app-pagination .page-link {
    border-radius: 10px;
    margin: 0 3px;
    color: #334155;
    border-color: #e5eaf2;
}

.app-pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #2f6df6, #5b45f5);
    border-color: transparent;
    color: #fff;
}

@media (max-width: 768px) {
    .month-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .table-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}
.digital-card {
    background: #fff;
    border: 1px solid #e7ebf2;
    border-radius: 22px;
    padding: 26px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
}

.digital-card-header {
    background: linear-gradient(135deg, #7f1d1d, #dc2626);
    color: #fff;
    border-radius: 20px;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.digital-card-title {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: .5px;
}

.digital-card-subtitle {
    font-size: 16px;
    font-weight: 800;
    margin-top: 4px;
}

.digital-card-address {
    font-size: 12px;
    opacity: .85;
    margin-top: 6px;
}

.digital-card-year {
    font-size: 32px;
    font-weight: 900;
}

.digital-card-profile {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.5fr 1fr;
    gap: 14px;
    margin-top: 20px;
}

.digital-card-profile > div,
.digital-card-summary > div {
    border: 1px solid #e7ebf2;
    border-radius: 16px;
    padding: 14px;
    background: #fff;
}

.digital-card-profile small,
.digital-card-summary span {
    color: #64748b;
    font-size: 12px;
    display: block;
    margin-bottom: 6px;
}

.digital-card-profile h4,
.digital-card-profile h6 {
    margin: 0;
    font-weight: 900;
}

.digital-card-summary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 14px;
}

.digital-card-summary strong {
    font-size: 17px;
}

.digital-card-footer {
    text-align: center;
    color: #64748b;
    margin-top: 18px;
}

@media print {
    .sidebar,
    .topbar,
    .d-print-none {
        display: none !important;
    }

    .main-content {
        margin-left: 0 !important;
        width: 100% !important;
    }

    body {
        background: #fff !important;
    }

    .digital-card {
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
    }
}

@media (max-width: 768px) {
    .digital-card-profile,
    .digital-card-summary {
        grid-template-columns: 1fr;
    }

    .digital-card-header {
        flex-direction: column;
    }
}
.cattleya-card {
    background: linear-gradient(135deg, #fff8f8, #fffdfd);
    border: 2px solid #f4c7cf;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 20px 40px rgba(220, 38, 38, .08);
}

.cattleya-header {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cattleya-logo-box img {
    width: 110px;
    height: auto;
    object-fit: contain;
}

.cattleya-title h2 {
    margin: 0 0 14px;
    font-size: 38px;
    font-weight: 900;
    color: #7f1d1d;
}

.resident-info div {
    font-size: 15px;
    margin-bottom: 6px;
    color: #334155;
}

.year-box {
    margin-left: auto;
    background: #fff;
    border: 2px solid #f4c7cf;
    border-radius: 20px;
    padding: 18px;
    text-align: center;
    min-width: 90px;
}

.year-box small {
    display: block;
    color: #64748b;
}

.year-box strong {
    font-size: 24px;
    color: #7f1d1d;
}

.cattleya-table {
    border-radius: 20px;
    overflow: hidden;
}

.cattleya-table thead th {
    background: linear-gradient(135deg, #991b1b, #dc2626);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    vertical-align: middle;
}

.cattleya-table thead th small {
    display: block;
    opacity: .85;
    font-size: 11px;
}

.cattleya-table tbody td {
    background: #fff;
    border-color: #f3d5db;
}

.month-name {
    font-weight: 800;
    color: #7f1d1d;
    background: #fff5f5 !important;
}

.pay-badge {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
}

.badge-lunas {
    background: #dcfce7;
    color: #15803d;
}

.badge-cicil {
    background: #fef3c7;
    color: #b45309;
}

.badge-belum {
    background: #fee2e2;
    color: #dc2626;
}

.status-final {
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 900;
    font-size: 12px;
}

.status-lunas {
    background: #dcfce7;
    color: #15803d;
}

.status-cicil {
    background: #fef3c7;
    color: #b45309;
}

.status-belum {
    background: #fee2e2;
    color: #dc2626;
}
.payment-form-card {
    max-width: 880px;
}

.payment-custom-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eef2f7;
    margin-bottom: 18px;
}

.payment-custom-box h5 {
    font-weight: 800;
    margin: 0 0 6px;
}

.payment-custom-box p {
    margin: 0;
    color: #64748b;
}

.switch {
    position: relative;
    width: 68px;
    height: 38px;
}

.switch input {
    display: none;
}

.switch span {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: #dcfce7;
    border-radius: 999px;
    transition: .2s;
    border: 1px solid #bbf7d0;
}

.switch span::before {
    content: "";
    position: absolute;
    width: 24px;
    height: 24px;
    left: 7px;
    top: 6px;
    background: #94a3b8;
    border-radius: 50%;
    transition: .2s;
}

.switch input:checked + span {
    background: #dc2626;
    border-color: #dc2626;
}

.switch input:checked + span::before {
    transform: translateX(28px);
    background: #fff;
}

.payment-month-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.payment-month {
    cursor: pointer;
}

.payment-month input {
    display: none;
}

.payment-month span {
    display: inline-flex;
    min-width: 98px;
    justify-content: center;
    padding: 13px 18px;
    border: 1px solid #dbe3ef;
    border-radius: 12px;
    background: #fff;
    font-weight: 700;
    color: #0f172a;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .04);
}

.payment-month input:checked + span {
    background: #dc2626;
    border-color: #dc2626;
    color: #fff;
    box-shadow: 0 12px 22px rgba(220, 38, 38, .22);
}

.payment-total-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    border-radius: 16px;
    padding: 20px 22px;
    font-size: 24px;
    font-weight: 900;
}

.payment-total-box strong {
    color: #059669;
}

.payment-submit-btn {
    min-width: 220px;
    border-radius: 999px;
    padding: 14px 24px;
    font-weight: 900;
    box-shadow: 0 14px 28px rgba(5, 150, 105, .22);
}
.sidebar-dropdown {
    width: 100%;
}

.sidebar-toggle {
    justify-content: space-between;
}

.sidebar-link-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dropdown-icon {
    transition: .25s ease;
    font-size: 12px;
}

.sidebar-dropdown.open .dropdown-icon {
    transform: rotate(180deg);
}

.sidebar-submenu {
    display: none;
    padding-left: 14px;
    margin-top: 6px;
}

.sidebar-dropdown.open .sidebar-submenu {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sidebar-sublink {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 12px;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 14px;
    transition: .2s ease;
}

.sidebar-sublink i {
    font-size: 18px;
}

.sidebar-sublink:hover {
    background: rgba(255,255,255,.08);
    color: #fff;
}

.sidebar-sublink.active {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff;
    box-shadow: 0 10px 24px rgba(99,102,241,.28);
}
/* FIX TAMPILAN BULAN PEMBAYARAN */
.payment-month-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(130px, 1fr));
    gap: 12px;
}

.payment-month {
    width: 100%;
}

.payment-month span {
    width: 100%;
    min-height: 74px;
    padding: 12px 10px !important;
    border-radius: 14px !important;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-align: center;
    line-height: 1.25;
    font-size: 14px;
    font-weight: 800;
}

.month-paid-info {
    display: block !important;
    margin-top: 3px !important;
    font-size: 11px !important;
    line-height: 1.25 !important;
    font-weight: 900 !important;
    text-align: center;
}

.month-lunas {
    background: #dcfce7 !important;
    border: 1px solid #22c55e !important;
    color: #166534 !important;
}

.month-cicilan {
    background: #fef3c7 !important;
    border: 1px solid #f59e0b !important;
    color: #92400e !important;
}

.month-belum {
    background: #fff1f2 !important;
    border: 1px solid #fb7185 !important;
    color: #be123c !important;
}

.payment-month input:disabled + span {
    opacity: 1 !important;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .payment-month-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.payment-month-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(140px, 1fr));
    gap: 14px;
}

.month-card {
    width: 100%;
    min-height: 145px;
    border-radius: 18px;
    padding: 14px;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    transition: .25s ease;
    border: 2px solid transparent;
    position: relative;
}

.month-card:hover {
    transform: translateY(-3px);
}

.month-name {
    font-size: 15px;
    font-weight: 900;
    margin-bottom: 10px;
}

.month-content {
    width: 100%;
}

.month-status {
    font-size: 11px;
    font-weight: 900;
    padding: 6px 10px;
    border-radius: 999px;
    margin-bottom: 8px;
    display: inline-block;
}

.status-lunas {
    background: #dcfce7;
    color: #166534;
}

.status-cicilan {
    background: #fef3c7;
    color: #92400e;
}

.status-belum {
    background: #fee2e2;
    color: #991b1b;
}

.month-method {
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 8px;
}

.method-cash {
    color: #16a34a;
}

.method-cicil {
    color: #d97706;
}

.month-nominal {
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 6px;
}

.month-sisa {
    font-size: 12px;
    font-weight: 700;
    color: #dc2626;
}

.month-lunas {
    background: linear-gradient(180deg,#f0fdf4,#dcfce7) !important;
    border-color: #22c55e !important;
    color: #166534 !important;
}

.month-cicilan {
    background: linear-gradient(180deg,#fff7ed,#fef3c7) !important;
    border-color: #f59e0b !important;
    color: #92400e !important;
}

.month-belum {
    background: linear-gradient(180deg,#fff1f2,#fee2e2) !important;
    border-color: #ef4444 !important;
    color: #991b1b !important;
}

.payment-month input:disabled + .month-card {
    opacity: 1 !important;
    cursor: not-allowed;
}

@media (max-width: 992px) {
    .payment-month-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .payment-month-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* FINAL KARTU IURAN DIGITAL - THE CATTLEYA */
.cattleya-card-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
}

.cattleya-card-grid {
    width: 100%;
    max-width: 1280px;
    background:
        radial-gradient(circle at top right, rgba(211, 34, 62, .12), transparent 30%),
        linear-gradient(135deg, #fff7f8 0%, #ffffff 45%, #fff1f3 100%);
    border: 1px solid #f3c1ca;
    border-radius: 28px;
    padding: 32px;
    box-shadow: 0 22px 48px rgba(136, 19, 40, .12);
    overflow: hidden;
    position: relative;
}

.cattleya-card-grid::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    right: -130px;
    top: -130px;
    border: 2px solid rgba(211, 34, 62, .12);
    border-radius: 40px;
    transform: rotate(45deg);
}

.cattleya-main-header {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 130px 1fr 110px;
    align-items: center;
    gap: 22px;
    padding: 22px;
    border-radius: 24px;
    background: linear-gradient(135deg, #7f1022, #d3223e);
    color: #fff;
    box-shadow: 0 16px 34px rgba(211, 34, 62, .25);
}

.cattleya-logo-area {
    width: 118px;
    height: 118px;
    border-radius: 24px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-shadow: inset 0 0 0 1px rgba(211, 34, 62, .12);
}

.cattleya-logo-area img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.cattleya-brand-small {
    font-size: 15px;
    letter-spacing: 8px;
    font-weight: 900;
    opacity: .92;
}

.cattleya-brand-title {
    font-size: 38px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: 2px;
    margin-top: 6px;
}

.cattleya-brand-address {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.5;
    opacity: .9;
    max-width: 760px;
}

.cattleya-year {
    background: rgba(255,255,255,.96);
    border-radius: 18px;
    padding: 16px 12px;
    text-align: center;
    color: #7f1022;
    box-shadow: 0 12px 28px rgba(0,0,0,.12);
}

.cattleya-year small {
    display: block;
    color: #7f1022;
    opacity: .75;
    font-size: 12px;
    font-weight: 800;
}

.cattleya-year strong {
    display: block;
    font-size: 24px;
    font-weight: 950;
}

.cattleya-card-title-section {
    position: relative;
    z-index: 2;
    margin-top: 24px;
    padding: 22px;
    background: rgba(255,255,255,.76);
    border: 1px solid #f5cbd2;
    border-radius: 22px;
}

.cattleya-card-title-section h2 {
    margin: 0 0 18px;
    font-size: 34px;
    font-weight: 950;
    color: #111827;
    text-decoration: underline;
    text-decoration-color: #d3223e;
    text-underline-offset: 6px;
}

.cattleya-info-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 14px;
}

.cattleya-info-grid div {
    background: #ffffff;
    border: 1px solid #f1c4cc;
    border-radius: 16px;
    padding: 14px 16px;
}

.cattleya-info-grid span {
    display: block;
    color: #7f1022;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 5px;
}

.cattleya-info-grid strong {
    color: #111827;
    font-size: 15px;
    font-weight: 900;
}

.cattleya-table-scroll {
    position: relative;
    z-index: 2;
    margin-top: 22px;
    overflow-x: auto;
    border-radius: 20px;
    border: 3px solid #d3223e;
    background: #fff;
}

.cattleya-grid-table {
    margin: 0 !important;
    min-width: 1050px;
    border-collapse: collapse !important;
    text-align: center;
}

.cattleya-grid-table thead th {
    background: linear-gradient(135deg, #7f1022, #d3223e) !important;
    color: #ffffff !important;
    border: 1px solid #ef8fa0 !important;
    font-size: 12px;
    font-weight: 950;
    padding: 13px 8px;
    vertical-align: middle;
    white-space: nowrap;
}

.cattleya-grid-table thead th small {
    display: block;
    font-size: 10px;
    opacity: .88;
    margin-top: 3px;
    font-weight: 800;
}

.cattleya-grid-table tbody td {
    background: #fff7f8 !important;
    border: 1px solid #f1b8c2 !important;
    padding: 10px 8px;
    vertical-align: middle;
}

.cattleya-grid-table tbody tr:nth-child(even) td {
    background: #fff0f2 !important;
}

.bulan-cell {
    background: #ffe3e8 !important;
    color: #7f1022 !important;
    font-weight: 950;
    text-align: left;
    white-space: nowrap;
}

.pay-pill {
    min-width: 72px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 7px 10px;
    border-radius: 999px;
    line-height: 1.15;
}

.pay-pill b {
    font-size: 11px;
    font-weight: 950;
}

.pay-pill small {
    font-size: 9px;
    font-weight: 850;
    margin-top: 2px;
}

.pay-discount-note {
    display: block;
    margin-top: 3px;
    padding-top: 3px;
    border-top: 1px solid rgba(21, 128, 61, .18);
    color: #15803d;
    font-size: 8px;
    font-weight: 850;
    line-height: 1.15;
}

.pay-lunas {
    background: #dcfce7;
    color: #15803d;
}

.pay-cicil {
    background: #fef3c7;
    color: #b45309;
}

.pay-belum {
    background: #ffe4e6;
    color: #d3223e;
}

.status-cell {
    white-space: nowrap;
}

.final-status {
    display: inline-block;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 950;
}

.final-lunas {
    background: #dcfce7;
    color: #15803d;
}

.final-cicil {
    background: #fef3c7;
    color: #b45309;
}

.final-belum {
    color: #111827;
}

.signature-tool {
    display: grid;
    grid-template-columns: 380px minmax(260px, 1fr);
    gap: 16px;
    align-items: start;
}

.signature-card .card-body {
    padding: 18px 20px;
}

.signature-draw-panel {
    max-width: 380px;
}

.signature-canvas-wrap {
    position: relative;
    width: 100%;
    max-width: 360px;
    height: 120px;
    overflow: hidden;
    border: 1px solid #cfd8e5;
    border-radius: 10px;
    background:
        linear-gradient(90deg, rgba(203, 213, 225, .3) 1px, transparent 1px),
        linear-gradient(rgba(203, 213, 225, .3) 1px, transparent 1px),
        #ffffff;
    background-size: 18px 18px;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .9);
}

.signature-canvas-wrap span {
    position: absolute;
    right: 10px;
    bottom: 8px;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 700;
    pointer-events: none;
}

.signature-canvas {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 0;
    background: transparent;
    cursor: crosshair;
    touch-action: none;
}

.signature-preview-box {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border: 1px solid #eef2f7;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .05);
}

.signature-preview-box span {
    color: #15803d;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.signature-preview-box img {
    display: block;
    width: 82px;
    height: 34px;
    object-fit: contain;
}

.signature-preview-box strong {
    display: block;
    max-width: 130px;
    margin-top: 2px;
    color: #0f172a;
    font-size: 11px;
    line-height: 1.15;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.signature-stamp {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 82px;
    min-height: 46px;
    gap: 2px;
    vertical-align: middle;
}

.signature-stamp img {
    display: block;
    width: 58px !important;
    height: 24px !important;
    max-width: 58px !important;
    max-height: 24px !important;
    object-fit: contain;
}

.signature-stamp strong {
    display: block;
    max-width: 78px;
    color: #111827;
    font-size: 8.5px;
    font-weight: 900;
    line-height: 1.05;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.signature-stamp span {
    color: #15803d;
    font-size: 8.5px;
    font-weight: 950;
    line-height: 1;
}

.app-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(15, 23, 42, .48);
    backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s ease, visibility .18s ease;
}

.app-modal-backdrop.show {
    opacity: 1;
    visibility: visible;
}

.app-modal {
    position: relative;
    width: min(100%, 390px);
    border: 1px solid rgba(226, 232, 240, .92);
    border-radius: 18px;
    background: #ffffff;
    padding: 24px;
    box-shadow: 0 28px 80px rgba(15, 23, 42, .24);
    transform: translateY(10px) scale(.98);
    transition: transform .18s ease;
}

.app-modal-backdrop.show .app-modal {
    transform: translateY(0) scale(1);
}

.app-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 10px;
    background: #f8fafc;
    color: #64748b;
}

.app-modal-close:hover {
    background: #eef2f7;
    color: #0f172a;
}

.app-modal-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    font-size: 20px;
}

.app-modal-icon.danger {
    background: #fee2e2;
    color: #dc2626;
}

.app-modal h5 {
    margin: 0 40px 8px 0;
    color: #0f172a;
    font-size: 18px;
    font-weight: 900;
}

.app-modal p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.55;
}

.app-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 22px;
}

.modal-open-clean {
    overflow: hidden;
}

@media (max-width: 768px) {
    .signature-tool {
        grid-template-columns: 1fr;
    }

    .app-modal-actions {
        flex-direction: column-reverse;
    }

    .app-modal-actions .btn {
        width: 100%;
    }
}

.cattleya-summary {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 18px;
}

.cattleya-summary div {
    background: #ffffff;
    border: 1px solid #f1c4cc;
    border-radius: 18px;
    padding: 16px 18px;
}

.cattleya-summary span {
    display: block;
    color: #7f1022;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 5px;
}

.cattleya-summary strong {
    color: #111827;
    font-size: 20px;
    font-weight: 950;
}

.cattleya-note {
    position: relative;
    z-index: 2;
    margin-top: 16px;
    border: 1px dashed #d3223e;
    background: rgba(255,255,255,.78);
    border-radius: 14px;
    padding: 13px 15px;
    color: #475569;
    font-size: 13px;
}

@media print {
    .sidebar,
    .topbar,
    .d-print-none {
        display: none !important;
    }

    .main-content {
        margin-left: 0 !important;
        width: 100% !important;
    }

    .container-fluid {
        padding: 0 !important;
    }

    body {
        background: #fff !important;
    }

    .cattleya-card-grid {
        max-width: 100% !important;
        box-shadow: none !important;
        border-radius: 0 !important;
    }

    .cattleya-table-scroll {
        overflow: visible !important;
    }
}

@media (max-width: 768px) {
    .cattleya-card-grid {
        padding: 18px;
    }

    .cattleya-main-header {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cattleya-logo-area {
        margin: 0 auto;
    }

    .cattleya-info-grid,
    .cattleya-summary {
        grid-template-columns: 1fr;
    }

    .cattleya-brand-title {
        font-size: 28px;
    }

    .cattleya-brand-small {
        letter-spacing: 4px;
    }

    .cattleya-card-title-section h2 {
        font-size: 26px;
    }
}
/* PRINT HARUS SAMA PERSIS PREVIEW */
@media print {
    @page {
        size: A4 portrait;
        margin: 8mm;
    }

    html,
    body {
        width: 210mm;
        min-height: 297mm;
        background: #ffffff !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .sidebar,
    .topbar,
    .d-print-none,
    .page-title,
   

    .main-content {
        margin-left: 0 !important;
        width: 100% !important;
        background: #ffffff !important;
    }

    .container-fluid {
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .cattleya-card-wrap {
        display: flex !important;
        justify-content: center !important;
        align-items: flex-start !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .cattleya-card-grid {
        width: 170mm !important;
        max-width: 170mm !important;
        min-width: 170mm !important;
        margin: 0 auto !important;
        padding: 6mm !important;
        border-radius: 18px !important;
        box-shadow: none !important;
        transform: none !important;
        page-break-inside: avoid !important;
        break-inside: avoid !important;
    }

    .cattleya-main-header {
        display: grid !important;
        grid-template-columns: 24mm 1fr 22mm !important;
        gap: 5mm !important;
        padding: 5mm !important;
        border-radius: 12px !important;
    }

    .cattleya-logo-area {
        width: 22mm !important;
        height: 22mm !important;
        border-radius: 8px !important;
    }

    .cattleya-brand-title {
        font-size: 18pt !important;
    }

    .cattleya-brand-small {
        font-size: 8pt !important;
        letter-spacing: 4px !important;
    }

    .cattleya-brand-address {
        font-size: 6pt !important;
    }

    .cattleya-year {
        padding: 4mm 2mm !important;
        border-radius: 8px !important;
    }

    .cattleya-card-title-section {
        margin-top: 5mm !important;
        padding: 5mm !important;
        border-radius: 12px !important;
    }

    .cattleya-card-title-section h2 {
        font-size: 16pt !important;
        margin-bottom: 4mm !important;
    }

    .cattleya-info-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 3mm !important;
    }

    .cattleya-info-grid div {
        padding: 3mm !important;
        border-radius: 8px !important;
    }

    .cattleya-table-scroll {
        overflow: visible !important;
        margin-top: 5mm !important;
        border-radius: 10px !important;
        border-width: 2px !important;
    }

    .cattleya-grid-table {
        width: 100% !important;
        min-width: 0 !important;
        table-layout: fixed !important;
        font-size: 6.5pt !important;
    }

    .cattleya-grid-table thead th {
        font-size: 6pt !important;
        padding: 2.2mm 1mm !important;
        white-space: normal !important;
    }

    .cattleya-grid-table thead th small {
        font-size: 5pt !important;
    }

    .cattleya-grid-table tbody td {
        padding: 1.8mm 1mm !important;
    }

    .pay-pill {
        min-width: 0 !important;
        padding: 1.5mm 2mm !important;
        border-radius: 20px !important;
    }

    .pay-pill b {
        font-size: 5.5pt !important;
    }

    .pay-pill small {
        font-size: 4.8pt !important;
    }

    .pay-discount-note {
        margin-top: 1mm !important;
        padding-top: .6mm !important;
        font-size: 4.2pt !important;
        line-height: 1.1 !important;
    }

    .cattleya-summary {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 3mm !important;
        margin-top: 4mm !important;
    }

    .cattleya-summary div {
        padding: 3mm !important;
        border-radius: 8px !important;
    }

    .cattleya-note {
        margin-top: 4mm !important;
        font-size: 6pt !important;
        padding: 2.5mm !important;
    }
}
/* FIX PRINT LAPORAN */
@media print {
    body {
        background: #ffffff !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .sidebar,
    .topbar,
    .d-print-none {
        display: none !important;
    }

    .main-content {
        margin-left: 0 !important;
        width: 100% !important;
        background: #ffffff !important;
    }

    .container-fluid {
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .card {
        display: block !important;
        box-shadow: none !important;
        border: 1px solid #ddd !important;
        page-break-inside: avoid;
    }

    .card-body {
        display: block !important;
    }

    .table-responsive {
        overflow: visible !important;
    }

    table {
        width: 100% !important;
        border-collapse: collapse !important;
    }

    table th,
    table td {
        border: 1px solid #ddd !important;
        padding: 6px !important;
        font-size: 11px !important;
    }

    .btn,
    form,
    button {
        display: none !important;
    }
}
/* FIX FINAL PRINT LAPORAN */
@media print {
    @page {
        size: A4 portrait;
        margin: 10mm;
    }

    body {
        background: #fff !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .sidebar,
    .topbar,
    .d-print-none,
    form,
    button,
    .btn {
        display: none !important;
    }

    .card:not(.cattleya-card-grid),
    .card:not(.cattleya-card-grid) .card-body,
    .table-responsive,
    table,
    thead,
    tbody,
    tr,
    th,
    td {
        display: revert !important;
        visibility: visible !important;
    }

    .main-content {
        margin-left: 0 !important;
        width: 100% !important;
        background: #fff !important;
    }

    .container-fluid {
        padding: 0 !important;
        margin: 0 !important;
        max-width: 100% !important;
    }

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

    table {
        width: 100% !important;
        border-collapse: collapse !important;
    }

    table th,
    table td {
        border: 1px solid #ddd !important;
        padding: 6px !important;
        font-size: 11px !important;
    }
}
/* LOGO ICON STAT CARD LAPORAN */
.stat-card .card-body {
    position: relative;
    min-height: 125px;
    padding-left: 88px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-card .card-body::before {
    content: "";
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-card:nth-child(1) .card-body::before {
    content: "ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¾Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â°ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¦ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¸ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¾ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â³";
    background: #dcfce7;
    font-size: 24px;
}

.stat-card:nth-child(2) .card-body::before {
    content: "ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¾Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¦ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¾Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¯ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¸ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â";
    background: #fee2e2;
    font-size: 24px;
}

.stat-card:nth-child(3) .card-body::before {
    content: "ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¾Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¾Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¯ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¸ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â";
    background: #dbeafe;
    font-size: 24px;
}

.stat-card:nth-child(4) .card-body::before {
    content: "ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¾Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¾Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¯ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¸ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â";
    background: #ffedd5;
    font-size: 24px;
}
/* AGENDA GALLERY */
.agenda-gallery-item {
    display: block;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    transition: .25s;
    background: #fff;
}

.agenda-gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0,0,0,.08);
}

.agenda-gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.agenda-empty-cover {
    width: 100%;
    height: 320px;
    border-radius: 24px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 80px;
}

.agenda-detail-text {
    line-height: 1.8;
    color: #475569;
}
/* Voting module */
.voting-options-editor {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.voting-option-input {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 44px;
    gap: 10px;
    align-items: center;
}

.voting-option-input > span {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #eef4ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.voting-result-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.voting-result-summary > div {
    border: 1px solid #e7ebf2;
    border-radius: 12px;
    padding: 16px;
    background: #f8fafc;
}

.voting-result-summary span {
    display: block;
    color: #667085;
    font-size: 13px;
    margin-bottom: 4px;
}

.voting-result-summary strong {
    display: block;
    color: #0f172a;
    font-size: 22px;
    font-weight: 900;
}

.voting-results-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.voting-result-item {
    border-bottom: 1px solid #edf1f6;
    padding-bottom: 16px;
}

.voting-result-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.voting-track-large {
    height: 10px;
}

.voting-choice-list {
    display: grid;
    gap: 10px;
}

.voting-choice-card {
    cursor: pointer;
    border: 1px solid #dfe6f0;
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    transition: all .16s ease;
}

.voting-choice-card:hover,
.voting-choice-card:has(input:checked) {
    border-color: #2563eb;
    background: #eff6ff;
}

.voting-choice-card input {
    width: 18px;
    height: 18px;
    accent-color: #2563eb;
}

.voting-choice-card span {
    color: #17233b;
    font-weight: 800;
}

@media (max-width: 768px) {
    .voting-option-input,
    .voting-result-summary {
        grid-template-columns: 1fr;
    }
}

/* Agenda multi-photo polish */
.agenda-thumb-stack {
    width: 94px;
    height: 64px;
    display: flex;
    align-items: center;
    position: relative;
}

.agenda-thumb-stack img {
    width: 54px;
    height: 54px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid #fff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .13);
    margin-left: -18px;
    background: #f8fafc;
}

.agenda-thumb-stack img:first-child {
    margin-left: 0;
}

.agenda-empty-thumb,
.agenda-empty-cover {
    border-radius: 14px;
    background: #f1f5f9;
    border: 1px solid #e5e7eb;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.agenda-empty-thumb {
    width: 70px;
    height: 70px;
    font-size: 24px;
}

.agenda-empty-cover {
    min-height: 390px;
    font-size: 54px;
}

.agenda-edit-photo-grid,
.agenda-gallery-three {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.agenda-edit-photo {
    border: 1px solid #e5eaf2;
    border-radius: 14px;
    padding: 10px;
    background: #fff;
}

.agenda-edit-photo img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    margin-bottom: 10px;
}

.agenda-edit-photo span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ef4444;
    font-size: 13px;
    font-weight: 700;
}

.agenda-hero-photo {
    position: relative;
    display: block;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #e5eaf2;
    background: #f8fafc;
}

.agenda-hero-photo img {
    width: 100%;
    height: min(58vh, 520px);
    min-height: 360px;
    object-fit: cover;
    display: block;
}

.agenda-hero-photo span {
    position: absolute;
    right: 16px;
    bottom: 16px;
    border-radius: 999px;
    background: rgba(15, 23, 42, .72);
    color: #fff;
    padding: 8px 13px;
    font-size: 13px;
    font-weight: 800;
    backdrop-filter: blur(8px);
}

.agenda-gallery-three a {
    display: block;
    border: 2px solid transparent;
    border-radius: 14px;
    overflow: hidden;
    background: #f8fafc;
}

.agenda-gallery-three a.active {
    border-color: #2563eb;
}

.agenda-gallery-three img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.agenda-info-list {
    display: grid;
    gap: 12px;
}

.agenda-info-list div {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #344054;
}

.agenda-info-list i {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #eef4ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.agenda-detail-text {
    color: #475467;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .agenda-edit-photo-grid,
    .agenda-gallery-three {
        grid-template-columns: 1fr;
    }

    .agenda-hero-photo img {
        min-height: 260px;
    }
}

/* Absensi kegiatan */
.attendance-mini-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
}

.attendance-track {
    height: 7px;
    max-width: 240px;
}

.attendance-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    height: 100%;
}

.attendance-summary-grid > div {
    border: 1px solid #e7ebf2;
    border-radius: 12px;
    background: #fff;
    padding: 18px;
    box-shadow: 0 7px 18px rgba(15, 23, 42, .05);
}

.attendance-summary-grid span {
    display: block;
    color: #667085;
    font-size: 13px;
    margin-bottom: 5px;
}

.attendance-summary-grid strong {
    display: block;
    color: #0f172a;
    font-size: 24px;
    font-weight: 900;
}

.attendance-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.attendance-status-options {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.attendance-radio {
    cursor: pointer;
    border: 1px solid #dfe6f0;
    border-radius: 999px;
    padding: 7px 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 800;
    background: #fff;
    color: #344054;
}

.attendance-radio input {
    width: 14px;
    height: 14px;
}

.attendance-radio.hadir:has(input:checked) {
    border-color: #22c55e;
    background: #eafaf0;
    color: #15803d;
}

.attendance-radio.izin:has(input:checked) {
    border-color: #f59e0b;
    background: #fff7e6;
    color: #b45309;
}

.attendance-radio.tidak:has(input:checked) {
    border-color: #ef4444;
    background: #fff0f1;
    color: #dc2626;
}

@media (max-width: 992px) {
    .attendance-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 576px) {
    .attendance-summary-grid {
        grid-template-columns: 1fr;
    }
}

/* Absensi detail breakdown */
.attendance-detail-total {
    border: 1px solid #e7ebf2;
    border-radius: 12px;
    padding: 12px 16px;
    min-width: 160px;
    background: #f8fafc;
}

.attendance-detail-total span,
.attendance-detail-stat span {
    display: block;
    color: #667085;
    font-size: 13px;
    margin-bottom: 4px;
}

.attendance-detail-total strong,
.attendance-detail-stat strong {
    display: block;
    color: #0f172a;
    font-size: 24px;
    font-weight: 900;
}

.attendance-detail-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.attendance-detail-stat {
    border: 1px solid #e7ebf2;
    border-radius: 12px;
    background: #fff;
    padding: 18px;
    box-shadow: 0 7px 18px rgba(15, 23, 42, .05);
}

.attendance-detail-stat.hadir { border-left: 4px solid #22c55e; }
.attendance-detail-stat.izin { border-left: 4px solid #f59e0b; }
.attendance-detail-stat.tidak { border-left: 4px solid #ef4444; }
.attendance-detail-stat.belum { border-left: 4px solid #64748b; }

.attendance-list-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.attendance-list-card .card-body {
    padding: 18px;
}

.attendance-list-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #edf1f6;
    margin-bottom: 12px;
    font-weight: 900;
}

.attendance-list-head strong {
    min-width: 34px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
}

.attendance-list-head.hadir strong { background: #22c55e; }
.attendance-list-head.izin strong { background: #f59e0b; }
.attendance-list-head.tidak_hadir strong { background: #ef4444; }
.attendance-list-head.belum strong { background: #64748b; }

.attendance-person-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.attendance-person-item {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
    align-items: flex-start;
    padding: 10px;
    border: 1px solid #edf1f6;
    border-radius: 12px;
    background: #fbfcfe;
}

.attendance-person-item .avatar {
    width: 34px;
    height: 34px;
    font-size: 19px;
}

.attendance-person-item strong,
.attendance-person-item span,
.attendance-person-item small {
    display: block;
}

.attendance-person-item strong {
    color: #17233b;
    font-size: 14px;
}

.attendance-person-item span {
    color: #667085;
    font-size: 12px;
    margin-top: 3px;
}

.attendance-person-item small {
    color: #475467;
    margin-top: 6px;
    padding: 6px 8px;
    border-radius: 8px;
    background: #eef4ff;
}

@media (max-width: 1200px) {
    .attendance-list-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .attendance-detail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 576px) {
    .attendance-detail-grid {
        grid-template-columns: 1fr;
    }
}

/* WhatsApp notification module */
.wa-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.wa-tab {
    border: 1px solid #dfe6f0;
    border-radius: 12px;
    padding: 12px 15px;
    background: #fff;
    color: #344054;
    text-decoration: none;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 7px 18px rgba(15, 23, 42, .04);
}

.wa-tab.active {
    background: linear-gradient(135deg, #16a34a, #22c55e);
    border-color: transparent;
    color: #fff;
}

.wa-agenda-list,
.wa-send-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wa-agenda-card,
.wa-send-item {
    border: 1px solid #e7ebf2;
    border-radius: 14px;
    padding: 15px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.wa-agenda-card h6 {
    margin: 0 0 5px;
    font-weight: 900;
}

.wa-agenda-card p,
.wa-agenda-card small,
.wa-send-item span {
    display: block;
    color: #667085;
    margin: 0;
}

.wa-agenda-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.wa-send-item strong {
    display: block;
    color: #17233b;
}

.wa-preview-message {
    font-family: Consolas, "Courier New", monospace;
    line-height: 1.55;
}

@media (max-width: 768px) {
    .wa-agenda-card,
    .wa-send-item {
        align-items: flex-start;
        flex-direction: column;
    }

    .wa-agenda-actions {
        justify-content: flex-start;
    }
}

/* WhatsApp template editor */
.wa-template-editor,
.wa-template-preview {
    font-family: Consolas, "Courier New", monospace;
    line-height: 1.6;
}

.wa-template-preview {
    white-space: pre-wrap;
    margin: 0;
    border: 1px solid #e7ebf2;
    border-radius: 12px;
    padding: 14px;
    background: #f8fafc;
    color: #17233b;
}

.wa-variable-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wa-variable-list code {
    border: 1px solid #dfe6f0;
    border-radius: 999px;
    padding: 7px 10px;
    background: #f8fafc;
    color: #2563eb;
    font-weight: 800;
}

/* Portal Warga */
.portal-profile-list {
    display: grid;
    gap: 12px;
}

.portal-profile-list > div {
    border: 1px solid #e7ebf2;
    border-radius: 12px;
    padding: 14px;
    background: #f8fafc;
}

.portal-profile-list span {
    display: block;
    color: #667085;
    font-size: 13px;
    margin-bottom: 5px;
}

.portal-profile-list strong {
    display: block;
    color: #17233b;
    font-size: 15px;
}

/* Asset module */
.asset-dashboard-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.asset-dashboard-summary > div {
    border: 1px solid #e7ebf2;
    border-radius: 12px;
    padding: 15px;
    background: #f8fafc;
}

.asset-dashboard-summary span {
    display: block;
    color: #667085;
    font-size: 13px;
    margin-bottom: 4px;
}

.asset-dashboard-summary strong {
    display: block;
    color: #0f172a;
    font-size: 20px;
    font-weight: 900;
}

@media (max-width: 768px) {
    .asset-dashboard-summary {
        grid-template-columns: 1fr;
    }
}

/* Minimal login refinement */
@media (min-width: 992px) {
    .cattleya-login {
        grid-template-columns: minmax(420px, 43vw) 1fr;
    }

    .login-form-panel {
        padding: 32px 48px 24px;
        justify-content: center;
    }
}

.login-card-shell {
    width: min(100%, 680px);
    min-height: 0;
    padding: 34px 56px 30px;
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(16, 24, 40, .12);
}

.login-logo-wrap {
    width: 184px;
    height: 128px;
    margin: 0 auto 12px;
}

.login-tabs {
    height: 52px;
    border-radius: 8px;
    margin-bottom: 24px;
}

.login-tab {
    gap: 8px;
    font-size: 15px;
    font-weight: 800;
}

.login-tab i {
    font-size: 18px;
}

.login-tab.active::after {
    height: 3px;
}

.login-heading {
    margin-bottom: 18px;
}

.login-heading h2 {
    font-size: 20px;
    margin-bottom: 6px;
}

.login-heading p {
    font-size: 13px;
}

.cattleya-login-form {
    gap: 9px;
}

.login-field {
    height: 48px;
    border-radius: 8px;
    padding: 0 16px;
    gap: 12px;
}

.login-field > i {
    font-size: 15px;
}

.login-field input {
    font-size: 12.5px;
}

.password-toggle {
    font-size: 15px;
}

.login-options {
    margin: -1px 0 8px;
    font-size: 11.5px;
}

.remember-check {
    gap: 8px;
}

.remember-check input {
    width: 13px;
    height: 13px;
}

.admin-login-btn,
.resident-login-btn {
    height: 46px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
}

.admin-login-btn i:first-child,
.resident-login-btn i:first-child {
    font-size: 15px;
}

.admin-login-btn i:last-child,
.resident-login-btn i:last-child {
    font-size: 15px;
}

.login-divider {
    margin: 15px 0 14px;
    font-size: 12px;
}

.login-copyright {
    margin-top: 14px !important;
    font-size: 12px !important;
}

.cattleya-alert {
    padding: 10px 12px;
    font-size: 13px;
    margin-bottom: 12px;
}

@media (max-width: 991px) {
    .login-card-shell {
        width: min(100%, 560px);
        padding: 28px 24px 26px;
    }

    .login-logo-wrap {
        width: 160px;
        height: 112px;
    }
}

@media (max-width: 575px) {
    .login-form-panel {
        padding: 22px 14px 20px;
    }

    .login-card-shell {
        padding: 24px 18px 22px;
        border-radius: 16px;
    }

    .login-tabs {
        height: auto;
    }

    .login-tab {
        min-height: 48px;
        font-size: 13px;
    }
}

/* Slimmer red welcome panel */
@media (min-width: 992px) {
    .cattleya-login {
        grid-template-columns: clamp(300px, 31vw, 440px) 1fr;
    }

    .login-hero-panel {
        background-size: auto 100% !important;
        background-position: left center !important;
    }

    .login-form-panel {
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media (min-width: 1400px) {
    .cattleya-login {
        grid-template-columns: 34vw 1fr;
    }
}

@media (min-width: 1800px) {
    .cattleya-login {
        grid-template-columns: 30vw 1fr;
    }
}

/* Login no-scroll balanced composition */
.cattleya-login-body {
    height: 100dvh;
    overflow: hidden;
}

.cattleya-login {
    height: 100dvh;
    min-height: 100dvh;
    overflow: hidden;
}

.login-hero-panel,
.login-form-panel {
    height: 100dvh;
    min-height: 100dvh;
    overflow: hidden;
}

@media (min-width: 992px) {
    .cattleya-login {
        grid-template-columns: clamp(360px, 35vw, 560px) 1fr;
    }

    .login-hero-panel {
        background-size: cover !important;
        background-position: center center !important;
    }

    .login-form-panel {
        padding-top: 22px;
        padding-bottom: 18px;
    }

    .login-card-shell {
        max-height: calc(100dvh - 68px);
    }
}

@media (min-width: 1400px) {
    .cattleya-login {
        grid-template-columns: 36vw 1fr;
    }
}

@media (min-width: 1800px) {
    .cattleya-login {
        grid-template-columns: 34vw 1fr;
    }
}

@media (max-height: 760px) and (min-width: 992px) {
    .login-card-shell {
        padding-top: 22px;
        padding-bottom: 22px;
    }

    .login-logo-wrap {
        width: 145px;
        height: 100px;
        margin-bottom: 8px;
    }

    .login-tabs {
        height: 46px;
        margin-bottom: 16px;
    }

    .login-heading {
        margin-bottom: 12px;
    }

    .login-field {
        height: 44px;
    }

    .admin-login-btn,
    .resident-login-btn {
        height: 48px;
    }

    .login-divider {
        margin: 10px 0;
    }
}

/* Surat Menyurat document preview */
.surat-paper {
    width: 100%;
    max-width: 794px;
    min-height: 920px;
    margin: 0 auto;
    background: #fff;
    color: #111827;
    padding: 34px 42px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 16px 40px rgba(15, 23, 42, .08);
    font-family: Arial, sans-serif;
}

.surat-kop {
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 18px;
    align-items: center;
    text-align: center;
}

.surat-kop-logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.surat-kop-text strong,
.surat-kop-text span,
.surat-kop-text small {
    display: block;
}

.surat-kop-text strong {
    font-size: 18px;
    line-height: 1.25;
    letter-spacing: 0;
}

.surat-kop-text span {
    font-size: 16px;
    font-weight: 800;
    margin-top: 2px;
}

.surat-kop-text small {
    font-size: 12px;
    color: #475569;
    margin-top: 4px;
}

.surat-kop-line {
    border-top: 3px solid #111827;
    border-bottom: 1px solid #111827;
    height: 6px;
    margin: 16px 0 30px;
}

.surat-body-text {
    font-size: 14px;
    line-height: 1.8;
    white-space: pre-wrap;
}

.surat-signature {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 24px;
    margin-top: 54px;
}

.surat-signature-box {
    text-align: center;
    font-size: 14px;
}

.surat-signature-box span,
.surat-signature-box strong {
    display: block;
}

.surat-signature-box strong {
    margin-top: 76px;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .surat-paper {
        padding: 24px 18px;
        min-height: 0;
    }

    .surat-kop {
        grid-template-columns: 52px 1fr;
        gap: 10px;
    }

    .surat-kop-logo {
        width: 50px;
        height: 50px;
    }

    .surat-kop-text strong { font-size: 14px; }
    .surat-kop-text span { font-size: 13px; }
    .surat-signature { grid-template-columns: 1fr; }
}

/* Compact surat preview and strict logo size */
.surat-preview-compact {
    max-height: 720px;
    overflow: auto;
    background: #f8fafc;
    border: 1px solid #e7ebf2;
    border-radius: 10px;
    padding: 14px;
}

.surat-preview-compact .surat-paper {
    max-width: 620px;
    min-height: 760px;
    padding: 26px 30px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
}

.surat-kop-logo {
    width: 58px !important;
    height: 58px !important;
    max-width: 58px !important;
    max-height: 58px !important;
    object-fit: contain !important;
}

.surat-preview-compact .surat-kop {
    grid-template-columns: 62px 1fr;
    gap: 12px;
}

.surat-preview-compact .surat-kop-text strong {
    font-size: 14px;
}

.surat-preview-compact .surat-kop-text span {
    font-size: 13px;
}

.surat-preview-compact .surat-kop-text small,
.surat-preview-compact .surat-body-text,
.surat-preview-compact .surat-signature-box {
    font-size: 12px;
}

.surat-preview-compact .surat-kop-line {
    margin: 12px 0 20px;
}

.surat-preview-compact .surat-signature {
    margin-top: 36px;
}

.surat-print-body {
    margin: 0;
    background: #fff;
    color: #111827;
    font-family: Arial, sans-serif;
}

.surat-print-body .surat-paper {
    max-width: none;
    min-height: auto;
    padding: 0;
    border: 0;
    box-shadow: none;
}

@page {
    size: A4;
    margin: 18mm;
}

/* Clean login photo swap: real photo background, crisp HTML overlay */
.login-hero-panel {
    background:
        linear-gradient(90deg, rgba(124, 0, 15, .94), rgba(169, 0, 24, .78) 56%, rgba(128, 0, 18, .70)),
        linear-gradient(180deg, rgba(58, 0, 7, .08), rgba(58, 0, 7, .40)),
        var(--login-photo-url, url("/assets/img/login-cattleya-bg.jpeg?v=20260529-clean")) center center / cover no-repeat !important;
}

.login-hero-panel::before {
    display: block !important;
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(135, 0, 18, .08), rgba(70, 0, 9, .28));
    pointer-events: none;
}

.login-hero-panel::after {
    display: none !important;
}

.login-hero-panel .hero-overlay,
.login-hero-panel .hero-flower,
.login-hero-panel .hero-content {
    display: block !important;
}

.login-hero-panel .hero-content {
    display: flex !important;
    width: min(520px, calc(100% - 96px));
    min-height: 100dvh;
    padding: clamp(92px, 10vh, 125px) 0 clamp(40px, 6vh, 62px);
}

.login-hero-panel .welcome-pill {
    font-size: 17px;
    padding: 11px 18px;
}

.login-hero-panel .hero-brand-text {
    margin-top: 30px;
}

.login-hero-panel .hero-brand-text h1 {
    font-size: clamp(44px, 3.8vw, 62px);
    letter-spacing: 1px;
}

.login-hero-panel .hero-brand-text div {
    font-size: clamp(20px, 1.8vw, 27px);
    letter-spacing: 9px;
    gap: 14px;
    margin-top: 15px;
}

.login-hero-panel .hero-brand-text div span {
    width: 58px;
}

.login-hero-panel .hero-desc {
    max-width: 480px;
    margin-top: 26px;
    font-size: 16px;
    line-height: 1.65;
}

.login-hero-panel .hero-feature-list {
    margin-top: clamp(30px, 5vh, 46px);
    gap: clamp(22px, 3vh, 30px);
}

.login-hero-panel .hero-feature {
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 18px;
}

.login-hero-panel .feature-icon {
    width: 56px;
    height: 56px;
    font-size: 29px;
}

.login-hero-panel .hero-feature strong {
    font-size: 17px;
}

.login-hero-panel .hero-feature span {
    font-size: 14px;
}

.login-hero-panel .hero-feature:not(:last-child)::after {
    left: 28px;
    top: 56px;
    height: 25px;
}

.login-hero-panel .housing-info-card {
    margin-top: auto;
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 18px;
    padding: 22px 26px;
    border-radius: 22px;
    background: rgba(161, 9, 29, .48);
}

.login-hero-panel .housing-pin {
    width: 58px;
    height: 58px;
    font-size: 27px;
}

.login-hero-panel .housing-copy h2 {
    font-size: 18px;
}

.login-hero-panel .housing-copy span {
    font-size: 13px;
}

.login-hero-panel .housing-copy strong {
    font-size: 16px;
}

.login-hero-panel .housing-copy p {
    font-size: 14px;
}

@media (min-width: 992px) and (max-height: 780px) {
    .login-hero-panel .hero-content {
        padding-top: 70px;
        padding-bottom: 30px;
    }

    .login-hero-panel .hero-feature-list {
        gap: 18px;
        margin-top: 24px;
    }

    .login-hero-panel .housing-info-card {
        padding: 18px 22px;
    }
}
/* Login hero polish: clean flower ornaments and precise housing card */
.login-hero-panel .hero-flower {
    width: 230px;
    height: 230px;
    opacity: .22;
    filter: none;
    background: none !important;
    pointer-events: none;
}

.login-hero-panel .hero-flower::before,
.login-hero-panel .hero-flower::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: none;
}

.login-hero-panel .hero-flower::before {
    background:
        radial-gradient(ellipse 32% 21% at 50% 14%, rgba(238, 20, 54, .62) 0 62%, transparent 64%),
        radial-gradient(ellipse 32% 21% at 80% 36%, rgba(238, 20, 54, .58) 0 62%, transparent 64%),
        radial-gradient(ellipse 31% 21% at 68% 78%, rgba(238, 20, 54, .54) 0 62%, transparent 64%),
        radial-gradient(ellipse 31% 21% at 30% 78%, rgba(238, 20, 54, .54) 0 62%, transparent 64%),
        radial-gradient(ellipse 32% 21% at 20% 36%, rgba(238, 20, 54, .58) 0 62%, transparent 64%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .18) 0 8%, transparent 9%);
}

.login-hero-panel .hero-flower::after {
    inset: 28px;
    border-radius: 50%;
    background:
        linear-gradient(28deg, transparent 47%, rgba(255,255,255,.16) 48% 50%, transparent 51%),
        linear-gradient(96deg, transparent 47%, rgba(255,255,255,.15) 48% 50%, transparent 51%),
        linear-gradient(162deg, transparent 47%, rgba(255,255,255,.14) 48% 50%, transparent 51%);
    opacity: .85;
}

.login-hero-panel .hero-flower-top {
    left: -72px;
    top: -66px;
    transform: rotate(-18deg);
}

.login-hero-panel .hero-flower-bottom {
    left: -82px;
    bottom: -74px;
    transform: rotate(22deg) scale(.92);
}

.login-hero-panel .hero-content {
    width: min(500px, calc(100% - 96px));
    padding-top: clamp(90px, 10vh, 116px);
    padding-bottom: clamp(42px, 5.6vh, 58px);
}

.login-hero-panel .housing-info-card {
    width: 100%;
    max-width: 468px;
    margin-top: clamp(34px, 5vh, 52px);
    align-self: flex-start;
    grid-template-columns: 64px minmax(0, 1fr);
    padding: 21px 25px 22px;
}

.login-hero-panel .housing-pin {
    width: 56px;
    height: 56px;
    align-self: start;
    margin-top: 2px;
}

.login-hero-panel .housing-copy h2 {
    margin-top: 0;
}

.login-hero-panel .housing-line {
    margin-bottom: 12px;
}

@media (min-width: 992px) and (max-height: 820px) {
    .login-hero-panel .hero-content {
        padding-top: 78px;
        padding-bottom: 34px;
    }

    .login-hero-panel .hero-brand-text {
        margin-top: 24px;
    }

    .login-hero-panel .hero-desc {
        margin-top: 20px;
    }

    .login-hero-panel .hero-feature-list {
        margin-top: 26px;
        gap: 19px;
    }

    .login-hero-panel .housing-info-card {
        margin-top: 28px;
        padding: 18px 23px;
    }
}
/* Login hero ornament: large cropped flower petals like reference */
.login-hero-panel .hero-flower {
    width: 260px;
    height: 260px;
    opacity: .34;
    filter: none;
    background: none !important;
    pointer-events: none;
}

.login-hero-panel .hero-flower::before,
.login-hero-panel .hero-flower::after {
    content: "";
    position: absolute;
    inset: 0;
}

.login-hero-panel .hero-flower::before {
    background:
        radial-gradient(ellipse 40% 22% at 50% 9%, rgba(185, 0, 27, .72) 0 66%, transparent 68%),
        radial-gradient(ellipse 42% 23% at 88% 38%, rgba(204, 4, 36, .68) 0 66%, transparent 68%),
        radial-gradient(ellipse 39% 22% at 70% 86%, rgba(177, 0, 25, .62) 0 66%, transparent 68%),
        radial-gradient(ellipse 39% 22% at 28% 84%, rgba(180, 0, 26, .62) 0 66%, transparent 68%),
        radial-gradient(ellipse 42% 23% at 12% 38%, rgba(205, 5, 38, .68) 0 66%, transparent 68%),
        radial-gradient(circle at 50% 50%, rgba(82, 0, 10, .32) 0 10%, transparent 11%);
    transform: rotate(-20deg);
}

.login-hero-panel .hero-flower::after {
    inset: 24px;
    background:
        linear-gradient(20deg, transparent 47%, rgba(92, 0, 11, .42) 48% 50%, transparent 51%),
        linear-gradient(88deg, transparent 47%, rgba(92, 0, 11, .38) 48% 50%, transparent 51%),
        linear-gradient(146deg, transparent 47%, rgba(92, 0, 11, .36) 48% 50%, transparent 51%),
        radial-gradient(circle at 50% 50%, rgba(255,255,255,.10) 0 7%, transparent 8%);
    transform: rotate(-20deg);
    opacity: .7;
}

.login-hero-panel .hero-flower-top {
    left: -116px;
    top: -104px;
    transform: rotate(-10deg) scale(1.02);
}

.login-hero-panel .hero-flower-bottom {
    left: -126px;
    bottom: -116px;
    transform: rotate(18deg) scale(.98);
}
/* Kas page: remove broken legacy pseudo icons from stat cards */
.kas-stat-card .card-body {
    padding-left: 24px !important;
    text-align: center;
}

.kas-stat-card .card-body::before {
    content: none !important;
    display: none !important;
}

.kas-stat-card .stat-icon {
    margin-left: auto;
    margin-right: auto;
}
/* Laporan page: remove broken legacy pseudo icons from stat cards */
.laporan-stat-card .card-body {
    padding-left: 24px !important;
    text-align: center;
}

.laporan-stat-card .card-body::before {
    content: none !important;
    display: none !important;
}
/* Login hero ornament: hibiscus-like flower asset, clean like old reference */
.login-hero-panel .hero-flower {
    width: 245px;
    height: 245px;
    opacity: .28;
    filter: none;
    background: var(--login-flower-url, url("/assets/img/login-flower-ornament.svg?v=20260529")) center / contain no-repeat !important;
    pointer-events: none;
    mix-blend-mode: multiply;
}

.login-hero-panel .hero-flower::before,
.login-hero-panel .hero-flower::after {
    content: none !important;
    display: none !important;
}

.login-hero-panel .hero-flower-top {
    left: -82px;
    top: -82px;
    transform: rotate(-17deg) scale(1.03);
}

.login-hero-panel .hero-flower-bottom {
    left: -96px;
    bottom: -88px;
    transform: rotate(18deg) scale(.96);
    opacity: .24;
}
/* Laporan total cards icon */
.laporan-stat-card .card-body {
    min-height: 132px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.laporan-stat-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 4px;
}
/* Premium compact UI polish - 2026-06-16 */
:root {
    --ui-radius: 10px;
    --ui-border: #e7edf5;
    --ui-shadow: 0 10px 24px rgba(15, 23, 42, .045);
    --ui-shadow-soft: 0 6px 18px rgba(15, 23, 42, .035);
}

.sidebar {
    width: 244px !important;
    padding: 16px 14px !important;
    background: linear-gradient(180deg, #071d35 0%, #08233f 58%, #06182d 100%) !important;
}

.sidebar-brand {
    gap: 10px !important;
    margin-bottom: 24px !important;
    padding: 8px 4px 14px !important;
}

.brand-logo {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
}

.brand-title {
    font-size: 19px !important;
    line-height: 1.05 !important;
    letter-spacing: 0 !important;
}

.brand-subtitle {
    font-size: 12px !important;
    line-height: 1.25 !important;
    max-width: 155px !important;
}

.sidebar-section {
    margin: 18px 8px 7px !important;
    font-size: 11px !important;
    letter-spacing: .55px !important;
    color: rgba(226, 235, 247, .64) !important;
}

.sidebar-link {
    min-height: 40px !important;
    padding: 9px 11px !important;
    margin-bottom: 5px !important;
    border-radius: 8px !important;
    gap: 10px !important;
    font-size: 14px !important;
    font-weight: 650 !important;
}

.sidebar-link i:first-child,
.sidebar-link-left i:first-child {
    width: 24px !important;
    min-width: 24px !important;
    font-size: 17px !important;
}

.sidebar-link.active {
    background: linear-gradient(135deg, #3467ff 0%, #6846f4 100%) !important;
    box-shadow: 0 10px 20px rgba(67, 82, 255, .22) !important;
}

.sidebar-submenu {
    margin: 3px 0 8px 34px !important;
    padding-left: 10px !important;
}

.sidebar-sublink {
    min-height: 30px !important;
    padding: 6px 8px !important;
    margin-bottom: 3px !important;
    font-size: 13px !important;
    border-radius: 7px !important;
}

.main-content {
    margin-left: 244px !important;
    background: #f6f8fb !important;
}

.topbar {
    height: 64px !important;
    padding: 0 22px !important;
    border-bottom: 1px solid var(--ui-border) !important;
}

.topbar-menu {
    width: 36px !important;
    height: 36px !important;
    font-size: 20px !important;
}

.topbar-avatar {
    width: 42px !important;
    height: 42px !important;
    font-size: 22px !important;
}

.topbar-user {
    gap: 10px !important;
}

.topbar-user-text strong {
    font-size: 14px !important;
}

.topbar-user-text small {
    font-size: 12px !important;
}

.container-fluid,
.dashboard-shell {
    padding: 24px 22px !important;
}

.dashboard-head {
    margin-bottom: 20px !important;
    align-items: flex-start !important;
}

.page-title {
    font-size: 28px !important;
    line-height: 1.12 !important;
    margin-bottom: 7px !important;
    letter-spacing: 0 !important;
}

.page-subtitle {
    font-size: 14px !important;
    margin-bottom: 0 !important;
}

.date-pill,
.filter-btn,
.link-btn {
    border-radius: 7px !important;
    box-shadow: none !important;
}

.date-pill {
    min-height: 38px !important;
    padding: 9px 13px !important;
    font-size: 13px !important;
}

.stat-grid,
.dashboard-grid-main,
.dashboard-grid-bottom {
    gap: 14px !important;
}

.stat-grid {
    margin-bottom: 14px !important;
}

.dashboard-grid-main,
.dashboard-grid-bottom {
    margin-bottom: 14px !important;
}

.dash-card,
.card {
    border: 1px solid var(--ui-border) !important;
    border-radius: var(--ui-radius) !important;
    box-shadow: var(--ui-shadow-soft) !important;
}

.dash-card:hover,
.card:hover {
    transform: none !important;
    box-shadow: var(--ui-shadow) !important;
}

.stat-card {
    min-height: 112px !important;
    padding: 18px 18px !important;
    gap: 15px !important;
}

.stat-icon {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    font-size: 24px !important;
    box-shadow: 0 10px 22px rgba(15, 23, 42, .12) !important;
}

.stat-label {
    font-size: 13px !important;
    margin-bottom: 8px !important;
}

.stat-value {
    font-size: 24px !important;
    line-height: 1.05 !important;
    letter-spacing: 0 !important;
}

.stat-note {
    font-size: 12px !important;
    margin-top: 7px !important;
}

.panel {
    padding: 20px 22px !important;
}

.panel-head {
    margin-bottom: 16px !important;
}

.panel-head h2,
.panel-head h6 {
    font-size: 17px !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
}

.chart-legend {
    margin-bottom: 10px !important;
    gap: 22px !important;
    font-size: 13px !important;
}

.line-chart {
    height: 310px !important;
}

.status-content {
    gap: 20px !important;
}

.donut {
    width: 150px !important;
    height: 150px !important;
    min-width: 150px !important;
}

.donut::after {
    width: 72px !important;
    height: 72px !important;
}

.status-list {
    gap: 16px !important;
}

.status-list span,
.status-list strong,
.tx-copy span,
.person-copy span,
.agenda-copy span,
.vote-title span {
    font-size: 12px !important;
}

.total-bill {
    margin-top: 18px !important;
    padding: 15px 0 0 18px !important;
}

.transaction-list,
.arrears-list,
.agenda-list,
.vote-list {
    gap: 11px !important;
}

.transaction-item,
.person-row,
.agenda-row {
    min-height: 52px !important;
    padding: 8px 0 !important;
}

.tx-icon,
.avatar,
.agenda-date {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    border-radius: 8px !important;
}

.tx-copy strong,
.person-copy strong,
.agenda-copy strong,
.vote-title strong {
    font-size: 13px !important;
}

.tx-amount strong,
.person-debt {
    font-size: 13px !important;
}

.asset-dashboard-summary {
    gap: 10px !important;
}

.asset-dashboard-summary > div {
    padding: 12px 14px !important;
    border-radius: 8px !important;
}

.table th,
.table td {
    padding: 10px 9px !important;
    font-size: 13px !important;
}

.dashboard-footer {
    margin-left: 244px !important;
    padding: 14px 22px !important;
    font-size: 12px !important;
}

@media (max-width: 1199px) {
    .main-content,
    .dashboard-footer {
        margin-left: 0 !important;
    }
}

@media (max-width: 768px) {
    .container-fluid,
    .dashboard-shell {
        padding: 18px 14px !important;
    }

    .page-title {
        font-size: 24px !important;
    }

    .stat-card {
        min-height: 104px !important;
    }

    .panel {
        padding: 17px !important;
    }
}

/* Compact UI alignment correction - 2026-06-16 */
.sidebar {
    width: 280px !important;
    min-width: 280px !important;
    padding: 14px 12px !important;
}

.main-content {
    margin-left: 280px !important;
    width: calc(100% - 280px) !important;
    min-width: 0 !important;
}

.dashboard-footer {
    margin-left: 280px !important;
}

.sidebar-brand {
    gap: 9px !important;
    margin-bottom: 16px !important;
    padding: 4px 2px 10px !important;
}

.brand-logo {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
}

.brand-title {
    font-size: 18px !important;
    line-height: 1.05 !important;
}

.brand-subtitle {
    font-size: 11px !important;
    line-height: 1.2 !important;
}

.sidebar-section {
    margin: 12px 8px 5px !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    letter-spacing: .45px !important;
}

.sidebar-link {
    min-height: 34px !important;
    padding: 7px 10px !important;
    margin-bottom: 2px !important;
    gap: 8px !important;
    border-radius: 7px !important;
    font-size: 13px !important;
    line-height: 1.15 !important;
}

.sidebar-link-left {
    gap: 8px !important;
}

.sidebar-link i:first-child,
.sidebar-link-left i:first-child {
    width: 20px !important;
    min-width: 20px !important;
    font-size: 15px !important;
}

.sidebar-link .bi-chevron-down,
.dropdown-icon {
    font-size: 11px !important;
}

.sidebar-submenu {
    margin: 2px 0 5px 28px !important;
    padding-left: 7px !important;
    gap: 1px !important;
}

.sidebar-sublink {
    min-height: 25px !important;
    padding: 4px 7px !important;
    margin-bottom: 1px !important;
    font-size: 12px !important;
    line-height: 1.15 !important;
    border-radius: 6px !important;
}

.sidebar-sublink i {
    font-size: 14px !important;
}

.topbar {
    height: 64px !important;
    padding: 0 22px !important;
}

.container-fluid,
.dashboard-shell {
    padding-left: 22px !important;
    padding-right: 22px !important;
}

@media (max-width: 1199px) {
    .sidebar {
        width: 280px !important;
        min-width: 280px !important;
    }

    .main-content,
    .dashboard-footer {
        margin-left: 280px !important;
        width: calc(100% - 280px) !important;
    }
}

@media (max-width: 991px) {
    .sidebar {
        width: 100% !important;
        min-width: 100% !important;
    }

    .main-content,
    .dashboard-footer {
        margin-left: 0 !important;
        width: 100% !important;
    }
}

/* Premium minimal proportions - all app pages */
:root {
    --premium-radius: 8px;
    --premium-border: #e7ecf3;
    --premium-text: #0f172a;
    --premium-muted: #667085;
    --premium-shadow: 0 8px 22px rgba(15, 23, 42, .04);
}

.sidebar {
    padding: 13px 12px !important;
}

.sidebar-brand {
    margin-bottom: 14px !important;
}

.brand-logo {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    border-radius: 10px !important;
    padding: 3px !important;
}

.brand-logo img {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
}

.brand-title {
    font-size: 17px !important;
    letter-spacing: 0 !important;
}

.brand-subtitle {
    font-size: 10px !important;
    line-height: 1.25 !important;
}

.topbar {
    height: 60px !important;
}

.topbar-avatar {
    width: 38px !important;
    height: 38px !important;
    font-size: 19px !important;
}

.topbar-user-text strong {
    font-size: 13px !important;
}

.topbar-user-text small {
    font-size: 11px !important;
    margin-top: 2px !important;
}

.container-fluid,
.dashboard-shell {
    padding-top: 20px !important;
    padding-bottom: 22px !important;
}

.page-title {
    font-size: 24px !important;
    line-height: 1.15 !important;
    margin-bottom: 6px !important;
    font-weight: 850 !important;
}

.page-subtitle {
    font-size: 13px !important;
    color: var(--premium-muted) !important;
}

.card,
.dash-card {
    border-radius: var(--premium-radius) !important;
    border-color: var(--premium-border) !important;
    box-shadow: var(--premium-shadow) !important;
}

.card-body {
    padding: 18px !important;
}

.card-header {
    padding: 14px 18px !important;
}

.form-label,
label {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #344054 !important;
    margin-bottom: 6px !important;
}

.form-control,
.form-select {
    min-height: 38px !important;
    border-radius: var(--premium-radius) !important;
    border-color: #dce3ec !important;
    padding: 8px 11px !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    box-shadow: none !important;
}

textarea.form-control {
    min-height: 92px !important;
}

.form-control::placeholder {
    color: #98a2b3 !important;
}

.form-control:focus,
.form-select:focus {
    border-color: #7c9cff !important;
    box-shadow: 0 0 0 3px rgba(59, 91, 253, .10) !important;
}

.btn {
    min-height: 36px !important;
    border-radius: var(--premium-radius) !important;
    padding: 8px 12px !important;
    font-size: 13px !important;
    font-weight: 750 !important;
    line-height: 1.2 !important;
}

.btn-sm {
    min-height: 30px !important;
    padding: 6px 9px !important;
    font-size: 12px !important;
}

.badge {
    padding: 5px 8px !important;
    font-size: 11px !important;
    font-weight: 750 !important;
}

.table th,
.table td {
    padding: 9px 10px !important;
    font-size: 12.5px !important;
}

.table thead th {
    font-size: 11.5px !important;
    letter-spacing: .02em !important;
    text-transform: uppercase !important;
}

.stat-card {
    min-height: 96px !important;
    padding: 15px 16px !important;
    gap: 13px !important;
}

.stat-icon {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    font-size: 20px !important;
}

.stat-label {
    font-size: 12px !important;
    margin-bottom: 5px !important;
}

.stat-value {
    font-size: 21px !important;
    line-height: 1.1 !important;
}

.stat-note {
    font-size: 11.5px !important;
    margin-top: 5px !important;
}

.panel {
    padding: 18px !important;
}

.panel-head {
    margin-bottom: 14px !important;
}

.panel-head h2,
.panel-head h6,
.card-body > h6.fw-bold {
    font-size: 16px !important;
    font-weight: 850 !important;
}

.date-pill,
.filter-btn,
.link-btn {
    height: 34px !important;
    min-height: 34px !important;
    border-radius: var(--premium-radius) !important;
    padding: 0 12px !important;
    font-size: 12.5px !important;
}

.tx-icon,
.avatar,
.agenda-date {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    font-size: 14px !important;
}

.transaction-item,
.person-row,
.agenda-row {
    min-height: 48px !important;
}

.donut {
    width: 132px !important;
    height: 132px !important;
    min-width: 132px !important;
}

.donut::after {
    inset: 32px !important;
    width: auto !important;
    height: auto !important;
}

.line-chart {
    height: 286px !important;
}

.payment-form-card .card-body,
.payment-custom-box,
.payment-total-box {
    border-radius: var(--premium-radius) !important;
}

.payment-custom-box {
    padding: 14px 16px !important;
}

.payment-custom-box h5 {
    font-size: 14px !important;
}

.payment-custom-box p {
    font-size: 12px !important;
}

.payment-total-box {
    padding: 14px 16px !important;
    font-size: 18px !important;
}

.payment-submit-btn {
    padding: 10px 16px !important;
}

.payment-month,
.month-check {
    border-radius: var(--premium-radius) !important;
}

.payment-month span,
.month-check span {
    padding: 10px 8px !important;
    font-size: 12.5px !important;
    border-radius: var(--premium-radius) !important;
}

.laporan-stat-icon {
    width: 38px !important;
    height: 38px !important;
    border-radius: 10px !important;
    font-size: 18px !important;
}

.asset-dashboard-summary > div,
.info-box {
    border-radius: var(--premium-radius) !important;
}

@media (max-width: 768px) {
    .page-title {
        font-size: 22px !important;
    }

    .card-body,
    .panel {
        padding: 15px !important;
    }

    .stat-value {
        font-size: 19px !important;
    }
}

/* Force circular icons/logos, never oval */
.brand-logo,
.topbar-avatar,
.stat-icon,
.tx-icon,
.avatar,
.agenda-date,
.laporan-stat-icon,
.feature-icon,
.housing-pin,
.login-logo {
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}

.brand-logo,
.topbar-avatar {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
}

.stat-icon {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.tx-icon,
.avatar,
.agenda-date,
.laporan-stat-icon {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
}

.brand-logo img,
.topbar-avatar img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

/* Dashboard icon placement like the reference: circle icon left, text right */
.stat-grid .stat-card {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: left !important;
}

.stat-grid .stat-card .stat-icon {
    margin: 0 14px 0 0 !important;
    flex: 0 0 42px !important;
}

.stat-grid .stat-card .stat-copy {
    text-align: left !important;
    min-width: 0 !important;
}

.status-panel .donut {
    width: 132px !important;
    height: 132px !important;
    min-width: 132px !important;
    max-width: 132px !important;
    min-height: 132px !important;
    max-height: 132px !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
    flex: 0 0 132px !important;
}

.status-panel .donut::after {
    content: "" !important;
    position: absolute !important;
    inset: 32px !important;
    width: auto !important;
    height: auto !important;
    border-radius: 50% !important;
}

/* Topbar user dropdown */
.topbar-user-dropdown {
    position: relative !important;
    cursor: pointer !important;
    user-select: none !important;
    padding: 6px 8px !important;
    border-radius: 10px !important;
    transition: background .16s ease !important;
}

.topbar-user-dropdown:hover,
.topbar-user-dropdown.open {
    background: #f4f7fb !important;
}

.topbar-user-dropdown.open .topbar-chevron {
    transform: rotate(180deg) !important;
}

.topbar-user-menu {
    position: absolute !important;
    right: 0 !important;
    top: calc(100% + 10px) !important;
    width: 168px !important;
    padding: 7px !important;
    background: #fff !important;
    border: 1px solid #e6edf5 !important;
    border-radius: 10px !important;
    box-shadow: 0 16px 34px rgba(15, 23, 42, .12) !important;
    display: none !important;
    z-index: 2000 !important;
}

.topbar-user-dropdown.open .topbar-user-menu {
    display: block !important;
}

.topbar-user-menu::before {
    content: "" !important;
    position: absolute !important;
    top: -6px !important;
    right: 17px !important;
    width: 10px !important;
    height: 10px !important;
    background: #fff !important;
    border-left: 1px solid #e6edf5 !important;
    border-top: 1px solid #e6edf5 !important;
    transform: rotate(45deg) !important;
}

.topbar-user-menu a {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
    min-height: 36px !important;
    padding: 8px 10px !important;
    border-radius: 8px !important;
    color: #ef4444 !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 750 !important;
}

.topbar-user-menu a:hover {
    background: #fff1f2 !important;
}

/* Dashboard expense category ranking */
.expense-category-panel {
    overflow: hidden !important;
}

.expense-panel-subtitle {
    margin: 5px 0 0 !important;
    color: #667085 !important;
    font-size: 12.5px !important;
}

.expense-category-grid {
    display: grid !important;
    grid-template-columns: 285px minmax(0, 1fr) !important;
    gap: 18px !important;
    align-items: stretch !important;
}

.expense-category-summary {
    border: 1px solid #eef2f7 !important;
    border-radius: 10px !important;
    padding: 18px !important;
    background:
        linear-gradient(135deg, rgba(239, 68, 68, .08), transparent 42%),
        linear-gradient(180deg, #ffffff, #fbfcff) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    min-height: 184px !important;
}

.expense-summary-icon {
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, #ef4444, #f97316) !important;
    color: #fff !important;
    font-size: 19px !important;
    box-shadow: 0 12px 24px rgba(239, 68, 68, .20) !important;
    margin-bottom: 14px !important;
}

.expense-category-summary span {
    color: #667085 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}

.expense-category-summary strong {
    color: #0f172a !important;
    font-size: 24px !important;
    line-height: 1.1 !important;
    margin-top: 6px !important;
}

.expense-category-summary small {
    color: #667085 !important;
    font-size: 12px !important;
    margin-top: 8px !important;
}

.expense-top-chip {
    margin-top: 14px !important;
    padding: 10px 12px !important;
    border-radius: 9px !important;
    background: #fff7ed !important;
    border: 1px solid #fed7aa !important;
}

.expense-top-chip span {
    display: block !important;
    color: #9a3412 !important;
    font-size: 11px !important;
    margin-bottom: 3px !important;
}

.expense-top-chip b {
    color: #7c2d12 !important;
    font-size: 13px !important;
}

.expense-category-bars {
    display: grid !important;
    gap: 13px !important;
    align-content: center !important;
    min-width: 0 !important;
}

.expense-bar-row {
    min-width: 0 !important;
}

.expense-bar-meta {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    gap: 16px !important;
    margin-bottom: 7px !important;
}

.expense-bar-meta strong {
    display: block !important;
    color: #0f172a !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
}

.expense-bar-meta span,
.expense-bar-value small {
    color: #667085 !important;
    font-size: 11.5px !important;
}

.expense-bar-value {
    text-align: right !important;
    white-space: nowrap !important;
}

.expense-bar-value b {
    display: block !important;
    color: #0f172a !important;
    font-size: 13px !important;
}

.expense-bar-track {
    height: 9px !important;
    border-radius: 999px !important;
    background: #eef2f7 !important;
    overflow: hidden !important;
}

.expense-bar-track i {
    display: block !important;
    height: 100% !important;
    border-radius: inherit !important;
    background: linear-gradient(90deg, var(--bar-color), color-mix(in srgb, var(--bar-color) 72%, white)) !important;
    box-shadow: 0 5px 12px color-mix(in srgb, var(--bar-color) 22%, transparent) !important;
}

@media (max-width: 991px) {
    .expense-category-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Tunggakan page */
.tunggakan-month-list {
    display: block !important;
    max-width: 280px !important;
    margin-top: 6px !important;
    color: #667085 !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
    white-space: normal !important;
}

.wa-message-textarea {
    min-height: 230px !important;
    resize: vertical !important;
    line-height: 1.55 !important;
}

/* Premium white login side - UI only */
.login-form-panel {
    isolation: isolate !important;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(248, 251, 255, .98) 48%, rgba(255, 255, 255, .96)) !important;
}

.login-form-panel::before {
    display: block !important;
    width: 820px !important;
    height: 820px !important;
    right: -210px !important;
    top: -430px !important;
    border: 1px solid rgba(203, 213, 225, .54) !important;
    border-radius: 50% !important;
    background:
        repeating-radial-gradient(circle at center, transparent 0 54px, rgba(203, 213, 225, .28) 55px 56px),
        linear-gradient(180deg, rgba(255, 255, 255, .36), rgba(248, 250, 252, .08)) !important;
    box-shadow: none !important;
    animation: login-ring-drift 18s ease-in-out infinite alternate !important;
    z-index: 0 !important;
}

.login-form-panel::after {
    display: block !important;
    width: 760px !important;
    height: 760px !important;
    right: -360px !important;
    bottom: -430px !important;
    border: 0 !important;
    border-radius: 42% 58% 0 0 !important;
    background:
        linear-gradient(135deg, rgba(225, 0, 36, .10), rgba(225, 0, 36, .18) 48%, rgba(255, 255, 255, .04)),
        repeating-linear-gradient(42deg, transparent 0 16px, rgba(255, 255, 255, .26) 17px 18px) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.68) !important;
    animation: login-ribbon-float 14s ease-in-out infinite alternate !important;
    z-index: 0 !important;
}

.login-wave-bg {
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    pointer-events: none !important;
    overflow: hidden !important;
}

.login-wave-bg::before {
    content: "" !important;
    position: absolute !important;
    left: -120px !important;
    bottom: 8% !important;
    width: 520px !important;
    height: 520px !important;
    border-radius: 50% !important;
    background:
        repeating-radial-gradient(circle, transparent 0 31px, rgba(203, 213, 225, .28) 32px 33px),
        radial-gradient(circle at center, rgba(226, 232, 240, .44), transparent 58%) !important;
    animation: login-soft-spin 28s linear infinite !important;
}

.login-wave-bg::after {
    content: "" !important;
    position: absolute !important;
    left: 9% !important;
    bottom: 8% !important;
    width: 156px !important;
    height: 58px !important;
    opacity: .58 !important;
    background-image: radial-gradient(circle, rgba(224, 2, 36, .42) 1.6px, transparent 1.8px) !important;
    background-size: 18px 18px !important;
    animation: login-dot-glide 9s ease-in-out infinite alternate !important;
}

.login-card-shell {
    width: min(100%, 385px) !important;
    min-height: 0 !important;
    padding: 24px 28px 26px !important;
    border-radius: 17px !important;
    background: rgba(255, 255, 255, .84) !important;
    border: 1px solid rgba(214, 222, 234, .88) !important;
    box-shadow:
        0 28px 72px rgba(15, 23, 42, .12),
        inset 0 1px 0 rgba(255, 255, 255, .92) !important;
    backdrop-filter: blur(18px) saturate(135%) !important;
}

.login-card-shell::before {
    content: none !important;
    display: none !important;
}

.login-logo-wrap {
    width: 240px !important;
    height: 168px !important;
    margin: -6px auto 6px !important;
}

.login-tabs {
    height: 44px !important;
    border-radius: 9px !important;
    border-color: #d8e0eb !important;
    background: #f7f9fc !important;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .045) !important;
    margin-bottom: 18px !important;
}

.login-tab {
    background: linear-gradient(180deg, #fbfcff, #f3f6fb) !important;
    color: #8a94a6 !important;
    font-size: 12.5px !important;
    font-weight: 850 !important;
    gap: 6px !important;
}

.login-tab i {
    font-size: 15px !important;
}

.login-tab.active {
    background: #ffffff !important;
    color: #e00224 !important;
}

.login-heading h2 {
    font-size: 18px !important;
    color: #151b29 !important;
}

.login-heading p {
    font-size: 11.5px !important;
    color: #6b7280 !important;
}

.login-field {
    height: 42px !important;
    border-radius: 9px !important;
    border-color: #d8e0eb !important;
    background: rgba(255, 255, 255, .92) !important;
    box-shadow: 0 7px 18px rgba(15, 23, 42, .035) !important;
}

.login-field:focus-within {
    border-color: rgba(224, 2, 36, .55) !important;
    box-shadow: 0 0 0 4px rgba(224, 2, 36, .08), 0 10px 24px rgba(15, 23, 42, .06) !important;
}

.admin-login-btn {
    height: 46px !important;
    border-radius: 9px !important;
    background: linear-gradient(135deg, #f0062d 0%, #d50022 48%, #b9001b 100%) !important;
    box-shadow: 0 18px 34px rgba(205, 0, 31, .28) !important;
}

.admin-login-btn:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 22px 40px rgba(205, 0, 31, .32) !important;
}

.login-divider,
.resident-login-btn {
    display: flex !important;
}

.login-divider {
    display: block !important;
    margin: 11px 0 10px !important;
    font-size: 11px !important;
    color: #98a2b3 !important;
}

.login-divider span {
    background: transparent !important;
    padding: 0 9px !important;
    color: #98a2b3 !important;
}

.login-divider::before {
    background: linear-gradient(90deg, transparent, #e7edf5 28%, #e7edf5 72%, transparent) !important;
}

/* Universal login: one form for every role */
.login-tabs,
.login-divider,
.resident-login-btn {
    display: none !important;
}

.resident-login-btn {
    width: 100% !important;
    height: 44px !important;
    display: grid !important;
    grid-template-columns: 28px 1fr 28px !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 0 18px !important;
    border-radius: 8px !important;
    border: 1px solid #cfd8e5 !important;
    background: rgba(255, 255, 255, .9) !important;
    color: #151924 !important;
    box-shadow: none !important;
    font-size: 12.5px !important;
    font-weight: 850 !important;
}

.resident-login-btn i:first-child {
    justify-self: start !important;
}

.resident-login-btn span {
    justify-self: center !important;
    text-align: center !important;
}

.resident-login-btn i:last-child {
    justify-self: end !important;
}

@keyframes login-ring-drift {
    from { transform: translate3d(0, 0, 0) rotate(0deg); }
    to { transform: translate3d(-22px, 16px, 0) rotate(5deg); }
}

@keyframes login-ribbon-float {
    from { transform: translate3d(0, 0, 0) rotate(0deg); }
    to { transform: translate3d(-28px, -18px, 0) rotate(-3deg); }
}

@keyframes login-soft-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes login-dot-glide {
    from { transform: translate3d(0, 0, 0); opacity: .45; }
    to { transform: translate3d(28px, -10px, 0); opacity: .68; }
}

@media (max-width: 991px) {
    .login-card-shell {
        width: min(100%, 520px) !important;
        padding: 28px 24px 30px !important;
    }

    .login-form-panel::before {
        right: -420px !important;
        top: -500px !important;
    }

    .login-form-panel::after {
        right: -520px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .login-form-panel::before,
    .login-form-panel::after,
    .login-wave-bg::before,
    .login-wave-bg::after {
        animation: none !important;
    }
}

/* Payment month state clarity */
.payment-month input:disabled + .month-belum,
.payment-month input:disabled + .month-disabled,
.payment-month input:disabled + span {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #64748b !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
    opacity: 1 !important;
}

.payment-month input:disabled + .month-belum .month-paid-info,
.payment-month input:disabled + .month-disabled .month-paid-info,
.payment-month input:disabled + span .month-paid-info {
    color: #94a3b8 !important;
}

/* GMS green login override */
.login-hero-panel {
    background:
        linear-gradient(90deg, rgba(5, 72, 33, .94), rgba(48, 137, 45, .82) 56%, rgba(6, 84, 42, .72)),
        var(--login-photo-url, url("/assets/img/login-cattleya-bg.jpeg")) center center / cover no-repeat !important;
}

.welcome-pill,
.housing-info-card {
    border-color: rgba(193, 224, 111, .36) !important;
    background: rgba(255, 255, 255, .11) !important;
}

.hero-brand-text div,
.login-tab.active,
body[data-login-mode="warga"] .login-tab.active,
.login-options a {
    color: #8bc53f !important;
}

.hero-brand-text div span,
.feature-icon,
.housing-pin,
.admin-login-btn {
    background: linear-gradient(135deg, #8bc53f 0%, #2f8f2f 52%, #075b2b 100%) !important;
}

.login-field:focus-within {
    border-color: rgba(47, 143, 47, .62) !important;
    box-shadow: 0 0 0 4px rgba(47, 143, 47, .10), 0 10px 24px rgba(15, 23, 42, .06) !important;
}

.remember-check input {
    accent-color: #2f8f2f !important;
}

.admin-login-btn {
    box-shadow: 0 18px 34px rgba(47, 143, 47, .28) !important;
}

.admin-login-btn:hover {
    box-shadow: 0 22px 40px rgba(47, 143, 47, .34) !important;
}

.login-form-panel::after {
    background:
        linear-gradient(135deg, rgba(139, 197, 63, .10), rgba(47, 143, 47, .18) 48%, rgba(255, 255, 255, .04)),
        repeating-linear-gradient(42deg, transparent 0 16px, rgba(255, 255, 255, .26) 17px 18px) !important;
}

.login-wave-bg::after {
    background-image: radial-gradient(circle, rgba(47, 143, 47, .42) 1.6px, transparent 1.8px) !important;
}
/* GMS minimal login hero override */
.login-hero-panel .hero-content {
    width: min(430px, calc(100% - 92px)) !important;
    padding-top: 92px !important;
    padding-bottom: 34px !important;
}

.login-hero-panel .welcome-pill {
    font-size: 14px !important;
    padding: 9px 15px !important;
    border-radius: 9px !important;
}

.login-hero-panel .hero-brand-text {
    margin-top: 24px !important;
}

.login-hero-panel .hero-brand-text h1 {
    max-width: 390px !important;
    font-size: 36px !important;
    line-height: 1.08 !important;
    letter-spacing: 0 !important;
    font-weight: 900 !important;
}

.login-hero-panel .hero-brand-text div {
    margin-top: 12px !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
    letter-spacing: 2px !important;
    gap: 12px !important;
    color: #a9dc55 !important;
}

.login-hero-panel .hero-brand-text div span {
    width: 30px !important;
    height: 2px !important;
}

.login-hero-panel .hero-desc {
    max-width: 395px !important;
    margin-top: 22px !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
    font-weight: 650 !important;
}

.login-hero-panel .hero-feature-list {
    margin-top: 28px !important;
    gap: 18px !important;
}

.login-hero-panel .hero-feature {
    grid-template-columns: 46px minmax(0, 1fr) !important;
    gap: 14px !important;
}

.login-hero-panel .feature-icon {
    width: 44px !important;
    height: 44px !important;
    font-size: 21px !important;
}

.login-hero-panel .hero-feature:not(:last-child)::after {
    left: 22px !important;
    top: 44px !important;
    height: 18px !important;
}

.login-hero-panel .hero-feature strong {
    font-size: 14px !important;
    line-height: 1.25 !important;
}

.login-hero-panel .hero-feature span {
    font-size: 12.5px !important;
    line-height: 1.45 !important;
}

.login-hero-panel .housing-info-card {
    margin-top: 30px !important;
    grid-template-columns: 50px minmax(0, 1fr) !important;
    gap: 12px !important;
    padding: 16px 18px !important;
    border-radius: 14px !important;
    max-width: 430px !important;
}

.login-hero-panel .housing-pin {
    width: 44px !important;
    height: 44px !important;
    font-size: 22px !important;
}

.login-hero-panel .housing-copy h2 {
    font-size: 15px !important;
    line-height: 1.25 !important;
}

.login-hero-panel .housing-line {
    margin: 7px 0 9px !important;
}

.login-hero-panel .housing-copy span {
    font-size: 11px !important;
}

.login-hero-panel .housing-copy strong,
.login-hero-panel .housing-copy p {
    font-size: 12.5px !important;
    line-height: 1.45 !important;
}

@media (max-width: 991px) {
    .login-hero-panel .hero-content {
        width: min(100%, calc(100% - 42px)) !important;
        padding: 42px 0 26px !important;
    }

    .login-hero-panel .hero-brand-text h1 {
        font-size: 30px !important;
    }

    .login-hero-panel .hero-brand-text div {
        font-size: 12px !important;
        letter-spacing: 1.4px !important;
    }
}
/* GMS compact login hero final */
.login-hero-panel .hero-content {
    width: min(380px, calc(100% - 92px)) !important;
    padding-top: 72px !important;
    padding-bottom: 28px !important;
    justify-content: center !important;
}

.login-hero-panel .hero-brand-text {
    margin-top: 22px !important;
}

.login-hero-panel .hero-brand-text h1 {
    max-width: 360px !important;
    font-size: 32px !important;
    line-height: 1.12 !important;
}

.login-hero-panel .hero-brand-text div {
    font-size: 12px !important;
    line-height: 1.45 !important;
    letter-spacing: 1.8px !important;
    margin-top: 10px !important;
}

.login-hero-panel .hero-brand-text div span {
    width: 24px !important;
}

.login-hero-panel .hero-desc {
    max-width: 360px !important;
    margin-top: 20px !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
}

.login-hero-panel .hero-feature-list {
    margin-top: 24px !important;
    gap: 14px !important;
}

.login-hero-panel .hero-feature {
    grid-template-columns: 40px minmax(0, 1fr) !important;
    gap: 12px !important;
}

.login-hero-panel .feature-icon {
    width: 38px !important;
    height: 38px !important;
    font-size: 18px !important;
}

.login-hero-panel .hero-feature:not(:last-child)::after {
    left: 19px !important;
    top: 38px !important;
    height: 14px !important;
}

.login-hero-panel .hero-feature strong {
    font-size: 13px !important;
}

.login-hero-panel .hero-feature span {
    font-size: 11.5px !important;
}

.login-hero-panel .housing-info-card {
    display: none !important;
}

@media (max-width: 991px) {
    .login-hero-panel .hero-content {
        width: min(100%, calc(100% - 42px)) !important;
        padding: 36px 0 24px !important;
    }

    .login-hero-panel .hero-brand-text h1 {
        font-size: 28px !important;
    }
}
/* GMS green digital card override */
#kartu-digital-preview.cattleya-card-wrap,
.cattleya-card-wrap {
    background:
        radial-gradient(circle at 92% 6%, rgba(139, 197, 63, .16), transparent 24%),
        linear-gradient(135deg, #f5fbf4 0%, #ffffff 48%, #eef8ee 100%) !important;
}

#kartu-digital-preview .cattleya-card-grid,
.cattleya-card-grid {
    border-color: rgba(47, 143, 47, .28) !important;
    background:
        radial-gradient(circle at 95% 6%, rgba(139, 197, 63, .12), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f7fcf7 100%) !important;
}

#kartu-digital-preview .cattleya-card-grid::before,
.cattleya-card-grid::before {
    border-color: rgba(47, 143, 47, .15) !important;
}

#kartu-digital-preview .cattleya-main-header,
.cattleya-main-header {
    background: linear-gradient(135deg, #075b2b 0%, #2f8f2f 52%, #8bc53f 100%) !important;
    box-shadow: 0 20px 44px rgba(47, 143, 47, .24) !important;
}

#kartu-digital-preview .cattleya-year,
.cattleya-year {
    color: #075b2b !important;
    background: rgba(255, 255, 255, .94) !important;
}

#kartu-digital-preview .cattleya-card-title-section,
.cattleya-card-title-section {
    border-color: rgba(47, 143, 47, .24) !important;
}

#kartu-digital-preview .cattleya-card-title-section h2,
.cattleya-card-title-section h2 {
    color: #082f1a !important;
    text-decoration-color: #2f8f2f !important;
    border-bottom-color: #2f8f2f !important;
}

#kartu-digital-preview .cattleya-info-grid div,
.cattleya-info-grid div {
    border-color: rgba(47, 143, 47, .26) !important;
    background: #fbfffb !important;
}

#kartu-digital-preview .cattleya-info-grid span,
.cattleya-info-grid span {
    color: #075b2b !important;
}

#kartu-digital-preview .cattleya-grid-table,
.cattleya-grid-table {
    border-color: #2f8f2f !important;
}

#kartu-digital-preview .cattleya-grid-table thead th,
.cattleya-grid-table thead th {
    background: linear-gradient(135deg, #075b2b 0%, #2f8f2f 100%) !important;
    border-color: rgba(255, 255, 255, .26) !important;
    color: #ffffff !important;
}

#kartu-digital-preview .cattleya-grid-table tbody td,
.cattleya-grid-table tbody td {
    border-color: rgba(47, 143, 47, .24) !important;
}

#kartu-digital-preview .cattleya-grid-table tbody tr:nth-child(even) td,
.cattleya-grid-table tbody tr:nth-child(even) td {
    background: #f4fbf3 !important;
}

#kartu-digital-preview .bulan-cell,
.cattleya-grid-table .bulan-cell {
    color: #075b2b !important;
}

#kartu-digital-preview .pay-pill.pay-belum,
.pay-pill.pay-belum {
    background: #eef8ee !important;
    color: #2f6f2f !important;
}

#kartu-digital-preview .pay-pill.pay-belum b,
.pay-pill.pay-belum b,
#kartu-digital-preview .pay-pill.pay-belum small,
.pay-pill.pay-belum small {
    color: #2f6f2f !important;
}

#kartu-digital-preview .pay-pill.pay-cicil,
.pay-pill.pay-cicil {
    background: #fff8db !important;
    color: #8a5b00 !important;
}

#kartu-digital-preview .pay-pill.pay-lunas,
.pay-pill.pay-lunas,
#kartu-digital-preview .final-status.final-lunas,
.final-status.final-lunas {
    background: #dcfce7 !important;
    color: #067a38 !important;
}

#kartu-digital-preview .final-status.final-belum,
.final-status.final-belum {
    background: #eef8ee !important;
    color: #2f6f2f !important;
}

#kartu-digital-preview .final-status.final-cicil,
.final-status.final-cicil {
    background: #fff8db !important;
    color: #8a5b00 !important;
}

#kartu-digital-preview .cattleya-summary,
.cattleya-summary {
    border-color: rgba(47, 143, 47, .24) !important;
    background: linear-gradient(135deg, #f2fbef 0%, #ffffff 100%) !important;
}

#kartu-digital-preview .cattleya-summary span,
.cattleya-summary span {
    color: #2f6f2f !important;
}

#kartu-digital-preview .cattleya-summary strong,
.cattleya-summary strong,
#kartu-digital-preview .cattleya-note,
.cattleya-note {
    color: #075b2b !important;
}
/* GMS dark green card border fix */
#kartu-digital-preview .cattleya-card-grid,
.cattleya-card-grid {
    border: 1px solid rgba(7, 91, 43, .42) !important;
}

#kartu-digital-preview .cattleya-card-title-section,
.cattleya-card-title-section,
#kartu-digital-preview .cattleya-info-grid div,
.cattleya-info-grid div {
    border-color: rgba(7, 91, 43, .24) !important;
}

#kartu-digital-preview .cattleya-grid-table,
.cattleya-grid-table {
    border: 3px solid #075b2b !important;
    border-color: #075b2b !important;
    box-shadow: 0 18px 38px rgba(7, 91, 43, .10) !important;
}

#kartu-digital-preview .cattleya-grid-table thead th,
.cattleya-grid-table thead th,
#kartu-digital-preview .cattleya-grid-table tbody td,
.cattleya-grid-table tbody td {
    border-color: rgba(7, 91, 43, .24) !important;
}

#kartu-digital-preview .cattleya-grid-table thead th:first-child,
.cattleya-grid-table thead th:first-child {
    border-left-color: #075b2b !important;
}

#kartu-digital-preview .cattleya-grid-table thead th:last-child,
.cattleya-grid-table thead th:last-child,
#kartu-digital-preview .cattleya-grid-table tbody td:last-child,
.cattleya-grid-table tbody td:last-child {
    border-right-color: #075b2b !important;
}

#kartu-digital-preview .cattleya-grid-table tbody tr:last-child td,
.cattleya-grid-table tbody tr:last-child td {
    border-bottom-color: #075b2b !important;
}
/* GMS remove all red borders from digital card */
#kartu-digital-preview,
#kartu-digital-preview *,
.cattleya-card-wrap,
.cattleya-card-wrap * {
    --bs-border-color: rgba(7, 91, 43, .22) !important;
    --bs-danger-rgb: 7, 91, 43 !important;
}

#kartu-digital-preview .cattleya-table-scroll,
.cattleya-card-wrap .cattleya-table-scroll {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

#kartu-digital-preview .cattleya-grid-table,
.cattleya-card-wrap .cattleya-grid-table {
    border: 3px solid #075b2b !important;
    outline: 0 !important;
    box-shadow: none !important;
}

#kartu-digital-preview .cattleya-grid-table::before,
#kartu-digital-preview .cattleya-grid-table::after,
#kartu-digital-preview .cattleya-table-scroll::before,
#kartu-digital-preview .cattleya-table-scroll::after,
.cattleya-card-wrap .cattleya-grid-table::before,
.cattleya-card-wrap .cattleya-grid-table::after,
.cattleya-card-wrap .cattleya-table-scroll::before,
.cattleya-card-wrap .cattleya-table-scroll::after {
    border-color: #075b2b !important;
    outline-color: #075b2b !important;
    box-shadow: none !important;
}

#kartu-digital-preview .cattleya-grid-table th,
#kartu-digital-preview .cattleya-grid-table td,
.cattleya-card-wrap .cattleya-grid-table th,
.cattleya-card-wrap .cattleya-grid-table td {
    border-color: rgba(7, 91, 43, .24) !important;
}

#kartu-digital-preview .cattleya-summary div,
.cattleya-card-wrap .cattleya-summary div {
    border-color: rgba(7, 91, 43, .22) !important;
}

#kartu-digital-preview .cattleya-note,
.cattleya-card-wrap .cattleya-note {
    border-color: rgba(7, 91, 43, .30) !important;
    border-style: dashed !important;
}