:root {
    --brand: #12695f;
    --brand-dark: #0a3d39;
    --accent: #d8a032;
    --ink: #24302f;
    --muted: #6c7775;
    --soft: #eef6f4;
}

body {
    background: #f5f7f7;
    color: var(--ink);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.auth-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #0d4f49 0%, #f4f8f7 62%);
}

.login-page {
    min-height: 100vh;
    margin: 0;
    background:
        linear-gradient(109deg, rgba(0, 89, 78, .94) 0%, rgba(0, 89, 78, .9) 32%, transparent 32.2%),
        linear-gradient(90deg, rgba(234, 245, 242, .88), rgba(255, 254, 250, .96)),
        url("uploads/produk/hero-transparansi.png") left center / cover no-repeat;
    position: relative;
    overflow: hidden;
}

/* Refined login screen */
.login-page {
    background:
        linear-gradient(109deg, rgba(0, 83, 73, .96) 0%, rgba(0, 83, 73, .9) 34%, transparent 34.2%),
        linear-gradient(90deg, rgba(238, 247, 244, .86), rgba(255, 254, 250, .98)),
        url("uploads/produk/hero-transparansi.png") left center / cover no-repeat;
}

.login-shell {
    align-content: center;
    justify-items: center;
    padding-top: 0;
}

.login-card {
    width: min(500px, 92vw);
    border-radius: 1rem;
    padding: 2.9rem 3rem 2.3rem;
    transform: translateX(70px);
}

.login-logo {
    width: 92px;
    height: 92px;
    border-radius: 1rem;
}

.login-card h1 {
    font-size: 2rem;
}

.login-input .form-control,
.login-input .input-group-text {
    min-height: 56px;
}

.login-trust {
    top: calc(50% + 295px);
    transform: translateX(calc(-50% + 70px));
}

.admin-table-pager {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding-top: 1rem;
    color: var(--muted);
    font-size: .9rem;
}

.admin-table-pages {
    display: flex;
    gap: .35rem;
}

.admin-table-pages button {
    min-width: 32px;
    height: 32px;
    border: 1px solid #dbe6e3;
    border-radius: .45rem;
    background: #fff;
    color: #29413d;
    font-weight: 700;
}

.admin-table-pages button.active {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.product-admin-preview {
    min-height: 150px;
    border: 1px dashed #b8d7cf;
    border-radius: .65rem;
    display: grid;
    place-items: center;
    background: #f5fbf9;
    color: var(--muted);
    overflow: hidden;
}

.product-admin-preview img {
    width: 100%;
    max-height: 210px;
    object-fit: cover;
}

.product-slide-preview {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .5rem;
}

.product-slide-preview > div {
    position: relative;
    aspect-ratio: 1;
    border: 1px solid #dfe8e5;
    border-radius: .6rem;
    overflow: hidden;
    background: #f5fbf9;
}

.product-slide-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-slide-preview a {
    position: absolute;
    top: .25rem;
    right: .25rem;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(220, 38, 38, .9);
    text-decoration: none;
    font-size: .85rem;
}

.contact-map-card {
    background: #fff;
    border: 1px solid #e1ebe8;
    border-radius: .85rem;
    box-shadow: 0 18px 42px rgba(25, 45, 43, .08);
    overflow: hidden;
    display: grid;
    grid-template-columns: .8fr 1.2fr;
}

.contact-map-copy {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-map-copy h2 {
    color: var(--brand-dark);
    font-weight: 800;
}

.contact-map-copy p {
    color: #536967;
    line-height: 1.7;
}

.contact-map-frame iframe {
    width: 100%;
    min-height: 330px;
    height: 100%;
    border: 0;
    display: block;
}

.login-page::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 55% 50%, rgba(10, 61, 57, .13), transparent 21%),
        repeating-linear-gradient(45deg, rgba(216, 160, 50, .06) 0 1px, transparent 1px 18px);
    opacity: .45;
    pointer-events: none;
}

.login-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    position: relative;
    z-index: 1;
    padding: 2rem;
}

.login-card {
    width: min(450px, 92vw);
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(224, 232, 230, .95);
    border-radius: 1rem;
    box-shadow: 0 22px 55px rgba(13, 42, 39, .18);
    padding: 2.7rem 2.6rem 2.2rem;
}

.login-logo {
    width: 94px;
    height: 94px;
    border-radius: 1rem;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #00846f, #00594e);
    color: #fff;
    box-shadow: 0 14px 30px rgba(0, 94, 82, .28);
    margin-bottom: 1.6rem;
    position: relative;
}

.login-logo i {
    color: #f0c35a;
    font-size: 2.25rem;
    line-height: 1;
    transform: translateY(-.35rem);
}

.login-logo span {
    position: absolute;
    bottom: 16px;
    color: #fff;
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: .04em;
}

.login-card h1 {
    color: var(--brand-dark);
    font-size: 1.95rem;
    font-weight: 800;
    margin-bottom: .55rem;
}

.login-subtitle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    margin-bottom: 2rem;
}

.login-subtitle span {
    width: 38px;
    height: 2px;
    background: var(--accent);
}

.login-subtitle p {
    margin: 0;
    color: #647371;
    font-weight: 600;
}

.login-form .form-label {
    color: #23413e;
    font-weight: 700;
    margin-bottom: .55rem;
}

.login-input {
    box-shadow: 0 0 0 0 rgba(18, 105, 95, 0);
}

.login-input .input-group-text {
    width: 52px;
    justify-content: center;
    background: #fbfdfc;
    border-color: #cfdcda;
    color: var(--brand);
    font-size: 1.15rem;
}

.login-input .form-control {
    min-height: 52px;
    border-color: #cfdcda;
    color: #263b39;
    font-weight: 600;
}

.login-input:focus-within .input-group-text,
.login-input:focus-within .form-control {
    border-color: #74c5b7;
    box-shadow: 0 0 0 .16rem rgba(18, 105, 95, .12);
}

.login-eye {
    cursor: pointer;
}

.login-submit {
    min-height: 54px;
    font-size: 1.05rem;
    font-weight: 800;
    margin-top: .65rem;
    box-shadow: 0 10px 22px rgba(0, 94, 82, .25);
}

.login-divider {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1rem;
    align-items: center;
    margin: 1.75rem 0 1.35rem;
}

.login-divider span {
    height: 1px;
    background: #dde5e3;
}

.login-divider small {
    color: #6f7e7c;
}

.login-back {
    color: var(--brand);
    display: block;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
}

.login-back:hover {
    color: var(--brand-dark);
}

.login-trust {
    position: absolute;
    top: calc(50% + 280px);
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #5d706e;
}

.login-trust i {
    color: var(--brand);
    margin-right: .35rem;
}

.login-trust strong {
    color: #536967;
    font-size: 1.05rem;
}

.login-trust small {
    display: block;
    margin-top: .4rem;
}

.admin-body {
    background: #f7faf9;
}

.sidebar {
    width: 260px;
    min-height: 100vh;
    background:
        linear-gradient(180deg, rgba(0, 70, 61, .98), rgba(0, 49, 45, .98)),
        url("uploads/produk/hero-transparansi.png") left bottom / cover no-repeat;
    color: #fff;
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 20;
    border-top-right-radius: 1rem;
    border-bottom-right-radius: 1rem;
    overflow: hidden;
}

.sidebar a {
    color: rgba(255, 255, 255, .9);
    display: flex;
    gap: .8rem;
    align-items: center;
    padding: .82rem 1rem;
    border-radius: .55rem;
    text-decoration: none;
    font-weight: 700;
}

.sidebar a.active,
.sidebar a:hover {
    background: linear-gradient(135deg, #00957d, #007463);
    color: #fff;
    box-shadow: 0 12px 26px rgba(0, 0, 0, .15);
}

.sidebar a i {
    width: 22px;
    text-align: center;
    font-size: 1.1rem;
}

.admin-main {
    margin-left: 260px;
    min-height: 100vh;
}

.topbar {
    background: transparent;
    border-bottom: 0;
}

.admin-brand {
    min-height: 58px;
}

.admin-brand-mark {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: .8rem;
    color: #f3c95f;
    background: rgba(255, 255, 255, .12);
    font-size: 1.55rem;
}

.admin-brand strong {
    font-size: 1.35rem;
}

.admin-help {
    position: absolute;
    left: 1.2rem;
    right: 1.2rem;
    bottom: 1.5rem;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: .8rem;
    align-items: center;
    padding: .85rem;
    border-radius: .65rem;
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(8px);
}

.admin-help i {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .14);
    font-size: 1.25rem;
}

.admin-help strong,
.admin-help span {
    display: block;
}

.admin-help span {
    color: rgba(255, 255, 255, .86);
    font-size: .82rem;
}

.admin-topbar {
    min-height: 74px;
}

.admin-top-icon,
.admin-date,
.admin-user {
    background: #fff;
    border: 1px solid #edf1f0;
    border-radius: .75rem;
    box-shadow: 0 10px 24px rgba(25, 45, 43, .06);
}

.admin-top-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: #334844;
    position: relative;
}

.admin-top-icon span {
    position: absolute;
    top: 7px;
    right: 8px;
    width: 17px;
    height: 17px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #ef4444;
    color: #fff;
    font-size: .65rem;
    font-weight: 800;
}

.admin-date,
.admin-user {
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .55rem .85rem;
}

.admin-user {
    border: 1px solid #edf1f0;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
}

.admin-user:hover,
.admin-user.show,
.admin-user-wrap.show .admin-user {
    border-color: rgba(0, 124, 105, .25);
    box-shadow: 0 12px 28px rgba(25, 45, 43, .1);
}

.admin-user > i {
    color: #203a37;
    font-size: .9rem;
    transition: transform .18s ease;
}

.admin-user-wrap.show .admin-user > i {
    transform: rotate(180deg);
}

.admin-user-menu {
    border: 1px solid #edf1f0;
    border-radius: .75rem;
    box-shadow: 0 18px 45px rgba(25, 45, 43, .14);
    padding: .4rem;
    min-width: 170px;
}

.admin-user-menu .dropdown-item {
    border-radius: .55rem;
    color: #203a37;
    display: flex;
    align-items: center;
    gap: .55rem;
    font-weight: 700;
    padding: .65rem .75rem;
}

.admin-user-menu .dropdown-item:hover {
    background: #f1f7f5;
    color: var(--brand);
}

.admin-date i {
    color: var(--brand);
}

.admin-date strong,
.admin-date small,
.admin-user strong,
.admin-user small {
    display: block;
    line-height: 1.25;
}

.admin-date strong,
.admin-user strong {
    color: #203a37;
    font-size: .9rem;
}

.admin-date small,
.admin-user small {
    color: var(--muted);
    font-size: .78rem;
}

.admin-user span {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #00957d, #006454);
    color: #fff;
    font-weight: 800;
}

.admin-content {
    padding-top: .5rem !important;
}

.admin-dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 1rem;
    align-items: start;
}

.dashboard-hero {
    min-height: 145px;
    border-radius: .8rem;
    background:
        linear-gradient(90deg, rgba(0, 94, 82, .98) 0%, rgba(0, 94, 82, .82) 55%, rgba(232, 245, 241, .5) 100%),
        url("uploads/produk/hero-transparansi.png") center right / cover no-repeat;
    color: #fff;
    display: flex;
    align-items: center;
    padding: 1.8rem 2rem;
    margin-bottom: 1rem;
    box-shadow: 0 15px 35px rgba(0, 74, 63, .16);
}

.dashboard-hero h1 {
    font-size: 1.55rem;
    font-weight: 800;
    margin-bottom: .75rem;
}

.dashboard-hero p {
    margin: 0;
    font-weight: 600;
    line-height: 1.55;
}

.dash-stat-card,
.dash-mini-row,
.dash-panel {
    background: #fff;
    border: 1px solid #ebf0ef;
    border-radius: .75rem;
    box-shadow: 0 12px 30px rgba(25, 45, 43, .07);
}

.dash-stat-card {
    min-height: 162px;
    padding: 1rem;
    overflow: hidden;
}

.dash-stat-head {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: .8rem;
    align-items: center;
    margin-bottom: .5rem;
}

.dash-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: .75rem;
    font-size: 1.35rem;
}

.dash-icon.green { background: #dff5ec; color: #007a67; }
.dash-icon.mint { background: #e1f8e8; color: #16a34a; }
.dash-icon.coral { background: #ffe8dc; color: #f05d32; }
.dash-icon.blue { background: #e4ecff; color: #4169e1; }

.dash-stat-card small,
.dash-mini-row small {
    color: #60736f;
    display: block;
}

.dash-stat-card strong {
    color: #122d2a;
    font-size: 1.45rem;
    display: block;
    margin-bottom: .25rem;
}

.dash-stat-card em {
    font-style: normal;
    font-weight: 800;
    font-size: .82rem;
}

.dash-stat-card em.up { color: #079455; }
.dash-stat-card em.down { color: #e12d39; }

.sparkline {
    height: 36px;
    margin-top: .6rem;
    border-radius: .5rem;
    background-size: 100% 100%;
}

.sparkline.green {
    background:
        linear-gradient(transparent 58%, rgba(0, 122, 103, .08)),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 36'%3E%3Cpolyline fill='none' stroke='%23008a70' stroke-width='3' points='0,26 12,18 24,24 36,13 48,12 60,23 72,27 84,21 96,19 108,17 120,20 132,8 144,26 160,15'/%3E%3C/svg%3E") center / cover no-repeat;
}

.sparkline.green.alt {
    filter: hue-rotate(20deg);
}

.sparkline.red {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 36'%3E%3Cpolyline fill='none' stroke='%23ef4444' stroke-width='3' points='0,18 12,26 24,20 36,7 48,8 60,25 72,18 84,20 96,21 108,22 120,13 132,16 144,25 160,20'/%3E%3C/svg%3E") center / cover no-repeat;
}

.sparkline.blue {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 36'%3E%3Cpolyline fill='none' stroke='%23636eea' stroke-width='3' points='0,21 12,26 24,12 36,17 48,10 60,24 72,19 84,20 96,21 108,22 120,20 132,23 144,27 160,17'/%3E%3C/svg%3E") center / cover no-repeat;
}

.dash-mini-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 1rem;
}

.dash-mini-row > div {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    column-gap: .75rem;
    align-items: center;
    padding: 0 1rem;
    border-right: 1px solid #edf1f0;
}

.dash-mini-row > div:last-child {
    border-right: 0;
}

.dash-mini-icon {
    grid-row: span 3;
    width: 46px;
    height: 46px;
    border-radius: .75rem;
    display: grid;
    place-items: center;
    font-size: 1.25rem;
}

.dash-mini-icon.orange { background: #fff0df; color: #e66a16; }
.dash-mini-icon.amber { background: #fff5dc; color: #d88400; }
.dash-mini-icon.teal { background: #e1f6f2; color: #008674; }
.dash-mini-icon.gold { background: #fff5d9; color: #9e6b00; }

.dash-mini-row strong {
    color: #132d2a;
    font-size: 1.1rem;
    display: block;
}

.dash-mini-row em {
    color: var(--muted);
    font-size: .84rem;
    font-style: normal;
}

.dash-panel {
    padding: 1rem;
}

.dash-panel-title {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.dash-panel-title h2,
.dash-panel h2 {
    color: #172f2d;
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0;
}

.dash-panel-title span,
.dash-panel-title a {
    color: #516663;
    background: #f7faf9;
    border: 1px solid #e8efed;
    border-radius: .55rem;
    padding: .45rem .75rem;
    font-size: .86rem;
    text-decoration: none;
}

.donut-wrap {
    position: relative;
}

.donut-center {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    pointer-events: none;
    text-align: center;
}

.donut-center small,
.donut-center strong {
    display: block;
}

.donut-center strong {
    color: #173633;
    font-size: .9rem;
}

.dashboard-side {
    position: sticky;
    top: 1rem;
}

.balance-panel {
    padding: 1.25rem;
}

.balance-panel h2 {
    margin-bottom: 1.1rem;
}

.balance-item {
    display: grid;
    grid-template-columns: 1fr 44px;
    gap: .45rem .8rem;
    align-items: center;
    margin-bottom: 1.25rem;
}

.balance-item div:first-child {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    gap: .75rem;
}

.balance-item span {
    color: #2c4441;
    font-weight: 700;
}

.balance-item strong {
    color: #162c2a;
    font-size: .9rem;
}

.balance-track {
    height: 10px;
    background: #e8eceb;
    border-radius: 999px;
    overflow: hidden;
}

.balance-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #41b57a, #65c96d);
}

.balance-item em {
    color: #60736f;
    font-style: normal;
    text-align: right;
}

.balance-link {
    min-height: 44px;
    border-radius: .55rem;
    background: #f4f7f6;
    color: #304744;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-weight: 700;
    text-decoration: none;
}

.latest-panel {
    margin-top: 1rem;
}

.dash-table thead th {
    color: #243d3a;
    font-size: .9rem;
    padding: .75rem 1rem;
    border-bottom: 1px solid #e6eeee;
}

.dash-table tbody td {
    color: #314844;
    padding: .72rem 1rem;
    border-color: #edf1f0;
}

.dash-badge,
.dash-cat {
    display: inline-block;
    border-radius: .35rem;
    padding: .18rem .55rem;
    font-size: .78rem;
    font-weight: 800;
}

.dash-badge.in { background: #dff3e6; color: #087a3f; }
.dash-badge.out { background: #ffe3e3; color: #c81e2b; }
.dash-cat { background: #eef5ff; color: #0c62b5; }

.stat-card,
.content-card,
.product-card {
    background: #fff;
    border: 1px solid #e4e8e7;
    border-radius: .5rem;
    box-shadow: 0 10px 28px rgba(25, 45, 43, .06);
}

.stat-card .icon {
    width: 42px;
    height: 42px;
    border-radius: .45rem;
    background: var(--soft);
    color: var(--brand);
    display: grid;
    place-items: center;
}

.btn-brand {
    --bs-btn-bg: var(--brand);
    --bs-btn-border-color: var(--brand);
    --bs-btn-hover-bg: var(--brand-dark);
    --bs-btn-hover-border-color: var(--brand-dark);
    color: #fff;
}

.public-nav {
    background: #fff;
    border-bottom: 1px solid #e4e8e7;
    box-shadow: 0 6px 18px rgba(12, 40, 38, .04);
}

.public-brand {
    color: var(--brand-dark);
    font-size: 1.22rem;
    font-weight: 800;
    line-height: 1;
}

.public-logo-mark {
    width: 38px;
    height: 38px;
    border-radius: .5rem;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: #fff;
    display: grid;
    place-items: center;
}

.public-menu a:not(.btn) {
    color: #1f3331;
    font-size: .9rem;
    font-weight: 500;
    text-decoration: none;
    padding: .35rem .55rem;
    border-bottom: 0;
}

.public-menu a:not(.btn):hover,
.public-menu a:not(.btn).active {
    color: var(--brand);
}

.public-btn-outline,
.public-btn-brand {
    min-width: 90px;
    border-radius: .35rem;
    padding: .45rem 1rem !important;
    font-weight: 600;
}

.public-btn-outline {
    color: #405653;
    border-color: #b9ccca;
    background: #fff;
}

.public-btn-outline:hover {
    color: var(--brand);
    border-color: var(--brand);
    background: #f7fbfa;
}

.public-hero {
    background: linear-gradient(135deg, #0e5f57, #e6f2ef);
    color: #fff;
    padding: 3rem 0;
}

.shop-hero {
    min-height: 560px;
    color: #fff;
    position: relative;
    overflow: hidden;
    background: var(--brand-dark);
}

.shop-hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 79, 69, .96) 0%, rgba(0, 97, 84, .82) 42%, rgba(0, 0, 0, .08) 100%),
        url("uploads/produk/hero-toko.png") center right / cover no-repeat;
}

.shop-hero::after {
    content: "";
    position: absolute;
    left: -5vw;
    right: -5vw;
    bottom: -1px;
    height: 92px;
    background: #fbfaf7;
    clip-path: ellipse(62% 60% at 50% 100%);
}

.shop-hero-inner {
    min-height: 560px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.shop-hero-copy {
    max-width: 670px;
    padding-bottom: 3rem;
}

.shop-hero h1 {
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 1.2rem;
    text-shadow: 0 10px 28px rgba(0, 0, 0, .2);
}

.shop-hero p {
    font-size: clamp(1.1rem, 2vw, 1.45rem);
    max-width: 520px;
    line-height: 1.55;
}

.shop-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
    margin-top: 2.4rem;
}

.shop-benefit {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: .85rem;
    align-items: center;
}

.shop-benefit span {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 215, 128, .9);
    border-radius: .7rem;
    display: grid;
    place-items: center;
    color: #fff7d9;
    font-size: 1.35rem;
    background: rgba(255, 255, 255, .08);
}

.shop-benefit strong,
.shop-benefit small {
    display: block;
}

.shop-benefit small {
    color: rgba(255, 255, 255, .86);
    line-height: 1.45;
    margin-top: .25rem;
}

.shop-main {
    background: #fbfaf7;
}

.shop-section {
    padding: 3.3rem 0 2.2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title h2 {
    color: var(--brand-dark);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    margin-bottom: .7rem;
}

.section-title h2::after {
    content: "";
    display: block;
    width: 46px;
    height: 3px;
    background: var(--accent);
    margin: .55rem auto 0;
}

.section-title p {
    color: var(--muted);
    margin: 0;
}

.shop-product-card {
    border: 8px solid #fff;
    border-radius: .6rem;
    box-shadow: 0 16px 36px rgba(25, 45, 43, .12);
}

.product-img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    width: 100%;
    background: #edf1f0;
    cursor: zoom-in;
}

.shop-product-card h2 {
    color: #1e3230;
    font-weight: 800;
    font-size: 1.1rem;
}

.product-price {
    color: var(--brand);
    font-weight: 800;
}

.shop-product-card p {
    min-height: 48px;
    font-size: .92rem;
}

.product-img-slider {
    background: #f7f4ee;
}

.product-img-slider .carousel-item {
    background: #f7f4ee;
}

.product-img-slider .carousel-control-prev,
.product-img-slider .carousel-control-next {
    width: 34px;
}

.product-img-slider .carousel-control-prev-icon,
.product-img-slider .carousel-control-next-icon {
    width: 18px;
    height: 18px;
    padding: .62rem;
    border-radius: 50%;
    background-color: rgba(0, 78, 68, .72);
    background-size: 60%;
}

.public-image-modal .modal-dialog {
    max-width: min(1040px, 94vw);
}

.public-image-modal .modal-content {
    border: 0;
    border-radius: .9rem;
    background: transparent;
    box-shadow: none;
    position: relative;
}

.public-image-modal img {
    width: 100%;
    max-height: 86vh;
    object-fit: contain;
    border-radius: .9rem;
    background: #fff;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .35);
    cursor: zoom-out;
}

.public-image-close {
    position: absolute;
    top: -14px;
    right: -14px;
    z-index: 2;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #123330;
    background: #fff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .24);
}

.public-image-modal .modal-backdrop,
.modal-backdrop.show {
    opacity: .72;
}

.shop-service {
    background: #f1eee8;
    padding: 2rem 0;
}

.service-item {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: .9rem;
    align-items: center;
}

.service-item i {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: .55rem;
    background: #fff;
    color: var(--brand);
    font-size: 1.35rem;
}

.service-item strong,
.service-item span {
    display: block;
}

.service-item span {
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.45;
}

.transparency-hero {
    background:
        linear-gradient(90deg, rgba(0, 93, 80, .98) 0%, rgba(0, 93, 80, .88) 38%, rgba(232, 245, 241, .55) 100%),
        url("uploads/produk/hero-transparansi.png") center right / cover no-repeat;
    color: #fff;
    padding: 3.4rem 0;
}

.transparency-hero h1 {
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: .65rem;
}

.transparency-hero p {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0;
}

.transparency-main {
    background: #f4f7f6;
    padding: 2rem 0 0;
}

.transparency-stats {
    margin-bottom: 1.35rem;
}

.trans-stat-card,
.trans-filter-card,
.trans-table-card {
    background: #fff;
    border: 1px solid #dde6e4;
    border-radius: .55rem;
    box-shadow: 0 14px 34px rgba(25, 45, 43, .08);
}

.trans-stat-card {
    min-height: 92px;
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) 34px;
    gap: 1rem;
    align-items: center;
    padding: 1.05rem;
}

.trans-stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.55rem;
}

.trans-stat-icon.green {
    background: linear-gradient(135deg, #00866f, #00564c);
}

.trans-stat-icon.gold {
    background: linear-gradient(135deg, #e7a12d, #cb7518);
}

.trans-stat-card small {
    color: var(--muted);
    display: block;
    margin-bottom: .25rem;
}

.trans-stat-card strong {
    color: #132b29;
    display: block;
    font-size: 1.08rem;
}

.trans-mini {
    width: 34px;
    height: 34px;
    border-radius: .45rem;
    color: var(--brand);
    background: #e5f5ec;
    display: grid;
    place-items: center;
}

.trans-filter-card {
    padding: 1.2rem;
    margin-bottom: 1.35rem;
}

.trans-filter-card .form-label {
    color: #263b39;
    font-weight: 600;
    margin-bottom: .45rem;
}

.trans-filter-card .form-control,
.trans-filter-card .form-select {
    min-height: 43px;
    border-color: #d3dedc;
}

.trans-table-card {
    overflow: hidden;
}

.trans-table thead th {
    background: linear-gradient(135deg, #007e6b, #005e52);
    color: #fff;
    border: 0;
    padding: .85rem 1rem;
    font-weight: 800;
}

.trans-table tbody td {
    padding: .8rem 1rem;
    border-color: #dfe8e6;
    color: #263b39;
}

.trans-type {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}

.trans-type.in i,
.trans-amount.in {
    color: #087a3f;
}

.trans-type.out i,
.trans-amount.out {
    color: #d31d33;
}

.trans-amount {
    font-weight: 800;
}

.trans-cat {
    min-width: 92px;
    display: inline-block;
    text-align: center;
    border-radius: .35rem;
    padding: .22rem .6rem;
    font-size: .78rem;
    font-weight: 700;
}

.trans-cat.info { background: #e7f5fb; color: #0a6684; }
.trans-cat.success { background: #dff3e6; color: #087a3f; }
.trans-cat.secondary { background: #eef0f2; color: #53606b; }
.trans-cat.teal { background: #d8f0ed; color: #007466; }
.trans-cat.purple { background: #ece2fb; color: #6f3ab1; }
.trans-cat.orange { background: #fff0df; color: #bd5e00; }
.trans-cat.amber { background: #fff5d8; color: #a06b00; }
.trans-cat.violet { background: #eeeafd; color: #5541ad; }

.trans-pagination {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 150px;
    gap: 1rem;
    align-items: center;
    padding: .9rem 1rem;
    color: var(--muted);
    border-top: 1px solid #dfe8e6;
}

.trans-pages {
    display: flex;
    align-items: center;
    gap: .35rem;
}

.trans-pages span {
    min-width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: .4rem;
    color: #253937;
}

.trans-pages span.active {
    background: var(--brand);
    color: #fff;
}

.trans-trust {
    margin-top: 1rem;
    padding: 1rem 0;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.trans-trust span {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #e4f4ec;
    color: var(--brand);
    display: grid;
    place-items: center;
    font-size: 1.45rem;
    box-shadow: inset 0 0 0 1px #c7e8d6;
}

.trans-trust strong,
.trans-trust small {
    display: block;
}

.trans-trust strong {
    color: var(--brand-dark);
}

.trans-trust small {
    color: var(--muted);
}

.checkout-main {
    min-height: calc(100vh - 80px);
    background:
        radial-gradient(circle at 18% 12%, rgba(18, 105, 95, .08), transparent 30%),
        radial-gradient(circle at 85% 18%, rgba(216, 160, 50, .08), transparent 26%),
        #f6f9f8;
    padding: 4rem 0 0;
}

.checkout-grid {
    max-width: 1180px;
    margin: 0 auto;
}

.checkout-product-card,
.checkout-form-card,
.checkout-benefits,
.checkout-footer {
    background: rgba(255, 255, 255, .96);
    border: 1px solid #dde8e5;
    border-radius: .75rem;
    box-shadow: 0 16px 42px rgba(25, 45, 43, .08);
}

.checkout-product-card {
    padding: 1.35rem;
}

.checkout-product-top {
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.checkout-product-top img {
    width: 128px;
    height: 128px;
    border-radius: .75rem;
    object-fit: cover;
    background: #eef3f1;
}

.checkout-product-slider {
    width: 128px;
}

.checkout-product-slider .carousel-item img {
    width: 128px;
    height: 128px;
    border-radius: .75rem;
}

.checkout-product-slider .carousel-control-prev,
.checkout-product-slider .carousel-control-next {
    width: 30px;
}

.checkout-product-slider .carousel-control-prev-icon,
.checkout-product-slider .carousel-control-next-icon {
    width: 18px;
    height: 18px;
    padding: .6rem;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, .45);
}

.checkout-product-top h1 {
    color: #123330;
    font-size: 1.45rem;
    font-weight: 800;
    margin-bottom: .65rem;
}

.checkout-price {
    color: var(--brand);
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: .85rem;
}

.checkout-product-top p {
    color: #425653;
    line-height: 1.6;
    margin: 0;
}

.checkout-transfer {
    margin-top: 2rem;
    border: 1px solid #aee0cf;
    border-radius: .65rem;
    background: linear-gradient(135deg, #f2fbf8, #f8fffc);
    padding: 1rem;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    color: #17413c;
    line-height: 1.55;
}

.checkout-transfer i {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--brand-dark);
    background: #dff3eb;
    font-size: 1.25rem;
}

.checkout-form-card {
    padding: 1.45rem;
}

.checkout-form-card h2 {
    color: var(--brand-dark);
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1.35rem;
}

.checkout-form-card .form-label {
    color: #243b39;
    font-weight: 700;
    margin-bottom: .5rem;
}

.checkout-input .input-group-text {
    width: 48px;
    justify-content: center;
    background: #f8fbfa;
    border-color: #cfdcda;
    color: var(--brand-dark);
    font-size: 1.15rem;
}

.checkout-input .form-control {
    min-height: 48px;
    border-color: #cfdcda;
    color: #263b39;
}

.checkout-input textarea.form-control {
    min-height: 72px;
}

.checkout-input .form-control::placeholder {
    color: #7b8987;
}

.checkout-submit {
    min-height: 52px;
    font-weight: 800;
    margin-top: .25rem;
}

.checkout-benefits {
    margin-top: .9rem;
    padding: 1rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    background: linear-gradient(135deg, #f3fbf8, #fff);
}

.checkout-benefits div {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: .75rem;
    align-items: center;
}

.checkout-benefits i,
.checkout-social span {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--brand);
    background: #dff3eb;
    font-size: 1.25rem;
}

.checkout-benefits strong,
.checkout-benefits small {
    display: block;
}

.checkout-benefits strong {
    color: var(--brand-dark);
    font-size: .9rem;
}

.checkout-benefits small {
    color: #536967;
    font-size: .82rem;
    line-height: 1.4;
}

.checkout-footer {
    max-width: 1320px;
    margin: 3.5rem auto 0;
    padding: 2.2rem 2.6rem 0;
    overflow: hidden;
}

.checkout-footer h3 {
    color: #183936;
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.checkout-footer p,
.checkout-footer a {
    color: #38504d;
    font-size: .92rem;
    line-height: 1.6;
}

.checkout-footer a {
    display: block;
    text-decoration: none;
    margin-bottom: .4rem;
}

.checkout-footer a:hover {
    color: var(--brand);
}

.checkout-social {
    display: flex;
    gap: .75rem;
}

.checkout-copyright {
    margin: 2rem -2.6rem 0;
    background: linear-gradient(135deg, #006d5d, #005348);
    color: #fff;
    text-align: center;
    padding: .9rem;
    font-size: .9rem;
}

/* Final login override: keep after original login rules */
.login-page {
    background:
        linear-gradient(109deg, rgba(0, 83, 73, .96) 0%, rgba(0, 83, 73, .9) 34%, transparent 34.2%),
        linear-gradient(90deg, rgba(238, 247, 244, .86), rgba(255, 254, 250, .98)),
        url("uploads/produk/hero-transparansi.png") left center / cover no-repeat;
}

.login-shell {
    align-content: center;
    justify-items: center;
}

.login-card {
    width: min(500px, 92vw);
    padding: 2.9rem 3rem 2.3rem;
    transform: translateX(70px);
}

.login-card h1 {
    font-size: 2rem;
}

.login-trust {
    top: calc(50% + 295px);
    transform: translateX(calc(-50% + 70px));
}

.about-hero {
    background:
        linear-gradient(90deg, rgba(0, 93, 80, .98) 0%, rgba(0, 93, 80, .86) 45%, rgba(232, 245, 241, .48) 100%),
        url("uploads/produk/hero-transparansi.png") center right / cover no-repeat;
    color: #fff;
    padding: 4rem 0;
}

.about-hero h1 {
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    font-weight: 800;
    margin-bottom: .8rem;
}

.about-hero p {
    max-width: 680px;
    font-size: 1.12rem;
    line-height: 1.6;
    margin: 0;
    font-weight: 600;
}

.about-main {
    background: #fbfaf7;
    padding: 3rem 0;
}

.about-card {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 2rem;
    align-items: center;
    background: #fff;
    border: 1px solid #e4e8e7;
    border-radius: .85rem;
    box-shadow: 0 18px 44px rgba(25, 45, 43, .09);
    padding: 1.3rem;
}

.about-photo img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: .7rem;
}

.about-kicker {
    color: var(--brand);
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    font-size: .82rem;
}

.about-copy h2,
.about-info-card h2,
.about-cta h2 {
    color: var(--brand-dark);
    font-weight: 800;
}

.about-copy p,
.about-info-card p,
.about-cta p {
    color: #4c625f;
    line-height: 1.75;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .9rem;
    margin-top: 1.4rem;
}

.about-stats div,
.about-info-card,
.about-cta {
    background: #fff;
    border: 1px solid #e2ebe8;
    border-radius: .75rem;
    box-shadow: 0 14px 34px rgba(25, 45, 43, .06);
}

.about-stats div {
    padding: 1rem;
}

.about-stats strong,
.about-stats span {
    display: block;
}

.about-stats strong {
    color: var(--brand);
    font-size: 1.45rem;
}

.about-stats span {
    color: var(--muted);
    font-size: .9rem;
}

.about-info-card {
    min-height: 230px;
    padding: 1.5rem;
}

.about-info-card i {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: .7rem;
    color: var(--brand);
    background: #e3f5ee;
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.about-cta {
    margin-top: 1.5rem;
    padding: 1.4rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    background: linear-gradient(135deg, #f2fbf8, #fff);
}

.table > :not(caption) > * > * {
    vertical-align: middle;
}

@media (max-width: 991.98px) {
    .sidebar {
        position: static;
        width: 100%;
        min-height: auto;
        border-radius: 0;
    }

    .admin-main {
        margin-left: 0;
    }

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

    .admin-help {
        position: static;
        margin-top: 1rem;
    }

    .admin-topbar {
        justify-content: flex-start !important;
        flex-wrap: wrap;
    }

    .admin-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-side {
        position: static;
    }

    .dash-mini-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }

    .dash-mini-row > div {
        border-right: 0;
        padding: 0;
    }

    .shop-hero,
    .shop-hero-inner {
        min-height: 640px;
    }

    .shop-hero-bg {
        background:
            linear-gradient(180deg, rgba(0, 79, 69, .98) 0%, rgba(0, 79, 69, .86) 48%, rgba(0, 0, 0, .06) 100%),
            url("uploads/produk/hero-toko.png") center bottom / cover no-repeat;
    }

    .shop-benefits {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .public-menu {
        justify-content: center;
    }

    .transparency-hero {
        padding: 2.4rem 0;
        background:
            linear-gradient(90deg, rgba(0, 93, 80, .96), rgba(0, 93, 80, .82)),
            url("uploads/produk/hero-transparansi.png") center / cover no-repeat;
    }

    .trans-pagination {
        grid-template-columns: 1fr;
    }

    .trans-trust {
        align-items: flex-start;
        flex-direction: column;
    }

    .checkout-main {
        padding-top: 2rem;
    }

    .checkout-product-top,
    .checkout-benefits {
        grid-template-columns: 1fr;
    }

    .checkout-product-top img {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .checkout-product-slider,
    .checkout-product-slider .carousel-item img {
        width: 100%;
    }

    .checkout-footer {
        padding: 1.4rem 1.4rem 0;
    }

    .checkout-copyright {
        margin-left: -1.4rem;
        margin-right: -1.4rem;
    }

    .login-page {
        background:
            linear-gradient(180deg, rgba(0, 89, 78, .9) 0%, rgba(234, 245, 242, .92) 42%),
            url("uploads/produk/hero-transparansi.png") center / cover no-repeat;
    }

    .login-shell {
        padding: 1.2rem;
    }

    .login-card {
        padding: 2rem 1.35rem 1.65rem;
        transform: none;
    }

    .login-trust {
        position: static;
        transform: none;
        margin-top: 1.5rem;
    }

    .about-card,
    .about-stats {
        grid-template-columns: 1fr;
    }

    .about-cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .contact-map-card {
        grid-template-columns: 1fr;
    }

    .admin-table-pager {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Login pro - reference photo layout */
html:has(body.login-pro),
body.login-pro {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    margin: 0;
    overflow: hidden;
    background: #0b3936;
    color: #23413f;
}

.login-pro-bg {
    position: fixed;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 241, 196, .24), rgba(3, 79, 76, .45)),
        linear-gradient(rgba(17, 72, 70, .25), rgba(13, 55, 54, .42)),
        url("uploads/produk/login-bg-masjid.png") center center / cover no-repeat;
    filter: saturate(.95);
    z-index: 0;
}

.login-pro-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(45deg, rgba(105, 219, 205, .12) 0 1px, transparent 1px 28px),
        radial-gradient(circle at 52% 48%, rgba(255,255,255,.38), transparent 20%);
    opacity: .5;
}

.login-pro-brand {
    position: fixed;
    top: 58px;
    left: 58px;
    z-index: 2;
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    color: #0b5a50;
}

.login-pro-brand-mark {
    width: 82px;
    height: 82px;
    display: grid;
    place-items: center;
    color: #0b6a5d;
    font-size: 54px;
}

.login-pro-brand strong {
    display: block;
    font-size: 34px;
    line-height: 1;
    font-weight: 900;
    color: #0b5a50;
}

.login-pro-brand span {
    display: block;
    margin-top: 12px;
    font-size: 17px;
    font-weight: 600;
    color: #0f5b54;
}

.login-pro-shell {
    position: relative;
    z-index: 1;
    width: 100vw;
    height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.login-pro-card {
    width: 515px;
    max-width: 92vw;
    min-height: 690px;
    background: rgba(255, 255, 255, .76);
    border: 1px solid rgba(255,255,255,.78);
    border-radius: 22px;
    box-shadow: 0 22px 60px rgba(21, 54, 51, .26);
    backdrop-filter: blur(20px);
    padding: 48px 50px 42px;
}

.login-pro-head {
    text-align: center;
}

.login-pro-logo {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    background: rgba(255,255,255,.86);
    display: grid;
    place-items: center;
    margin: 0 auto 24px;
    color: #0b6a5d;
    font-size: 70px;
    box-shadow: 0 14px 34px rgba(36, 70, 67, .16);
}

.login-pro-head h1 {
    color: #0b5a50;
    font-size: 36px;
    font-weight: 900;
    line-height: 1.1;
    margin: 0 0 10px;
}

.login-pro-head p {
    color: #3d5061;
    font-size: 17px;
    margin: 0;
}

.login-pro-separator {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 14px;
    align-items: center;
    margin: 28px 0 28px;
}

.login-pro-separator span {
    height: 1px;
    background: rgba(152, 167, 164, .45);
}

.login-pro-separator i {
    color: #0b6a5d;
    font-size: 14px;
}

.login-pro-form .form-label {
    color: #344757;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
}

.login-pro-input .input-group-text {
    width: 50px;
    justify-content: center;
    background: rgba(255,255,255,.86);
    border-color: rgba(184, 197, 194, .75);
    color: #677381;
    font-size: 19px;
}

.login-pro-input .form-control {
    min-height: 52px;
    background: rgba(255,255,255,.86);
    border-color: rgba(184, 197, 194, .75);
    color: #344757;
    font-size: 16px;
}

.login-pro-input .form-control::placeholder {
    color: #8c98a6;
}

.login-pro-eye {
    cursor: pointer;
}

.login-pro-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin: 16px 0 28px;
    color: #495966;
}

.login-pro-options label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.login-pro-options input {
    width: 18px;
    height: 18px;
    accent-color: #0b6a5d;
}

.login-pro-options a {
    color: #0b6a5d;
    font-weight: 700;
    text-decoration: none;
}

.login-pro-submit {
    min-height: 56px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, #0b7a69, #076052);
    font-size: 18px;
    font-weight: 800;
    box-shadow: 0 12px 24px rgba(6, 96, 82, .22);
}

.login-pro-divider {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 16px;
    align-items: center;
    margin: 28px 0 20px;
}

.login-pro-divider span {
    height: 1px;
    background: rgba(152, 167, 164, .48);
}

.login-pro-divider small {
    color: #687781;
}

.login-pro-public {
    min-height: 54px;
    border: 1px solid #0b6a5d;
    border-radius: 8px;
    color: #0b6a5d;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 17px;
    font-weight: 800;
    background: rgba(255,255,255,.35);
}

.login-pro-public:hover {
    color: #fff;
    background: #0b6a5d;
}

.login-pro-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 22px;
    z-index: 2;
    color: rgba(255,255,255,.88);
    text-align: center;
    font-size: 14px;
}

@media (max-width: 991.98px) {
    html:has(body.login-pro),
    body.login-pro {
        height: auto;
        overflow: auto;
    }

    .login-pro-brand {
        position: relative;
        top: auto;
        left: auto;
        padding: 28px 24px 0;
    }

    .login-pro-shell {
        height: auto;
        min-height: auto;
        padding-top: 28px;
        padding-bottom: 70px;
    }

    .login-pro-card {
        min-height: auto;
    }

    .login-pro-footer {
        position: static;
        padding: 0 0 24px;
    }
}

@media (max-width: 575.98px) {
    .login-pro-brand {
        grid-template-columns: 56px 1fr;
        gap: 12px;
    }

    .login-pro-brand-mark {
        width: 56px;
        height: 56px;
        font-size: 38px;
    }

    .login-pro-brand strong {
        font-size: 26px;
    }

    .login-pro-brand span {
        font-size: 14px;
    }

    .login-pro-card {
        padding: 32px 22px;
    }
}

/* Final exact shop hero/header override */
@media (min-width: 992px) {
    .shop-hero {
        min-height: 455px !important;
        height: 455px;
        background: #005d52;
    }

    .shop-hero-bg {
        inset: 0;
        background:
            linear-gradient(90deg, rgba(0, 80, 70, .98) 0%, rgba(0, 88, 76, .92) 34%, rgba(0, 88, 76, .46) 58%, rgba(0, 88, 76, .06) 100%),
            url("uploads/produk/hero-toko-wide.png") right center / auto 100% no-repeat !important;
    }

    .shop-hero::after {
        left: -6vw;
        right: -6vw;
        bottom: -2px;
        height: 82px;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%23fbfaf7' d='M0 45 C170 82 345 92 520 72 C665 56 765 20 920 34 C1085 49 1220 76 1440 24 L1440 120 L0 120 Z'/%3E%3C/svg%3E") bottom center / 100% 100% no-repeat;
        clip-path: none;
        z-index: 2;
    }

    .shop-hero-inner {
        max-width: 1140px;
        min-height: 455px !important;
        height: 455px;
        align-items: center;
    }

    .shop-hero-copy {
        max-width: 600px;
        padding-bottom: 42px;
    }

    .shop-hero h1 {
        font-size: 64px;
        line-height: .98;
        font-weight: 900;
        margin-bottom: 22px;
        letter-spacing: 0;
        text-shadow: 0 8px 20px rgba(0, 0, 0, .22);
    }

    .shop-hero p {
        max-width: 500px;
        font-size: 19px;
        line-height: 1.5;
        margin-bottom: 0;
    }

    .shop-benefits {
        grid-template-columns: 178px 178px 205px;
        gap: 22px;
        margin-top: 34px;
    }

    .shop-benefit {
        grid-template-columns: 50px minmax(0, 1fr);
        gap: 12px;
        align-items: center;
    }

    .shop-benefit span {
        width: 50px;
        height: 50px;
        border-radius: 12px;
        font-size: 22px;
        border-color: rgba(255, 218, 139, .95);
        background: rgba(255, 255, 255, .08);
    }

    .shop-benefit strong {
        font-size: 13px;
        line-height: 1.25;
        font-weight: 800;
    }

    .shop-benefit small {
        font-size: 12px;
        line-height: 1.35;
        margin-top: 4px;
    }
}

@media (max-width: 575.98px) {
    .sidebar .nav {
        grid-template-columns: 1fr;
    }

    .admin-date,
    .admin-user {
        width: 100%;
    }

    .dashboard-hero {
        padding: 1.2rem;
    }

    .dash-mini-row {
        grid-template-columns: 1fr;
    }
}

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

    .admin-main {
        margin: 0;
    }
}

/* Login v2: isolated final styles */
body.login-v2 {
    min-height: 100vh;
    margin: 0;
    background: #f8fbfa;
    overflow: hidden;
    position: relative;
    color: #183936;
}

body.login-v2::before {
    content: "";
    position: fixed;
    inset: 0 auto 0 0;
    width: 39vw;
    min-width: 520px;
    background:
        linear-gradient(rgba(0, 87, 76, .88), rgba(0, 87, 76, .9)),
        url("uploads/produk/hero-transparansi.png") left center / cover no-repeat;
    clip-path: polygon(0 0, 100% 0, 70% 100%, 0 100%);
    z-index: 0;
}

body.login-v2::after {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 52% 50%, rgba(0, 88, 76, .14), transparent 18%),
        repeating-linear-gradient(45deg, rgba(216, 160, 50, .055) 0 1px, transparent 1px 18px);
    opacity: .75;
    z-index: 0;
    pointer-events: none;
}

.login-v2-shell {
    min-height: 100vh;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.login-v2-card {
    width: min(500px, 92vw);
    background: rgba(255, 255, 255, .97);
    border: 1px solid rgba(230, 237, 235, .95);
    border-radius: 1rem;
    box-shadow: 0 24px 60px rgba(15, 45, 42, .18);
    padding: 3rem 3rem 2.35rem;
}

.login-v2-logo {
    width: 96px;
    height: 96px;
    border-radius: 1rem;
    display: grid;
    place-items: center;
    position: relative;
    margin-bottom: 1.65rem;
    color: #fff;
    background: linear-gradient(135deg, #00836f, #00564b);
    box-shadow: 0 14px 30px rgba(0, 94, 82, .28);
}

.login-v2-logo i {
    color: #f0c35a;
    font-size: 2.25rem;
    transform: translateY(-.35rem);
}

.login-v2-logo span {
    position: absolute;
    bottom: 15px;
    font-weight: 900;
    font-size: 1.38rem;
    letter-spacing: .03em;
}

.login-v2-card h1 {
    margin: 0 0 .6rem;
    color: #0b4a42;
    font-size: 2.05rem;
    font-weight: 900;
    line-height: 1.1;
}

.login-v2-subtitle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .8rem;
    margin-bottom: 2rem;
}

.login-v2-subtitle span {
    width: 42px;
    height: 2px;
    background: #d8a032;
}

.login-v2-subtitle p {
    margin: 0;
    color: #6b7c7a;
    font-weight: 600;
}

.login-v2-form .form-label {
    margin-bottom: .55rem;
    color: #21423f;
    font-weight: 800;
}

.login-v2-input {
    border-radius: .62rem;
}

.login-v2-input .input-group-text {
    width: 54px;
    justify-content: center;
    background: #fbfdfc;
    border-color: #cfddda;
    color: #006d5d;
    font-size: 1.15rem;
}

.login-v2-input .form-control {
    min-height: 56px;
    border-color: #cfddda;
    color: #263b39;
    font-weight: 600;
}

.login-v2-input:focus-within .input-group-text,
.login-v2-input:focus-within .form-control {
    border-color: #77c7b7;
    box-shadow: 0 0 0 .16rem rgba(18, 105, 95, .12);
}

.login-v2-eye {
    cursor: pointer;
}

.login-v2-submit {
    min-height: 56px;
    margin-top: .75rem;
    border-radius: .55rem;
    font-size: 1.06rem;
    font-weight: 900;
    box-shadow: 0 11px 24px rgba(0, 94, 82, .25);
}

.login-v2-divider {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1rem;
    align-items: center;
    margin: 1.8rem 0 1.35rem;
}

.login-v2-divider span {
    height: 1px;
    background: #dfe7e5;
}

.login-v2-divider small {
    color: #71817f;
}

.login-v2-back {
    display: block;
    text-align: center;
    color: #006d5d;
    text-decoration: none;
    font-weight: 900;
}

.login-v2-back:hover {
    color: #0a3d39;
}

.login-v2-trust {
    margin-top: 1.65rem;
    text-align: center;
    color: #647573;
}

.login-v2-trust i {
    color: #006d5d;
    margin-right: .35rem;
}

.login-v2-trust strong {
    color: #566b68;
    font-size: 1.05rem;
}

.login-v2-trust small {
    display: block;
    margin-top: .4rem;
}

@media (max-width: 991.98px) {
    body.login-v2 {
        overflow: auto;
    }

    body.login-v2::before {
        width: 100%;
        min-width: 0;
        height: 42vh;
        clip-path: polygon(0 0, 100% 0, 100% 72%, 0 100%);
    }

    .login-v2-shell {
        justify-content: flex-start;
        padding-top: 4rem;
    }
}

@media (max-width: 575.98px) {
    .login-v2-card {
        padding: 2rem 1.35rem 1.65rem;
    }

    .login-v2-logo {
        width: 82px;
        height: 82px;
    }
}

/* Login exact background fix - final override */
html:has(body.login-v2),
body.login-v2 {
    width: 100%;
    min-height: 100%;
    height: 100%;
    margin: 0;
    background: #fbfaf6 !important;
    overflow: hidden;
}

body.login-v2::before,
body.login-v2::after {
    content: none !important;
    display: none !important;
}

.login-v2-bg {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: #fbfaf6;
    z-index: 0;
}

.login-v2-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 52%, rgba(0, 83, 73, .15), transparent 18%),
        linear-gradient(90deg, rgba(236, 246, 243, .78), rgba(255, 255, 252, .96));
    z-index: 2;
}

.login-v2-green {
    position: absolute;
    inset: 0 auto 0 0;
    width: 39vw;
    min-width: 615px;
    height: 100vh;
    background:
        linear-gradient(rgba(0, 86, 75, .88), rgba(0, 86, 75, .92)),
        url("uploads/produk/hero-transparansi.png") left center / cover no-repeat;
    clip-path: polygon(0 0, 100% 0, 73% 100%, 0 100%);
    z-index: 1;
}

.login-v2-pattern {
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(45deg, rgba(216, 160, 50, .05) 0 1px, transparent 1px 18px),
        repeating-linear-gradient(-45deg, rgba(216, 160, 50, .035) 0 1px, transparent 1px 22px);
    opacity: .52;
    z-index: 3;
}

.login-v2-shell {
    position: relative !important;
    z-index: 4 !important;
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateX(64px);
}

.login-v2-card {
    width: 500px;
    max-width: 92vw;
    padding: 3rem 3rem 2.35rem !important;
    transform: none !important;
}

.login-v2-trust {
    position: static !important;
    transform: none !important;
    margin-top: 1.65rem;
}

@media (max-width: 991.98px) {
    html:has(body.login-v2),
    body.login-v2 {
        height: auto;
        min-height: 100%;
        overflow: auto;
    }

    .login-v2-green {
        width: 100%;
        min-width: 0;
        height: 43vh;
        clip-path: polygon(0 0, 100% 0, 100% 72%, 0 100%);
    }

    .login-v2-shell {
        transform: none;
        justify-content: flex-start;
        padding-top: 4rem;
        height: auto;
        min-height: 100vh;
    }
}

/* Compact login final override */
@media (min-width: 992px) {
    .login-pro-brand {
        top: 44px;
        left: 58px;
        grid-template-columns: 56px 1fr;
        gap: 14px;
    }

    .login-pro-brand-mark {
        width: 56px;
        height: 56px;
        font-size: 35px;
    }

    .login-pro-brand strong {
        font-size: 28px;
    }

    .login-pro-brand span {
        margin-top: 5px;
        font-size: 15px;
    }

    .login-pro-card {
        width: 420px;
        min-height: 0;
        padding: 30px 34px 28px;
        border-radius: 18px;
    }

    .login-pro-logo {
        width: 82px;
        height: 82px;
        margin-bottom: 16px;
        font-size: 45px;
    }

    .login-pro-head h1 {
        margin-bottom: 6px;
        font-size: 28px;
    }

    .login-pro-head p {
        font-size: 14px;
    }

    .login-pro-separator {
        margin: 18px 0 20px;
        gap: 10px;
    }

    .login-pro-form .form-label {
        margin-bottom: 6px;
        font-size: 13px;
    }

    .login-pro-input .input-group-text {
        width: 44px;
        font-size: 16px;
    }

    .login-pro-input .form-control,
    .login-pro-input .btn {
        min-height: 44px;
        font-size: 14px;
    }

    .login-pro-options {
        margin: 10px 0 18px;
        font-size: 14px;
    }

    .login-pro-options input {
        width: 16px;
        height: 16px;
    }

    .login-pro-submit {
        min-height: 46px;
        font-size: 15px;
    }

    .login-pro-divider {
        margin: 18px 0 14px;
        font-size: 13px;
    }

    .login-pro-public {
        min-height: 44px;
        font-size: 15px;
    }

    .login-pro-footer {
        bottom: 16px;
        font-size: 13px;
    }
}

@media (max-width: 575.98px) {
    .login-pro-card {
        width: min(380px, 92vw);
        padding: 24px 20px;
    }

    .login-pro-logo {
        width: 72px;
        height: 72px;
        font-size: 40px;
    }

    .login-pro-head h1 {
        font-size: 26px;
    }
}

/* Minimal admin dashboard override */
@media (min-width: 992px) {
    .sidebar {
        width: 220px;
        border-top-right-radius: .7rem;
        border-bottom-right-radius: .7rem;
    }

    .admin-main {
        margin-left: 220px;
    }

    .sidebar .p-4 {
        padding: 1rem !important;
    }

    .admin-brand {
        min-height: 46px;
    }

    .admin-brand-mark {
        width: 38px;
        height: 38px;
        border-radius: .55rem;
        font-size: 1.2rem;
    }

    .admin-brand strong {
        font-size: 1.08rem;
    }

    .admin-brand small {
        font-size: .78rem;
    }

    .sidebar .nav {
        gap: .35rem !important;
    }

    .sidebar a {
        padding: .62rem .75rem;
        border-radius: .45rem;
        gap: .65rem;
        font-size: .88rem;
    }

    .sidebar a i {
        width: 18px;
        font-size: .98rem;
    }

    .admin-help {
        left: .9rem;
        right: .9rem;
        bottom: 1rem;
        grid-template-columns: 34px minmax(0, 1fr);
        padding: .65rem;
        gap: .6rem;
    }

    .admin-help i {
        width: 34px;
        height: 34px;
        font-size: 1rem;
    }

    .admin-help strong {
        font-size: .86rem;
    }

    .admin-help span {
        font-size: .72rem;
    }
}

.admin-topbar {
    min-height: 58px;
    margin-bottom: .35rem !important;
}

.admin-top-icon {
    width: 40px;
    height: 40px;
}

.admin-date,
.admin-user {
    min-height: 40px;
    padding: .42rem .65rem;
    gap: .55rem;
}

.admin-user span {
    width: 32px;
    height: 32px;
    font-size: .86rem;
}

.admin-content {
    padding: .25rem 1.25rem 1.25rem !important;
}

.admin-dashboard-grid {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: .75rem;
}

.dashboard-hero {
    min-height: 96px;
    padding: 1.15rem 1.4rem;
    margin-bottom: .75rem;
    border-radius: .65rem;
}

.dashboard-hero h1 {
    font-size: 1.24rem;
    margin-bottom: .35rem;
}

.dashboard-hero p {
    font-size: .9rem;
    line-height: 1.35;
}

.row.g-3,
.row.g-3 > * {
    --bs-gutter-x: .75rem;
    --bs-gutter-y: .75rem;
}

.dash-stat-card {
    min-height: 118px;
    padding: .78rem;
}

.dash-stat-head {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: .55rem;
    margin-bottom: .35rem;
}

.dash-icon {
    width: 38px;
    height: 38px;
    border-radius: .55rem;
    font-size: 1rem;
}

.dash-stat-card small,
.dash-mini-row small {
    font-size: .76rem;
}

.dash-stat-card strong {
    font-size: 1.12rem;
    margin-bottom: .1rem;
}

.dash-stat-card em {
    font-size: .72rem;
}

.sparkline {
    height: 24px;
    margin-top: .38rem;
}

.dash-mini-row {
    padding: .7rem;
    margin-bottom: .75rem !important;
}

.dash-mini-row > div {
    grid-template-columns: 36px minmax(0, 1fr);
    column-gap: .55rem;
    padding: 0 .75rem;
}

.dash-mini-icon {
    width: 34px;
    height: 34px;
    border-radius: .5rem;
    font-size: .95rem;
}

.dash-mini-row strong {
    font-size: .98rem;
}

.dash-mini-row em {
    font-size: .74rem;
}

.dash-panel {
    padding: .85rem;
    border-radius: .65rem;
}

.dash-panel-title {
    margin-bottom: .65rem;
}

.dash-panel-title h2,
.dash-panel h2 {
    font-size: 1rem;
}

.dash-panel-title span,
.dash-panel-title a {
    padding: .35rem .55rem;
    font-size: .76rem;
}

#financeChart {
    height: 230px !important;
    max-height: 230px !important;
}

#balanceChart {
    height: 210px !important;
    max-height: 210px !important;
}

.balance-panel {
    padding: 1rem;
}

.balance-panel h2 {
    margin-bottom: .8rem;
}

.balance-item {
    grid-template-columns: 1fr 34px;
    gap: .34rem .55rem;
    margin-bottom: .82rem;
}

.balance-item span,
.balance-item strong,
.balance-item em {
    font-size: .78rem;
}

.balance-track {
    height: 7px;
}

.balance-link {
    min-height: 36px;
    font-size: .82rem;
}

.latest-panel {
    margin-top: .75rem;
}

.dash-table thead th,
.dash-table tbody td {
    padding: .52rem .7rem;
    font-size: .82rem;
}

.dash-badge,
.dash-cat {
    padding: .14rem .42rem;
    font-size: .7rem;
}

/* Balanced minimal admin UI */
@media (min-width: 992px) {
    .sidebar {
        width: 232px;
    }

    .admin-main {
        margin-left: 232px;
    }

    .sidebar .p-4,
    .sidebar.admin-sidebar {
        padding: 1rem !important;
    }

    .admin-brand {
        min-height: 48px;
        margin-bottom: 1.25rem !important;
    }

    .admin-brand-mark {
        width: 40px;
        height: 40px;
        font-size: 1.18rem;
    }

    .admin-brand strong {
        font-size: 1.12rem;
    }

    .admin-nav {
        gap: .45rem !important;
    }

    .sidebar a {
        min-height: 42px;
        padding: .65rem .82rem;
        font-size: .9rem;
    }
}

.admin-topbar {
    min-height: 56px;
    padding-top: .65rem !important;
    padding-bottom: .65rem !important;
}

.admin-content {
    padding: .75rem 1.35rem 1.5rem !important;
}

.admin-dashboard-grid {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 1rem;
}

.dashboard-hero {
    min-height: 112px;
    padding: 1.25rem 1.45rem;
    margin-bottom: 1rem;
}

.dashboard-hero h1 {
    font-size: 1.35rem;
}

.dashboard-hero p {
    font-size: .92rem;
}

.dashboard-main > .row.g-3,
.dashboard-main > .row.g-3 > * {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
}

.dash-stat-card {
    min-height: 132px;
    padding: .95rem;
}

.dash-stat-head {
    grid-template-columns: 42px minmax(0, 1fr);
}

.dash-icon {
    width: 42px;
    height: 42px;
}

.dash-stat-card strong {
    font-size: 1.26rem;
}

.sparkline {
    height: 28px;
}

.dash-mini-row {
    padding: .85rem;
}

.dash-mini-row > div {
    grid-template-columns: 40px minmax(0, 1fr);
}

.dash-mini-icon {
    width: 38px;
    height: 38px;
}

.dash-panel {
    padding: 1rem;
}

.dash-panel-title {
    margin-bottom: .85rem;
}

#financeChart {
    height: 255px !important;
    max-height: 255px !important;
}

.donut-wrap {
    min-height: 235px;
}

#balanceChart {
    height: 235px !important;
    max-height: 235px !important;
}

.balance-panel {
    padding: 1.05rem;
}

.balance-item {
    margin-bottom: 1rem;
}

.balance-item span,
.balance-item strong,
.balance-item em {
    font-size: .84rem;
}

.dash-table thead th,
.dash-table tbody td {
    padding: .6rem .8rem;
    font-size: .84rem;
}

@media (max-width: 991.98px) {
    .admin-content {
        padding: 1rem !important;
    }

    .admin-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-hero {
        min-height: 120px;
    }
}

/* Refined CRUD admin pages */
.admin-page-heading {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: end;
    margin: .25rem 0 1rem;
}

.admin-page-heading h1 {
    margin: .1rem 0 0;
    color: #142f2b;
    font-size: 1.45rem;
    font-weight: 850;
}

.admin-page-heading p {
    max-width: 470px;
    margin: 0;
    color: #637572;
    font-size: .9rem;
    line-height: 1.55;
    text-align: right;
}

.admin-page-kicker {
    color: #0a7b68;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.admin-form-card,
.admin-list-card {
    padding: 1rem;
    border-radius: .85rem;
}

.admin-form-card {
    background:
        linear-gradient(180deg, rgba(236, 249, 245, .64), rgba(255, 255, 255, .98) 170px),
        #fff;
}

.admin-card-title {
    display: flex;
    gap: .75rem;
    align-items: center;
    margin-bottom: 1rem;
}

.admin-card-title > span {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: grid;
    place-items: center;
    border-radius: .7rem;
    color: #087364;
    background: #e2f6ef;
    font-size: 1.05rem;
}

.admin-card-title h2 {
    margin: 0;
    color: #142f2b;
    font-size: 1.08rem;
    font-weight: 850;
}

.admin-card-title p {
    margin: .15rem 0 0;
    color: #71827f;
    font-size: .8rem;
}

.admin-form .form-label {
    color: #2c4441;
    font-size: .84rem;
    font-weight: 750;
    margin-bottom: .38rem;
}

.admin-form .form-control,
.admin-form .form-select,
.admin-search .form-control {
    min-height: 42px;
    border-color: #dce8e5;
    border-radius: .55rem;
    color: #263d3a;
    box-shadow: none;
}

.admin-form textarea.form-control {
    min-height: 88px;
}

.admin-form .form-control:focus,
.admin-form .form-select:focus,
.admin-search .form-control:focus {
    border-color: rgba(10, 123, 104, .55);
    box-shadow: 0 0 0 .18rem rgba(10, 123, 104, .1);
}

.admin-list-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    margin-bottom: .75rem;
}

.admin-list-head .admin-card-title {
    margin-bottom: 0;
}

.admin-search {
    position: relative;
    width: min(520px, 48%);
}

.admin-search i {
    position: absolute;
    left: .85rem;
    top: 50%;
    transform: translateY(-50%);
    color: #78908b;
    pointer-events: none;
}

.admin-search .form-control {
    padding-left: 2.35rem;
}

.admin-table {
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0 .45rem;
}

.admin-table thead th {
    padding: .55rem .8rem;
    color: #48615d;
    border: 0;
    font-size: .78rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .035em;
}

.admin-table tbody tr {
    background: #fff;
    box-shadow: 0 8px 20px rgba(31, 53, 49, .045);
}

.admin-table tbody td {
    padding: .72rem .8rem;
    border-top: 1px solid #edf3f1;
    border-bottom: 1px solid #edf3f1;
    color: #263d3a;
}

.admin-table tbody td:first-child {
    border-left: 1px solid #edf3f1;
    border-top-left-radius: .65rem;
    border-bottom-left-radius: .65rem;
}

.admin-table tbody td:last-child {
    border-right: 1px solid #edf3f1;
    border-top-right-radius: .65rem;
    border-bottom-right-radius: .65rem;
}

.admin-table tbody tr:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(31, 53, 49, .08);
}

.admin-soft-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: .18rem .55rem;
    border-radius: 999px;
    background: #e9f7f1;
    color: #087364;
    font-size: .76rem;
    font-weight: 800;
}

.admin-soft-badge.out {
    background: #fff0f0;
    color: #dc2626;
}

.admin-actions {
    white-space: nowrap;
}

.admin-actions .btn {
    width: 32px;
    height: 32px;
    display: inline-grid;
    place-items: center;
    padding: 0;
    border-radius: .5rem;
}

.admin-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.admin-summary-card {
    min-height: 92px;
    padding: 1rem;
    border: 1px solid #e4eaf5;
    border-radius: .9rem;
    display: flex;
    gap: .85rem;
    align-items: center;
    background:
        radial-gradient(circle at 92% 8%, rgba(100, 69, 255, .12), transparent 30%),
        #fff;
    box-shadow: 0 12px 32px rgba(18, 35, 78, .06);
}

.admin-summary-card > span {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: .8rem;
    display: grid;
    place-items: center;
    color: #6844ff;
    background: #eeeaff;
    font-size: 1.18rem;
}

.admin-summary-card:nth-child(2) > span {
    color: #0a9f6e;
    background: #e5f8ef;
}

.admin-summary-card:nth-child(3) > span {
    color: #f97316;
    background: #fff0df;
}

.admin-summary-card small,
.admin-summary-card strong,
.admin-summary-card em {
    display: block;
}

.admin-summary-card small {
    color: #657394;
    font-size: .78rem;
    font-weight: 750;
}

.admin-summary-card strong {
    color: #101b3b;
    font-size: 1.08rem;
    font-weight: 900;
}

.admin-summary-card em {
    margin-top: .1rem;
    color: #7180a7;
    font-size: .78rem;
    font-style: normal;
}

.account-name-badge {
    display: inline-flex;
    gap: .5rem;
    align-items: center;
    font-weight: 800;
    color: #142f2b;
}

.account-name-badge i {
    width: 28px;
    height: 28px;
    border-radius: .55rem;
    display: grid;
    place-items: center;
    color: #6844ff;
    background: #eeeaff;
    font-size: .88rem;
}

.admin-product-thumb {
    width: 58px;
    height: 44px;
    border-radius: .55rem;
    object-fit: cover;
    box-shadow: 0 8px 18px rgba(18, 35, 78, .1);
}

.admin-inline-form {
    display: flex;
    gap: .45rem;
    align-items: center;
    min-width: 230px;
}

.admin-inline-form .form-select {
    min-height: 32px;
    border-radius: .5rem;
}

.admin-filter-card,
.settings-card {
    padding: 1rem;
    border-radius: .9rem;
}

.settings-section-title {
    margin: 0;
    color: #142f2b;
    font-size: 1rem;
    font-weight: 850;
}

.admin-table-pager {
    border-top: 1px solid #edf3f1;
    margin-top: .65rem;
    padding-top: .75rem;
}

@media (max-width: 991.98px) {
    .admin-page-heading,
    .admin-list-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-page-heading p {
        max-width: none;
        text-align: left;
    }

    .admin-search {
        width: 100%;
    }

    .admin-summary-grid {
        grid-template-columns: 1fr;
    }
}

/* Reference-inspired admin menu and dashboard UI */
.admin-body {
    background: #f6f8fc;
    color: #0b1736;
}

.sidebar {
    background:
        radial-gradient(circle at 12% 0%, rgba(78, 111, 255, .32), transparent 26%),
        linear-gradient(180deg, #071b49 0%, #052452 48%, #06172e 100%);
    border-radius: 0;
    box-shadow: 18px 0 40px rgba(11, 31, 69, .16);
}

.admin-brand-mark {
    color: #fff;
    background: linear-gradient(135deg, #1887ff, #5838ff);
    box-shadow: 0 12px 28px rgba(45, 98, 255, .35);
    font-size: .9rem;
    font-weight: 900;
}

.admin-brand strong {
    color: #fff;
}

.admin-nav-label {
    margin: .7rem .7rem .2rem;
    color: rgba(202, 214, 240, .68);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.sidebar a {
    color: rgba(236, 242, 255, .92);
    border: 1px solid transparent;
}

.sidebar a.active,
.sidebar a:hover {
    background: linear-gradient(135deg, #1688ff, #5a37ff);
    border-color: rgba(255,255,255,.16);
    box-shadow: 0 14px 26px rgba(55, 82, 255, .33);
}

.sidebar a i {
    color: rgba(255,255,255,.92);
}

.admin-help {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.1);
}

.admin-main {
    background: #f6f8fc;
}

.admin-topbar {
    min-height: 72px;
    background: #fff;
    border-bottom: 1px solid #e8edf7;
    box-shadow: 0 8px 22px rgba(17, 34, 79, .04);
}

.admin-top-title {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    color: #0d1735;
}

.admin-menu-button {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: .7rem;
    display: grid;
    place-items: center;
    background: #f4f6fb;
    color: #16234c;
    font-size: 1.3rem;
}

.admin-top-title strong {
    font-size: 1.05rem;
    font-weight: 850;
}

.admin-top-icon,
.admin-date,
.admin-user {
    border-color: #e4eaf5;
    border-radius: .8rem;
    box-shadow: none;
}

.admin-user span {
    background: linear-gradient(135deg, #1d8bff, #653bff);
}

.dashboard-hero {
    min-height: 120px;
    display: flex;
    justify-content: space-between;
    gap: 1.25rem;
    background:
        radial-gradient(circle at 82% 22%, rgba(255,255,255,.24), transparent 25%),
        linear-gradient(135deg, #7a3cff 0%, #2978ff 100%);
    box-shadow: 0 18px 42px rgba(54, 99, 255, .25);
}

.dashboard-hero h1,
.dashboard-hero p {
    text-shadow: none;
}

.dashboard-hero-actions {
    display: flex;
    gap: .7rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.dashboard-hero-actions a {
    min-width: 112px;
    min-height: 46px;
    padding: .55rem .8rem;
    border-radius: .65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    color: #0d1735;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(255,255,255,.58);
    font-size: .86rem;
    font-weight: 850;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(20, 36, 88, .12);
}

.dashboard-hero-actions i {
    color: #293d83;
}

.dash-stat-card,
.dash-mini-row,
.dash-panel,
.content-card {
    border-color: #e4eaf5;
    border-radius: .9rem;
    box-shadow: 0 12px 32px rgba(18, 35, 78, .06);
}

.dash-icon.green,
.dash-mini-icon.teal {
    background: #ede8ff;
    color: #6844ff;
}

.dash-icon.mint {
    background: #e5f8ef;
    color: #08a66d;
}

.dash-icon.coral {
    background: #fff0df;
    color: #f97316;
}

.dash-icon.blue {
    background: #e8f0ff;
    color: #2575f6;
}

.dashboard-notice {
    min-height: 62px;
    margin-bottom: 1rem;
    padding: .85rem 1rem;
    border: 1px solid #f0cc8f;
    border-radius: .8rem;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: .75rem;
    align-items: center;
    background: #fff8ed;
    color: #8a420e;
}

.dashboard-notice > i {
    width: 38px;
    height: 38px;
    border-radius: .65rem;
    display: grid;
    place-items: center;
    background: #fff0d8;
    color: #b85b0b;
    font-size: 1.1rem;
}

.dashboard-notice strong,
.dashboard-notice span {
    display: block;
}

.dashboard-notice span {
    color: #5f4a36;
    font-size: .83rem;
}

.dashboard-notice a {
    color: #9d4308;
    font-size: .84rem;
    font-weight: 850;
    text-decoration: none;
}

.dash-quick-grid {
    margin-bottom: 1rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
}

.dash-quick-grid a {
    min-height: 64px;
    padding: .8rem;
    border: 1px solid #e4eaf5;
    border-radius: .8rem;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 18px;
    column-gap: .65rem;
    align-items: center;
    color: #101b3b;
    background: #fff;
    text-decoration: none;
    box-shadow: 0 10px 26px rgba(18, 35, 78, .045);
}

.dash-quick-grid a::after {
    content: "\F285";
    color: #7180a7;
    font-family: "bootstrap-icons";
    font-size: .9rem;
}

.dash-quick-grid i {
    grid-row: span 2;
    width: 36px;
    height: 36px;
    border-radius: .65rem;
    display: grid;
    place-items: center;
    color: #6545ff;
    background: #eeeaff;
}

.dash-quick-grid strong,
.dash-quick-grid span {
    display: block;
}

.dash-quick-grid strong {
    font-size: .84rem;
    font-weight: 850;
}

.dash-quick-grid span {
    color: #657394;
    font-size: .72rem;
}

.balance-track span {
    background: linear-gradient(90deg, #714bff, #13b57d);
}

@media (max-width: 1199.98px) {
    .dashboard-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .dashboard-hero-actions {
        justify-content: flex-start;
    }

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

@media (max-width: 575.98px) {
    .admin-top-actions {
        width: 100%;
        flex-wrap: wrap;
    }

    .dashboard-notice {
        grid-template-columns: 38px minmax(0, 1fr);
    }

    .dashboard-notice a {
        grid-column: 2;
    }

    .dash-quick-grid {
        grid-template-columns: 1fr;
    }
}

/* Final compact admin sizing */
@media (min-width: 992px) {
    .sidebar {
        width: 210px;
    }

    .admin-main {
        margin-left: 210px;
    }

    .sidebar.admin-sidebar {
        padding: .85rem !important;
    }

    .admin-brand {
        min-height: 42px;
        margin-bottom: 1rem !important;
    }

    .admin-brand-mark {
        width: 36px;
        height: 36px;
        border-radius: .65rem;
        font-size: .82rem;
    }

    .admin-brand strong {
        font-size: 1rem;
    }

    .admin-brand .small {
        font-size: .72rem;
    }

    .admin-nav-label {
        margin: .55rem .55rem .15rem;
        font-size: .66rem;
    }

    .sidebar a {
        min-height: 38px;
        padding: .55rem .65rem;
        gap: .55rem;
        border-radius: .5rem;
        font-size: .82rem;
    }

    .sidebar a i {
        width: 17px;
        font-size: .92rem;
    }

    .admin-help {
        left: .75rem;
        right: .75rem;
        bottom: .8rem;
        grid-template-columns: 30px minmax(0, 1fr);
        padding: .55rem;
    }

    .admin-help i {
        width: 30px;
        height: 30px;
        font-size: .9rem;
    }

    .admin-help strong {
        font-size: .78rem;
    }

    .admin-help span {
        font-size: .68rem;
    }
}

.admin-topbar {
    min-height: 58px;
    padding-top: .55rem !important;
    padding-bottom: .55rem !important;
}

.admin-content {
    padding: 1rem 1.15rem 1.25rem !important;
}

.admin-menu-button,
.admin-top-icon {
    width: 36px;
    height: 36px;
    border-radius: .6rem;
}

.admin-top-title {
    gap: .8rem;
}

.admin-top-title strong {
    font-size: .96rem;
}

.admin-date,
.admin-user {
    min-height: 38px;
    padding: .38rem .62rem;
    gap: .5rem;
}

.admin-date strong,
.admin-user strong {
    font-size: .82rem;
}

.admin-date small,
.admin-user small {
    font-size: .68rem;
}

.admin-user span {
    width: 30px;
    height: 30px;
    font-size: .78rem;
}

.admin-dashboard-grid {
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: .75rem;
}

.dashboard-hero {
    min-height: 98px;
    padding: 1rem 1.1rem;
    margin-bottom: .75rem;
    border-radius: .75rem;
}

.dashboard-hero h1 {
    font-size: 1.18rem;
    margin-bottom: .25rem;
}

.dashboard-hero p {
    font-size: .82rem;
    line-height: 1.35;
}

.dashboard-hero-actions {
    gap: .5rem;
}

.dashboard-hero-actions a {
    min-width: 92px;
    min-height: 38px;
    padding: .45rem .62rem;
    border-radius: .55rem;
    font-size: .78rem;
}

.dashboard-main > .row.g-3,
.dashboard-main > .row.g-3 > * {
    --bs-gutter-x: .75rem;
    --bs-gutter-y: .75rem;
}

.dash-stat-card {
    min-height: 116px;
    padding: .75rem;
}

.dash-stat-head {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: .5rem;
    margin-bottom: .3rem;
}

.dash-icon {
    width: 34px;
    height: 34px;
    border-radius: .5rem;
    font-size: .92rem;
}

.dash-stat-card small {
    font-size: .7rem;
}

.dash-stat-card strong {
    font-size: 1.05rem;
}

.dash-stat-card em {
    font-size: .68rem;
}

.sparkline {
    height: 24px;
    margin-top: .3rem;
}

.dash-mini-row {
    padding: .65rem;
    margin-bottom: .75rem !important;
}

.dash-mini-row > div {
    grid-template-columns: 32px minmax(0, 1fr);
    column-gap: .5rem;
    padding: 0 .55rem;
}

.dash-mini-icon {
    width: 30px;
    height: 30px;
    border-radius: .48rem;
    font-size: .82rem;
}

.dash-mini-row small {
    font-size: .68rem;
}

.dash-mini-row strong {
    font-size: .88rem;
}

.dash-mini-row em {
    font-size: .68rem;
}

.dashboard-notice {
    min-height: 50px;
    margin-bottom: .75rem;
    padding: .62rem .75rem;
    grid-template-columns: 30px minmax(0, 1fr) auto;
    gap: .58rem;
    border-radius: .65rem;
}

.dashboard-notice > i {
    width: 30px;
    height: 30px;
    border-radius: .5rem;
    font-size: .9rem;
}

.dashboard-notice strong {
    font-size: .84rem;
}

.dashboard-notice span,
.dashboard-notice a {
    font-size: .72rem;
}

.dash-quick-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .55rem;
    margin-bottom: .75rem;
}

.dash-quick-grid a {
    min-height: 52px;
    padding: .58rem .65rem;
    grid-template-columns: 30px minmax(0, 1fr) 14px;
    column-gap: .5rem;
    border-radius: .65rem;
}

.dash-quick-grid i {
    width: 30px;
    height: 30px;
    border-radius: .52rem;
    font-size: .86rem;
}

.dash-quick-grid strong {
    font-size: .76rem;
}

.dash-quick-grid span {
    font-size: .64rem;
}

.dash-panel {
    padding: .78rem;
    border-radius: .75rem;
}

.dash-panel-title {
    margin-bottom: .55rem;
}

.dash-panel-title h2,
.dash-panel h2 {
    font-size: .92rem;
}

.dash-panel-title span,
.dash-panel-title a {
    padding: .3rem .48rem;
    font-size: .7rem;
}

#financeChart {
    height: 210px !important;
    max-height: 210px !important;
}

.donut-wrap {
    min-height: 205px;
}

#balanceChart {
    height: 205px !important;
    max-height: 205px !important;
}

.balance-panel {
    padding: .85rem;
}

.balance-panel h2 {
    margin-bottom: .65rem;
}

.balance-item {
    margin-bottom: .72rem;
    gap: .28rem .45rem;
}

.balance-item span,
.balance-item strong,
.balance-item em {
    font-size: .74rem;
}

.balance-track {
    height: 6px;
}

.balance-link {
    min-height: 32px;
    font-size: .74rem;
}

.admin-confirm-modal .modal-content {
    border: 0;
    border-radius: 1rem;
    box-shadow: 0 28px 80px rgba(9, 20, 48, .28);
    overflow: hidden;
}

.admin-confirm-modal .modal-body {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 1rem;
    padding: 1.25rem 1.25rem .7rem;
}

.admin-confirm-icon {
    width: 50px;
    height: 50px;
    border-radius: .9rem;
    display: grid;
    place-items: center;
    color: #dc2626;
    background: #fee2e2;
    font-size: 1.35rem;
}

.admin-confirm-modal h2 {
    margin: 0 0 .25rem;
    color: #101b3b;
    font-size: 1.05rem;
    font-weight: 900;
}

.admin-confirm-modal p {
    margin: 0;
    color: #657394;
    font-size: .9rem;
    line-height: 1.5;
}

.admin-confirm-modal .modal-footer {
    border: 0;
    gap: .55rem;
    padding: .7rem 1.25rem 1.25rem;
}

.admin-confirm-modal .btn {
    min-height: 40px;
    border-radius: .65rem;
    font-weight: 800;
}

/* Admin internal public-home preview */
.admin-home-preview {
    display: grid;
    gap: 1rem;
}

.admin-home-hero {
    min-height: 255px;
    border-radius: .9rem;
    display: flex;
    align-items: center;
    padding: 2rem;
    color: #fff;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(0, 83, 73, .96) 0%, rgba(0, 83, 73, .86) 43%, rgba(0, 83, 73, .18) 100%),
        url("uploads/produk/hero-toko-wide.png") right center / auto 100% no-repeat,
        #005d52;
    box-shadow: 0 16px 38px rgba(18, 35, 78, .12);
}

.admin-home-hero > div {
    max-width: 610px;
}

.admin-home-hero h2 {
    margin: 0 0 .6rem;
    font-size: 2.25rem;
    font-weight: 950;
    letter-spacing: 0;
}

.admin-home-hero p {
    max-width: 460px;
    margin: 0;
    font-size: 1rem;
    line-height: 1.55;
}

.admin-home-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin-top: 1.4rem;
}

.admin-home-benefits span {
    min-height: 38px;
    padding: .45rem .7rem;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: .65rem;
    display: inline-flex;
    gap: .45rem;
    align-items: center;
    background: rgba(255,255,255,.1);
    color: #fff;
    font-size: .8rem;
    font-weight: 800;
}

.admin-home-section,
.admin-home-contact {
    padding: 1rem;
    border: 1px solid #e4eaf5;
    border-radius: .9rem;
    background: #fff;
    box-shadow: 0 12px 32px rgba(18, 35, 78, .06);
}

.admin-preview-title {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    margin-bottom: .9rem;
}

.admin-preview-title span,
.admin-home-contact span {
    color: #6844ff;
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.admin-preview-title h2,
.admin-home-contact h2 {
    margin: .1rem 0 0;
    color: #101b3b;
    font-size: 1.1rem;
    font-weight: 900;
}

.admin-preview-product {
    height: 100%;
    border: 1px solid #edf2f7;
    border-radius: .85rem;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 26px rgba(18, 35, 78, .05);
}

.admin-preview-product img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
    background: #f7f4ee;
}

.admin-preview-product > div {
    padding: .85rem;
}

.admin-preview-product h3 {
    margin: 0 0 .25rem;
    color: #142f2b;
    font-size: .95rem;
    font-weight: 900;
}

.admin-preview-product strong {
    display: block;
    color: #087364;
    font-size: .86rem;
}

.admin-preview-product small {
    display: block;
    margin-top: .12rem;
    color: #7180a7;
    font-size: .72rem;
}

.admin-preview-product p {
    min-height: 38px;
    margin: .45rem 0 .75rem;
    color: #657394;
    font-size: .76rem;
    line-height: 1.45;
}

.admin-home-services {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .75rem;
}

.admin-home-services > div {
    min-height: 74px;
    padding: .85rem;
    border: 1px solid #e4eaf5;
    border-radius: .85rem;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    column-gap: .65rem;
    align-items: center;
    background: #fff;
    box-shadow: 0 10px 26px rgba(18, 35, 78, .045);
}

.admin-home-services i {
    grid-row: span 2;
    width: 34px;
    height: 34px;
    border-radius: .65rem;
    display: grid;
    place-items: center;
    color: #087364;
    background: #e5f8ef;
}

.admin-home-services strong,
.admin-home-services span {
    display: block;
}

.admin-home-services strong {
    color: #101b3b;
    font-size: .8rem;
    font-weight: 900;
}

.admin-home-services span {
    color: #657394;
    font-size: .68rem;
    line-height: 1.35;
}

.admin-home-contact {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 1rem;
    align-items: stretch;
}

.admin-home-contact p {
    color: #657394;
    font-size: .84rem;
    line-height: 1.65;
}

.admin-home-map {
    min-height: 250px;
    border-radius: .75rem;
    overflow: hidden;
    background: #eef3f1;
}

.admin-home-map iframe {
    width: 100%;
    height: 100%;
    min-height: 250px;
    border: 0;
    display: block;
}

@media (max-width: 1199.98px) {
    .admin-home-services {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-home-contact {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .admin-home-hero {
        min-height: 320px;
        padding: 1.25rem;
        align-items: flex-start;
        background:
            linear-gradient(180deg, rgba(0, 83, 73, .96), rgba(0, 83, 73, .72)),
            url("uploads/produk/hero-toko-wide.png") center bottom / auto 58% no-repeat,
            #005d52;
    }

    .admin-home-hero h2 {
        font-size: 1.65rem;
    }

    .admin-home-services {
        grid-template-columns: 1fr;
    }
}

/* Dashboard data-accurate widgets */
.dash-stat-card em.neutral {
    color: #667085;
}

.sparkline-chart {
    width: 100% !important;
    height: 38px !important;
    display: block;
    margin-top: .45rem;
}

.balance-total {
    margin-top: .8rem;
    padding: .75rem .8rem;
    border: 1px solid #e2e8f0;
    border-radius: .75rem;
    background: linear-gradient(135deg, #f8fafc, #eef8f5);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}

.balance-total span {
    color: #475569;
    font-size: .8rem;
    font-weight: 800;
}

.balance-total strong {
    color: #0f2f2b;
    font-size: .95rem;
    font-weight: 950;
    white-space: nowrap;
}

/* Final minimal admin scale */
:root {
    --admin-compact-radius: .7rem;
}

@media (min-width: 992px) {
    .sidebar {
        width: 190px !important;
    }

    .admin-main {
        margin-left: 190px !important;
    }
}

.admin-body {
    font-size: .88rem;
}

.sidebar.admin-sidebar {
    padding: .65rem !important;
}

.admin-brand {
    margin-bottom: .65rem !important;
}

.admin-brand-mark {
    width: 32px !important;
    height: 32px !important;
    border-radius: .55rem !important;
    font-size: .72rem !important;
}

.admin-brand strong {
    font-size: .86rem !important;
    line-height: 1.15;
}

.admin-brand .small {
    font-size: .66rem !important;
}

.admin-nav-label {
    margin: .45rem .45rem .1rem !important;
    font-size: .62rem !important;
}

.sidebar a {
    min-height: 34px !important;
    padding: .45rem .55rem !important;
    border-radius: .48rem !important;
    gap: .5rem !important;
    font-size: .78rem !important;
}

.sidebar a i {
    width: 16px !important;
    font-size: .86rem !important;
}

.admin-topbar {
    min-height: 52px !important;
    padding: .45rem .9rem !important;
}

.admin-menu-button,
.admin-top-icon {
    width: 32px !important;
    height: 32px !important;
    border-radius: .52rem !important;
}

.admin-top-title {
    gap: .6rem !important;
}

.admin-top-title strong {
    font-size: .88rem !important;
}

.admin-date,
.admin-user {
    min-height: 34px !important;
    padding: .32rem .52rem !important;
    gap: .45rem !important;
    border-radius: .58rem !important;
}

.admin-date i {
    font-size: .9rem !important;
}

.admin-date strong,
.admin-user strong {
    font-size: .76rem !important;
}

.admin-date small,
.admin-user small {
    font-size: .62rem !important;
}

.admin-user span {
    width: 27px !important;
    height: 27px !important;
    font-size: .68rem !important;
}

.admin-content {
    padding: .8rem .95rem 1rem !important;
}

.admin-page-heading {
    margin: .35rem 0 .8rem !important;
    gap: .75rem !important;
}

.admin-page-kicker {
    font-size: .66rem !important;
    letter-spacing: .04em !important;
}

.admin-page-heading h1 {
    font-size: 1.35rem !important;
    line-height: 1.15 !important;
}

.admin-page-heading p {
    max-width: 520px !important;
    font-size: .78rem !important;
    line-height: 1.45 !important;
}

.content-card,
.dash-panel,
.dash-stat-card,
.admin-summary-card,
.admin-form-card,
.admin-list-card,
.admin-filter-card {
    border-radius: var(--admin-compact-radius) !important;
    box-shadow: 0 8px 24px rgba(18, 35, 78, .045) !important;
}

.content-card,
.admin-form-card,
.admin-list-card,
.admin-filter-card {
    padding: .85rem !important;
}

.admin-summary-grid {
    gap: .65rem !important;
    margin-bottom: .75rem !important;
}

.admin-summary-card {
    min-height: 64px !important;
    padding: .75rem .85rem !important;
    gap: .65rem !important;
}

.admin-summary-card > span,
.admin-card-title > span {
    width: 32px !important;
    height: 32px !important;
    border-radius: .58rem !important;
    font-size: .88rem !important;
}

.admin-summary-card small,
.admin-card-title p {
    font-size: .68rem !important;
}

.admin-summary-card strong {
    font-size: .98rem !important;
}

.admin-card-title {
    gap: .6rem !important;
    margin-bottom: .75rem !important;
}

.admin-card-title h2 {
    font-size: 1rem !important;
}

.admin-list-head {
    margin-bottom: .75rem !important;
}

.admin-crud-grid {
    --bs-gutter-x: .75rem !important;
    --bs-gutter-y: .75rem !important;
}

.admin-form .mb-3 {
    margin-bottom: .7rem !important;
}

.admin-form .form-label {
    margin-bottom: .28rem !important;
    font-size: .72rem !important;
}

.admin-form .form-control,
.admin-form .form-select,
.admin-search .form-control {
    min-height: 36px !important;
    border-radius: .55rem !important;
    padding: .45rem .65rem !important;
    font-size: .82rem !important;
}

.admin-form textarea.form-control {
    min-height: 78px !important;
}

.btn,
.btn-brand {
    border-radius: .55rem !important;
    font-size: .8rem !important;
    padding: .42rem .72rem !important;
}

.admin-table {
    font-size: .82rem !important;
}

.admin-table thead th {
    padding: .55rem .7rem !important;
    font-size: .7rem !important;
}

.admin-table tbody td {
    padding: .48rem .7rem !important;
}

.admin-table tbody tr {
    border-radius: .55rem !important;
}

.admin-actions .btn {
    width: 30px !important;
    height: 30px !important;
    padding: 0 !important;
    display: inline-grid !important;
    place-items: center !important;
}

.admin-soft-badge,
.dash-badge,
.dash-cat {
    font-size: .68rem !important;
    padding: .22rem .48rem !important;
}

.admin-table-pager {
    margin-top: .55rem !important;
    padding-top: .55rem !important;
    font-size: .76rem !important;
}

.admin-table-pages button {
    min-width: 28px !important;
    height: 28px !important;
    border-radius: .48rem !important;
    font-size: .72rem !important;
}

.dashboard-hero {
    min-height: 86px !important;
    padding: 1rem 1.1rem !important;
    border-radius: .75rem !important;
}

.dashboard-hero h1 {
    font-size: 1.15rem !important;
}

.dashboard-hero p {
    font-size: .78rem !important;
}

.dashboard-hero-actions a {
    min-height: 34px !important;
    padding: .42rem .7rem !important;
    border-radius: .55rem !important;
    font-size: .76rem !important;
}

.dash-stat-card {
    min-height: 126px !important;
    padding: .78rem !important;
}

.dash-stat-head {
    gap: .55rem !important;
}

.dash-icon,
.dash-mini-icon {
    width: 32px !important;
    height: 32px !important;
    border-radius: .58rem !important;
}

.dash-stat-card small,
.dash-mini-row small {
    font-size: .68rem !important;
}

.dash-stat-card strong {
    font-size: 1.1rem !important;
}

.dash-stat-card em,
.dash-mini-row em {
    font-size: .68rem !important;
}

.dash-mini-row {
    min-height: 56px !important;
    padding: .65rem .8rem !important;
    gap: .65rem !important;
}

.dash-mini-row > div {
    gap: .55rem !important;
}

.dashboard-notice {
    min-height: 48px !important;
    padding: .65rem .8rem !important;
    border-radius: .65rem !important;
    font-size: .78rem !important;
}

.dash-quick-grid {
    gap: .65rem !important;
}

.dash-quick-grid a {
    min-height: 58px !important;
    padding: .65rem .75rem !important;
    border-radius: .65rem !important;
}

.dash-quick-grid strong {
    font-size: .78rem !important;
}

.dash-quick-grid span {
    font-size: .65rem !important;
}

.dash-panel {
    padding: .85rem !important;
}

.dash-panel-title {
    margin-bottom: .7rem !important;
}

.dash-panel-title h2,
.dash-panel h2 {
    font-size: .95rem !important;
}

.balance-item {
    margin-top: .7rem !important;
}

.balance-item div:first-child {
    font-size: .75rem !important;
}

.balance-track {
    height: 6px !important;
}

.balance-total {
    padding: .58rem .65rem !important;
    border-radius: .6rem !important;
}

.balance-total span {
    font-size: .72rem !important;
}

.balance-total strong {
    font-size: .84rem !important;
}


/* MASJID V2 additions */
.role-badge{display:inline-flex;align-items:center;gap:.35rem;padding:.28rem .62rem;border-radius:999px;font-weight:700;font-size:.78rem;background:#eef6f3;color:#126b5b}
.role-super_admin{background:#efe9ff;color:#6842a8}.role-admin{background:#e8f2ff;color:#245f9b}.role-petugas{background:#fff3d8;color:#8b6200}.role-warga{background:#e9f8ef;color:#267544}
.status-dot{display:inline-flex;align-items:center;gap:.4rem}.status-dot:before{content:"";width:.55rem;height:.55rem;border-radius:50%;background:#36a269}.status-dot.nonaktif:before{background:#b9b9b9}
.permission-note{font-size:.82rem;color:#6b7b78;margin-top:.4rem}.public-hero-masjid{padding:5rem 0 3.5rem;background:linear-gradient(135deg,#eff9f5,#fff8e8)}
.public-kpi{background:#fff;border:1px solid #e4ece8;border-radius:20px;padding:1.2rem;box-shadow:0 10px 30px rgba(20,60,50,.06)}
.warga-card{background:linear-gradient(135deg,#0d7c68,#135447);color:#fff;border-radius:22px;padding:1.5rem}
@media(max-width:767px){.public-hero-masjid{padding-top:3rem}}

/* Masjid Darussalam Build 02 role/public refinements */
.role-bendahara{background:#e8f2ff;color:#245f9b}.role-sekretaris{background:#fff3d8;color:#8b6200}.public-brand span{max-width:560px;line-height:1.15}@media(max-width:900px){.public-brand span{max-width:300px;font-size:.9rem}}

/* Build 03.1 - responsive scrollable admin sidebar */
.sidebar.admin-sidebar {
    height: 100dvh;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden !important;
    overscroll-behavior: contain;
}

.sidebar.admin-sidebar .admin-brand {
    flex: 0 0 auto;
}

.sidebar.admin-sidebar .admin-nav {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: .25rem;
    padding-bottom: 1rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.35) transparent;
    overscroll-behavior-y: contain;
}

.sidebar.admin-sidebar .admin-nav::-webkit-scrollbar {
    width: 6px;
}

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

.sidebar.admin-sidebar .admin-nav::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,.28);
    border-radius: 999px;
}

.sidebar.admin-sidebar .admin-nav::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,.45);
}

@media (max-width: 991.98px) {
    .sidebar.admin-sidebar {
        position: relative;
        inset: auto;
        width: 100%;
        height: auto;
        max-height: 72dvh;
        min-height: 0;
        overflow: hidden !important;
    }

    .sidebar.admin-sidebar .admin-nav {
        max-height: calc(72dvh - 74px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        grid-template-columns: 1fr;
    }
}

/* Build 03.2 - collapsible / accordion admin navigation */
.admin-accordion-nav {
    gap: .3rem !important;
}

.admin-nav-group {
    width: 100%;
}

.admin-nav-parent {
    width: 100%;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    padding: .48rem .58rem;
    border: 0;
    border-radius: .5rem;
    background: transparent;
    color: rgba(255,255,255,.82);
    font: inherit;
    font-size: .78rem;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
    transition: background-color .18s ease, color .18s ease;
}

.admin-nav-parent:hover,
.admin-nav-parent:focus-visible,
.admin-nav-parent.active-parent,
.admin-nav-group.open > .admin-nav-parent {
    background: rgba(255,255,255,.10);
    color: #fff;
    outline: none;
}

.admin-nav-parent-main {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.admin-nav-parent-main > i {
    flex: 0 0 16px;
    width: 16px;
    text-align: center;
    font-size: .9rem;
}

.admin-nav-parent-main > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-nav-chevron {
    flex: 0 0 auto;
    font-size: .68rem;
    opacity: .7;
    transition: transform .18s ease;
}

.admin-nav-group.open .admin-nav-chevron {
    transform: rotate(180deg);
}

.admin-submenu {
    margin-top: .2rem;
    margin-left: .45rem;
    padding: .15rem 0 .2rem .45rem;
    border-left: 1px solid rgba(255,255,255,.16);
}

.admin-submenu[hidden] {
    display: none !important;
}

.sidebar .admin-submenu-link {
    min-height: 31px !important;
    margin: .08rem 0;
    padding: .38rem .5rem !important;
    border-radius: .42rem !important;
    font-size: .73rem !important;
    font-weight: 650;
    color: rgba(255,255,255,.72);
}

.sidebar .admin-submenu-link i {
    width: 15px !important;
    font-size: .78rem !important;
    opacity: .88;
}

.sidebar .admin-submenu-link:hover,
.sidebar .admin-submenu-link.active {
    background: rgba(255,255,255,.12);
    color: #fff;
}

.sidebar .admin-nav-direct {
    width: 100%;
}

/* v2.5 UI fix: Logout tetap POST+CSRF tetapi tampil konsisten dengan menu sidebar. */
.admin-logout-form {
    width: 100%;
    margin: 0;
    padding: 0;
}

.sidebar .admin-logout-button {
    width: 100%;
    min-height: 34px;
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .45rem .55rem;
    border: 1px solid transparent;
    border-radius: .48rem;
    background: transparent;
    color: rgba(236, 242, 255, .92);
    font: inherit;
    font-size: .78rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.sidebar .admin-logout-button i {
    width: 16px;
    flex: 0 0 16px;
    text-align: center;
    font-size: .86rem;
    color: rgba(255,255,255,.92);
}

.sidebar .admin-logout-button:hover,
.sidebar .admin-logout-button:focus-visible {
    background: linear-gradient(135deg, #1688ff, #5a37ff);
    border-color: rgba(255,255,255,.16);
    color: #fff;
    box-shadow: 0 14px 26px rgba(55, 82, 255, .33);
    outline: none;
}

.admin-nav-bottom {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    margin-top: .35rem;
    padding-top: .35rem;
    border-top: 1px solid rgba(255,255,255,.10);
}

@media (max-width: 991.98px) {
    .admin-nav-parent {
        min-height: 42px;
        padding: .6rem .7rem;
        font-size: .84rem;
    }

    .sidebar .admin-submenu-link {
        min-height: 38px !important;
        font-size: .8rem !important;
    }
}

/* =========================================================
   Build 03.3 - Responsive Frontend, Public Finance & Footer
   ========================================================= */
.public-body{background:#f7f9fc;color:#15233b;overflow-x:hidden}
.public-nav{background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border-bottom:1px solid rgba(15,42,82,.08);box-shadow:0 4px 20px rgba(15,42,82,.05);z-index:1030}
.public-brand{min-width:0;max-width:65%;font-weight:800;color:#12346b!important}
.public-brand-logo{width:44px;height:44px;object-fit:contain;flex:0 0 auto}
.public-brand-text{line-height:1.15;white-space:normal;font-size:.98rem}
.public-nav-toggler{border:1px solid #d8e0eb;padding:.35rem .5rem}
.public-menu .nav-link{font-weight:650;color:#30445f;padding:.55rem .75rem!important;border-radius:10px}
.public-menu .nav-link:hover{background:#eef7f1;color:#13703e}
.public-hero-masjid{padding:4.5rem 0 3.5rem;background:linear-gradient(135deg,#f8fbff 0%,#eff8f2 100%)}
.public-hero-masjid h1{color:#102d57;line-height:1.08}
.public-hero-logo{max-height:95px;max-width:180px;object-fit:contain}
.public-hero-photo{width:100%;max-height:360px;object-fit:cover}
.public-section{scroll-margin-top:86px}
.public-kpi,.public-finance-kpi{background:#fff;border:1px solid #e5eaf1;border-radius:18px;padding:1.25rem;box-shadow:0 8px 28px rgba(20,48,88,.06)}
.public-kpi .display-6{font-size:2rem;color:#102d57}
.public-table th{white-space:nowrap}
.public-finance-section{background:linear-gradient(180deg,#f0f7f3 0%,#f7f9fc 100%);scroll-margin-top:80px}
.public-finance-kpi{height:100%;display:flex;flex-direction:column;gap:.35rem}
.public-finance-kpi span{font-size:.82rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#68758a}
.public-finance-kpi strong{font-size:1.35rem;color:#102d57;line-height:1.2;word-break:break-word}
.public-finance-kpi.income{border-top:4px solid #198754}.public-finance-kpi.expense{border-top:4px solid #dc3545}.public-finance-kpi.balance{border-top:4px solid #0d6efd}
.public-finance-period{display:inline-flex;align-items:center;gap:.5rem;padding:.55rem .8rem;border-radius:10px;background:#fff;border:1px solid #e5eaf1;color:#4c5b70}
.public-month-filter .form-control{min-width:175px}
.public-category-list>div{display:flex;justify-content:space-between;gap:1rem;padding:.75rem 0;border-bottom:1px dashed #e1e6ed}
.public-category-list>div:last-child{border-bottom:0}
.public-category-list strong{text-align:right;color:#102d57}
.public-finance-table thead th{background:#102d57;color:#fff;border:0;padding:.85rem 1rem;font-size:.85rem}
.public-finance-table tbody td{padding:.85rem 1rem;vertical-align:middle;border-color:#edf0f4}
.public-footer{background:#09254b;color:#fff;margin-top:0}
.public-footer h2{font-size:1.05rem;margin:0 0 .45rem;font-weight:800;line-height:1.25}.public-footer p{color:#c6d2e2}
.public-footer-brand{display:flex;gap:1rem;align-items:flex-start}.public-footer-brand img{width:64px;height:64px;object-fit:contain;background:#fff;border-radius:14px;padding:.35rem;flex:0 0 auto}
.public-footer-heading{font-size:1rem;font-weight:800;margin-bottom:1rem;display:flex;align-items:center;gap:.5rem}
.public-footer-heading i{color:#7dd3a6}.public-footer-note{font-size:.9rem}
.donation-account-list{display:grid;gap:.75rem}.donation-account-item{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);border-radius:14px;padding:.85rem 1rem}.donation-account-item small{display:block;color:#aebfd4;margin-top:.15rem}.donation-account-number{font-size:1.05rem;font-weight:800;letter-spacing:.03em;margin-top:.45rem;overflow-wrap:anywhere}
.public-map-wrap{position:relative;width:100%;aspect-ratio:16/10;border-radius:16px;overflow:hidden;border:1px solid rgba(255,255,255,.15);background:#dfe7ef}.public-map-wrap iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.public-map-link{display:inline-flex;gap:.4rem;align-items:center;color:#bce8cf;text-decoration:none;margin-top:.75rem;font-weight:650}.public-map-link:hover{color:#fff}
.public-footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding:1rem 0;color:#aebfd4;font-size:.85rem}

@media (max-width:991.98px){
 .public-brand{max-width:78%}.public-menu{padding:1rem 0 .35rem}.public-menu .nav-link{padding:.7rem .2rem!important;border-bottom:1px solid #eef1f5;border-radius:0}.public-menu .btn{margin-top:.7rem;width:100%}
 .public-hero-masjid{padding:3rem 0 2.5rem}.public-hero-masjid h1{font-size:2.35rem}.public-section-heading{align-items:flex-start!important;flex-direction:column}.public-finance-head{align-items:stretch!important}.public-month-filter{width:100%}.public-month-filter .form-control{min-width:0;flex:1}
}
@media (max-width:767.98px){
 .public-brand-text{font-size:.85rem}.public-brand-logo{width:38px;height:38px}.public-hero-masjid{padding:2.3rem 0}.public-hero-masjid h1{font-size:1.9rem}.public-hero-masjid .lead{font-size:1rem}.public-hero-masjid .btn-lg{font-size:.95rem;padding:.7rem 1rem}.public-kpi{padding:1rem .65rem}.public-kpi .display-6{font-size:1.55rem}.public-finance-kpi{padding:1rem}.public-finance-kpi strong{font-size:1.05rem}
 .public-finance-table thead{display:none}.public-finance-table,.public-finance-table tbody,.public-finance-table tr,.public-finance-table td{display:block;width:100%}.public-finance-table tbody tr{padding:.65rem 1rem;border-bottom:1px solid #e8edf3}.public-finance-table tbody td{border:0;padding:.28rem 0;display:flex;justify-content:space-between;gap:1rem;text-align:right!important}.public-finance-table tbody td::before{content:attr(data-label);font-weight:700;color:#68758a;text-align:left}.public-finance-table tbody tr:last-child{border-bottom:0}
 .public-footer .container{padding-top:2.5rem!important;padding-bottom:2.5rem!important}.public-footer-brand img{width:54px;height:54px}.public-map-wrap{aspect-ratio:4/3}
}
@media (max-width:420px){.public-brand{max-width:72%}.public-brand-text{font-size:.78rem}.public-hero-masjid h1{font-size:1.65rem}.public-finance-kpi strong{font-size:.95rem}.public-month-filter{flex-direction:column}.public-month-filter .btn{width:100%}}

/* =========================================================
   Build 03.4 - Centered public frontend + refreshed login
   ========================================================= */
.auth-shell{width:100%;min-height:100vh;display:grid;place-items:center;padding:1.5rem}
.auth-card{width:min(480px,94vw);background:#fff;border:1px solid rgba(20,50,70,.08);border-radius:24px;padding:2rem;box-shadow:0 22px 55px rgba(12,47,61,.18)}
.auth-mosque-brand{text-align:center;margin-bottom:1.5rem}
.auth-mosque-logo{width:92px;height:92px;object-fit:contain;margin:0 auto 1rem;display:block;background:#fff;border:1px solid #e4e9ef;border-radius:18px;padding:.45rem}
.auth-logo{width:72px;height:72px;margin:0 auto 1rem;border-radius:18px;display:grid;place-items:center;background:linear-gradient(135deg,#2864ff,#6a52f8);color:#fff;font-weight:900;font-size:1.15rem;box-shadow:0 12px 28px rgba(42,91,230,.25)}
.auth-mosque-brand h1{font-size:1.45rem;line-height:1.25;color:#102d57;margin:0 auto .45rem;max-width:390px}
.auth-mosque-brand p{color:#748197;margin:0 auto .65rem;max-width:390px;font-size:.9rem}
.auth-role-title{display:inline-flex;align-items:center;justify-content:center;padding:.35rem .7rem;border-radius:999px;background:#eef7f2;color:#126742;font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.auth-card .form-label{font-weight:700;color:#31445e}.auth-card .input-group-text{background:#f5f8fb;border-color:#dbe3ec;color:#536781}.auth-card .form-control{border-color:#dbe3ec;min-height:46px}.auth-card a{color:#12695f;text-decoration:none;font-weight:650}.auth-card a:hover{text-decoration:underline}

/* Frontend publik dibuat rata tengah tanpa mengurangi keterbacaan tabel. */
.public-hero-masjid .row{justify-content:center;text-align:center}
.public-hero-masjid .col-lg-7,.public-hero-masjid .col-lg-5{margin-left:auto;margin-right:auto}
.public-hero-masjid .d-flex{justify-content:center}
.public-hero-masjid .public-hero-photo{margin-left:auto;margin-right:auto;display:block}
.public-section-heading,#pengumuman>.mb-3,#kegiatan>.mb-3,.public-finance-head{text-align:center!important;justify-content:center!important;align-items:center!important}
.public-section-heading>div,.public-finance-head>div{margin-left:auto;margin-right:auto}
.public-finance-head .public-month-filter{margin-left:auto;margin-right:auto}
.public-finance-period{display:flex;width:max-content;max-width:100%;margin-left:auto;margin-right:auto}
#pengumuman .content-card,#kegiatan .content-card{text-align:center}
#pengumuman .row,#kegiatan .row{justify-content:center}
.public-kpi,.public-finance-kpi{text-align:center;align-items:center}
.public-footer{text-align:center}
.public-footer .row{justify-content:center}
.public-footer-brand{justify-content:center;align-items:center;flex-direction:column}
.public-footer-heading{justify-content:center}
.donation-account-item{text-align:center}
.public-map-link{justify-content:center}
.public-footer-bottom .container{justify-content:center!important;text-align:center}

.backup-icon{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;font-size:1.25rem;flex:0 0 auto}.backup-icon-safe{background:#eaf8f1;color:#137349}.backup-icon-danger{background:#fff0f1;color:#c62836}

@media(max-width:767.98px){.auth-card{padding:1.4rem;border-radius:18px}.auth-mosque-logo{width:76px;height:76px}.auth-mosque-brand h1{font-size:1.2rem}.public-section-heading,.public-finance-head{align-items:center!important}.public-footer-brand{align-items:center}.public-category-list>div{flex-direction:column;gap:.2rem;text-align:center}.public-category-list strong{text-align:center}}

/* =========================================================
   Build 04 - Online Donation
   ========================================================= */
.public-donate-nav{color:#b06d00!important;background:#fff6df}.public-donate-nav:hover{background:#ffe8aa!important;color:#7b4c00!important}
.public-footer-donate-cta{text-align:center}.public-footer-donate-cta .btn{min-width:260px}
.donation-hero{background:linear-gradient(135deg,#eef9f3 0%,#f8fbff 60%,#fff7e3 100%);border-bottom:1px solid #e4eaf0}.donation-hero-inner{max-width:850px;margin:auto;text-align:center}.donation-hero h1{font-weight:850;color:#102d57;line-height:1.1;font-size:clamp(2rem,4vw,3.25rem)}.donation-hero p{max-width:760px;margin:1rem auto 0;color:#5d6c82;font-size:1.05rem}
.donation-page{margin-top:-10px}.donation-program-options,.donation-payment-options{display:grid;gap:.75rem}.donation-program-option,.donation-payment-option{display:block;cursor:pointer;position:relative}.donation-program-option>input,.donation-payment-option>input{position:absolute;opacity:0;pointer-events:none}.donation-program-option>span{display:flex;flex-direction:column;gap:.2rem;padding:1rem 1.1rem;border:1px solid #dfe5ec;border-radius:15px;background:#fff;transition:.18s ease}.donation-program-option>span small{color:#6c788b}.donation-program-option>input:checked+span{border-color:#198754;box-shadow:0 0 0 3px rgba(25,135,84,.10);background:#f3fbf6}.donation-program-option>input:focus-visible+span{outline:3px solid rgba(13,110,253,.2)}
.donation-progress{height:7px;background:#e8edf2;border-radius:999px;overflow:hidden;margin-top:.5rem}.donation-progress>span{height:100%;display:block;background:#198754;border-radius:999px}.donation-program-option em{font-style:normal;font-size:.76rem;color:#718096}
.donation-quick-amounts{display:flex;gap:.5rem;flex-wrap:wrap}.donation-quick-amounts .btn{border-radius:999px;font-weight:700}
.donation-payment-options{grid-template-columns:repeat(2,minmax(0,1fr))}.donation-payment-option{display:flex;align-items:center;gap:.9rem;padding:1rem;border:1px solid #dfe5ec;border-radius:15px;background:#fff;transition:.18s ease}.donation-payment-option:hover{border-color:#b8c6d8}.donation-payment-option:has(input:checked){border-color:#198754;background:#f3fbf6;box-shadow:0 0 0 3px rgba(25,135,84,.10)}.donation-payment-option.gateway:has(input:checked){border-color:#0d6efd;background:#f3f7ff;box-shadow:0 0 0 3px rgba(13,110,253,.09)}.donation-payment-icon{width:46px;height:46px;border-radius:13px;display:grid;place-items:center;background:#edf8f2;color:#157347;font-size:1.25rem;flex:0 0 auto}.donation-payment-option.gateway .donation-payment-icon{background:#edf4ff;color:#0d6efd}.donation-payment-option>span:last-child{display:flex;flex-direction:column;min-width:0}.donation-payment-option small{color:#738096}
.donation-steps{list-style:none;padding:0;margin:1rem 0 0;display:grid;gap:1rem}.donation-steps li{display:flex;gap:.85rem;align-items:flex-start}.donation-steps li>span{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#198754;color:#fff;font-weight:800;flex:0 0 auto}.donation-steps div{display:flex;flex-direction:column}.donation-steps small{color:#748197}
.donation-status-search{max-width:760px}.donation-status-card{max-width:920px}.donation-status-summary>div{background:#f7f9fc;border:1px solid #e8edf3;border-radius:12px;padding:.9rem 1rem}.donation-status-summary span{display:block;font-size:.76rem;text-transform:uppercase;letter-spacing:.04em;color:#768398;font-weight:700;margin-bottom:.2rem}.donation-payment-instruction{padding:1.25rem;border:1px solid #dfe8e3;border-radius:16px;background:#f7fcf9}.donation-qris-image{width:min(320px,100%);aspect-ratio:1/1;object-fit:contain;display:block;margin:1rem auto;background:#fff;border:1px solid #dfe5ec;border-radius:16px;padding:.75rem}.donation-bank-box{display:flex;flex-direction:column;gap:.3rem;background:#fff;border:1px solid #dce5ee;border-radius:14px;padding:1.1rem;text-align:center}.donation-bank-box span{font-size:.82rem;color:#718096;font-weight:700}.donation-bank-box strong{font-size:1.45rem;color:#102d57;letter-spacing:.03em;overflow-wrap:anywhere}.donation-bank-box small{color:#536781}
.code-box{background:#0f223d;color:#d7e9ff;border-radius:10px;padding:.8rem 1rem;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.donation-admin-detail small{color:#738096}.donation-admin-detail .display-6{font-size:2rem}

@media(max-width:767.98px){.donation-payment-options{grid-template-columns:1fr}.donation-program-option>span{padding:.9rem}.donation-payment-option{padding:.85rem}.donation-status-card{padding:1.2rem!important}.donation-bank-box strong{font-size:1.15rem}.donation-quick-amounts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.donation-quick-amounts .btn:last-child{grid-column:1/-1}}
