@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fraunces:wght@600;700&family=Space+Grotesk:wght@400;500;600&display=swap');

/* =======================================================
   PANTAUHUTAN THEME - STYLE.CSS
   Versi: 1.0
   Dibuat untuk Laravel + SB Admin 2
   ======================================================= */

/* ==============================
   VARIABEL WARNA UTAMA
============================== */
:root {
    --primary-color: #2f4f3a; /* Hijau utama */
    --primary-gradient-start: #35533c;
    --primary-gradient-end: #223829;
    --secondary-color: #5f7f58; /* Hijau muda pelengkap */
    --accent-color: #a9c39a; /* Warna daun muda */
    --light-bg: #f8f9fc;
    --text-light: #ffffff;
    --text-muted: #d1d1d1;
    --hover-bg: rgba(255, 255, 255, 0.08);
    --page-bg: #f2f5f0;
}

/* ==============================
   PAGE BACKGROUND
============================== */
html,
body {
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

body {
    background: linear-gradient(180deg, #f6f8f3 0%, #edf2ed 100%);
}

#wrapper #content-wrapper {
    background: linear-gradient(180deg, #f6f8f3 0%, #edf2ed 100%) !important;
}

#content,
#content-wrapper {
    background-color: transparent;
}

/* ==============================
   SB ADMIN (BOOTSTRAP 5) OVERRIDES
============================== */
/* Avoid sidebar transition flash on first load */
body.sidenav-preload #layoutSidenav #layoutSidenav_nav,
body.sidenav-preload #layoutSidenav #layoutSidenav_content,
body.sidenav-preload .sb-topnav,
body.sidenav-preload #layoutSidenav #layoutSidenav_content::before {
    transition: none !important;
}
.sb-topnav {
    background: transparent;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    position: relative;
    min-height: 72px;
}

.sb-topnav::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        var(--primary-gradient-start),
        var(--primary-gradient-end)
    );
    z-index: -1;
}

.sb-topnav .navbar-brand {
    color: var(--text-light);
    font-weight: 700;
    letter-spacing: 0.4px;
    font-size: 1.15rem;
}

/* Sidebar brand (logo) */
.sb-sidenav-brand {
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.22);
}

.sb-sidenav-brand img {
    height: 60px;
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

.sb-topnav #sidebarToggle {
    margin-left: 0.75rem;
    margin-right: 1.5rem;
    transform: scale(1.05);
    position: relative;
    z-index: 2;
}

.sb-topnav .nav-link {
    color: #e9f1ea;
}

.sb-topnav .nav-link:hover {
    color: #ffffff;
}

.breadcrumb {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.breadcrumb a {
    color: #5b6b5e;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #2f4f3a;
    text-decoration: underline;
}

.home-logo {
    width: min(360px, 70%);
    height: auto;
    display: block;
}

.home-card__body {
    padding: 1.5rem 1.25rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.home-dashboard {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 1.75rem;
}

.home-surface {
    background: #ffffff;
    border-radius: 22px;
    padding: 1.75rem;
    border: 1px solid rgba(47, 79, 58, 0.08);
    box-shadow: 0 12px 28px rgba(26, 52, 37, 0.08);
}

.home-hero {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.25rem 1.5rem;
    border-radius: 18px;
    background: linear-gradient(120deg, rgba(47, 79, 58, 0.12), rgba(233, 240, 231, 0.9));
    border: 1px solid rgba(47, 79, 58, 0.08);
}

.home-hero--compact {
    min-height: 140px;
}

.home-hero__content {
    flex: 1 1 60%;
}

.home-hero__content .pengumuman_1 {
    margin-bottom: 0.75rem;
    font-size: 1.02rem;
    line-height: 1.6;
    color: #243228;
}

.home-hero__meta {
    font-size: 0.95rem;
    color: #4a5d50;
}

.home-hero__logo {
    flex: 1 1 40%;
    display: flex;
    justify-content: center;
}

.home-hero__logo .home-logo {
    width: min(280px, 80%);
}

.home-section {
    margin-top: 1.75rem;
}

.home-section--flush {
    margin-top: 0;
}

.home-section__title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: #1f2c22;
}

.home-section__subtitle {
    margin-bottom: 1rem;
    color: #5b6b5e;
}

.home-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.75rem;
}

.home-links--grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
}

.home-action {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 1rem;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(47, 79, 58, 0.1);
    box-shadow: 0 10px 20px rgba(31, 61, 44, 0.08);
    text-decoration: none;
    color: #223429;
    min-height: 96px;
}

.home-action__icon {
    font-size: 1.2rem;
    color: #2f6f4e;
}

.home-action__text {
    font-weight: 600;
    line-height: 1.3;
}

.home-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
}

.home-stat {
    padding: 0.9rem 1rem;
    border-radius: 16px;
    background: #f7faf6;
    border: 1px solid rgba(47, 79, 58, 0.08);
}

.home-stat__value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2c22;
}

.home-stat__label {
    font-size: 0.9rem;
    color: #5b6b5e;
}

.home-links li {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    border-radius: 16px;
    background: #f9fbf8;
    border: 1px solid rgba(47, 79, 58, 0.08);
    box-shadow: 0 6px 14px rgba(31, 61, 44, 0.06);
}

.home-links__icon {
    color: #35533c;
    font-size: 1.05rem;
}

.home-links__text {
    color: #2a3a2f;
    font-weight: 500;
}

.home-links__action {
    text-decoration: none;
    font-weight: 600;
    color: #2f6f4e;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(47, 111, 78, 0.35);
    background: rgba(47, 111, 78, 0.12);
}

.home-links__action:hover {
    color: #1f3d2c;
    border-color: rgba(47, 111, 78, 0.45);
    background: rgba(47, 111, 78, 0.14);
}

.home-note {
    padding: 1rem 1.25rem;
    border-radius: 14px;
    background: rgba(47, 79, 58, 0.06);
    color: #33453a;
}

.home-map-card .box-header {
    background: transparent;
}

/* ==============================
   SIKH DASHBOARD
============================== */
.sikh-shell {
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(34, 58, 46, 0.15);
    background: linear-gradient(180deg, #f7f5ef 0%, #f1f2ec 100%);
    box-shadow: 0 18px 40px rgba(26, 36, 30, 0.12);
}

.sikh-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.5rem 1.75rem;
    background: linear-gradient(135deg, #243a30 0%, #1c2b23 100%);
    color: #eef4ef;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sikh-kicker {
    font-family: 'Space Grotesk', 'Source Sans 3', Arial, sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: rgba(232, 241, 233, 0.75);
    margin-bottom: 0.4rem;
}

.sikh-header .box-title {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.55rem;
    margin: 0;
    color: #fdfdfb;
}

.sikh-subtitle {
    margin: 0.35rem 0 0;
    font-size: 0.95rem;
    color: rgba(232, 241, 233, 0.75);
}

.sikh-header__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 0.6rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
}

.sikh-header__badge strong {
    margin-left: 0.3rem;
    font-weight: 600;
}

.sikh-home {
    position: relative;
    padding: 2rem 1.75rem 2.5rem;
    font-family: 'Space Grotesk', 'Source Sans 3', Arial, sans-serif;
    background:
        radial-gradient(600px 320px at 80% -10%, rgba(214, 166, 107, 0.18), transparent 70%),
        radial-gradient(520px 300px at -10% 20%, rgba(78, 118, 98, 0.22), transparent 70%),
        linear-gradient(180deg, #f9f7f1 0%, #f1f2ec 100%);
    overflow: hidden;
}

.sikh-home::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.2), transparent 40%),
        repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.03) 0 1px, transparent 1px 6px);
    pointer-events: none;
}

.sikh-home > * {
    position: relative;
    z-index: 1;
}

.sikh-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
    gap: 2rem;
    background: rgba(255, 255, 255, 0.75);
    border-radius: 24px;
    padding: 2rem;
    border: 1px solid rgba(42, 60, 49, 0.12);
    box-shadow: 0 16px 30px rgba(28, 40, 33, 0.12);
}

.sikh-hero h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 2.1rem;
    color: #1c2b23;
    margin-bottom: 0.75rem;
}

.sikh-lead {
    font-size: 1.02rem;
    line-height: 1.65;
    color: #35463c;
    margin-bottom: 1.5rem;
}

.sikh-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.sikh-action {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1rem 1.15rem;
    border-radius: 18px;
    background: linear-gradient(145deg, #ffffff, #f2f5ee);
    border: 1px solid rgba(33, 46, 38, 0.1);
    text-decoration: none;
    color: #1f2c22;
    box-shadow: 0 12px 24px rgba(30, 41, 33, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.sikh-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 30px rgba(30, 41, 33, 0.18);
    border-color: rgba(92, 126, 102, 0.4);
}

.sikh-action__icon {
    color: #a4632c;
    font-size: 1.2rem;
}

.sikh-action__text {
    font-weight: 600;
    font-family: 'Space Grotesk', 'Source Sans 3', Arial, sans-serif;
}

.sikh-action__hint {
    font-size: 0.85rem;
    color: #5a6b5f;
}

.sikh-hero__panel {
    display: grid;
    gap: 1.25rem;
}

.sikh-radar {
    position: relative;
    border-radius: 22px;
    background: radial-gradient(circle at center, rgba(33, 49, 40, 0.18), rgba(20, 30, 25, 0.9));
    padding: 2.2rem 1.75rem;
    min-height: 200px;
    overflow: hidden;
}

.sikh-radar__logo {
    width: 120px;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
    position: relative;
    z-index: 2;
}

.sikh-radar__ring {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    inset: 20%;
    z-index: 1;
}

.sikh-radar__ring--one {
    inset: 22%;
}

.sikh-radar__ring--two {
    inset: 32%;
}

.sikh-radar__ring--three {
    inset: 42%;
}

.sikh-radar__pulse {
    position: absolute;
    inset: 45%;
    border-radius: 999px;
    background: rgba(233, 176, 105, 0.8);
    animation: sikh-pulse 2.4s infinite;
    z-index: 0;
}

.sikh-panel {
    background: #1f2d25;
    color: #f1f6f1;
    border-radius: 18px;
    padding: 1.25rem;
    display: grid;
    gap: 0.8rem;
    box-shadow: 0 14px 22px rgba(22, 31, 26, 0.3);
}

.sikh-panel__title {
    font-family: 'Space Grotesk', 'Source Sans 3', Arial, sans-serif;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.75rem;
    color: rgba(241, 246, 241, 0.7);
}

.sikh-panel__item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.6rem;
    font-size: 0.9rem;
    line-height: 1.45;
}

.sikh-panel__item span {
    color: #f1b46a;
}

.sikh-metrics {
    margin-top: 1.75rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.sikh-metric {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.1rem 1.2rem;
    border: 1px solid rgba(34, 58, 46, 0.12);
    box-shadow: 0 10px 20px rgba(26, 36, 30, 0.08);
}

.sikh-metric__label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #6b7a70;
}

.sikh-metric__value {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.7rem;
    margin: 0.35rem 0 0.2rem;
    color: #1f2c22;
}

.sikh-metric__note {
    font-size: 0.85rem;
    color: #566458;
}

.sikh-docs {
    margin-top: 2rem;
    background: #ffffff;
    border-radius: 22px;
    padding: 1.75rem;
    border: 1px solid rgba(33, 46, 38, 0.12);
    box-shadow: 0 14px 24px rgba(26, 36, 30, 0.08);
}

.sikh-docs__header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.25rem;
}

.sikh-docs__header h4 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.4rem;
    margin-bottom: 0.25rem;
}

.sikh-docs__header p {
    margin: 0;
    color: #566458;
}

.sikh-docs__badge {
    padding: 0.45rem 0.9rem;
    background: rgba(28, 43, 35, 0.08);
    border-radius: 999px;
    font-size: 0.8rem;
    color: #415045;
}

.sikh-docs__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.sikh-doc {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.9rem;
    align-items: center;
    padding: 1rem 1.1rem;
    border-radius: 16px;
    border: 1px solid rgba(33, 46, 38, 0.12);
    background: #f8f7f2;
    text-decoration: none;
    color: #1f2c22;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sikh-doc:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px rgba(30, 41, 33, 0.14);
}

.sikh-doc__title {
    font-weight: 600;
}

.sikh-doc__meta {
    font-size: 0.85rem;
    color: #5a6b5f;
}

.sikh-doc__cta {
    background: #1f2d25;
    color: #f2f6f2;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.85rem;
}

.sikh-note {
    margin-top: 1.75rem;
    padding: 1.25rem 1.5rem;
    border-radius: 18px;
    background: rgba(28, 43, 35, 0.08);
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    color: #2f3c32;
}

.sikh-note__email {
    font-weight: 600;
    color: #1f2d25;
}

.sikh-note__signature {
    text-align: right;
    color: #415045;
    font-weight: 600;
}

.sikh-map-card .box-header {
    background: transparent;
}

.sikh-map-card .box-title {
    font-family: 'Fraunces', Georgia, serif;
}

.sikh-map-subtitle {
    margin: 0.35rem 0 0;
    color: #5a6b5f;
}

.sikh-appear {
    opacity: 0;
    animation: sikh-fade-up 0.7s ease forwards;
}

.sikh-appear[data-stagger="1"] {
    animation-delay: 0.1s;
}

.sikh-appear[data-stagger="2"] {
    animation-delay: 0.2s;
}

.sikh-appear[data-stagger="3"] {
    animation-delay: 0.3s;
}

.sikh-appear[data-stagger="4"] {
    animation-delay: 0.4s;
}

@keyframes sikh-fade-up {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes sikh-pulse {
    0% {
        transform: scale(0.6);
        opacity: 0.8;
    }
    60% {
        transform: scale(2.6);
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

@media (max-width: 1100px) {
    .sikh-hero {
        grid-template-columns: 1fr;
    }

    .sikh-hero__panel {
        grid-template-columns: 1fr 1fr;
    }

    .sikh-actions {
        grid-template-columns: 1fr 1fr;
    }

    .sikh-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .sikh-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .sikh-docs__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .sikh-docs__grid {
        grid-template-columns: 1fr;
    }

    .sikh-note {
        flex-direction: column;
        align-items: flex-start;
    }

    .sikh-note__signature {
        text-align: left;
    }
}

@media (max-width: 640px) {
    .sikh-home {
        padding: 1.5rem 1.1rem 2rem;
    }

    .sikh-hero {
        padding: 1.5rem;
    }

    .sikh-actions {
        grid-template-columns: 1fr;
    }

    .sikh-hero__panel {
        grid-template-columns: 1fr;
    }

    .sikh-metrics {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .home-card__body {
        max-width: 100%;
        padding: 1.25rem 1rem 1.5rem;
    }

    .home-surface {
        padding: 1.25rem;
    }

    .home-hero {
        flex-direction: column;
        text-align: center;
    }

    .home-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-hero__logo {
        width: 100%;
    }

    .home-links li {
        grid-template-columns: auto 1fr;
    }

    .home-links--grid {
        grid-template-columns: 1fr;
    }

    .home-links__action {
        grid-column: 1 / -1;
        justify-self: start;
    }
}

@media (max-width: 640px) {
    .home-actions,
    .home-stats {
        grid-template-columns: 1fr;
    }
}

.app-footer {
    background: linear-gradient(
        180deg,
        #2f4a36,
        #1f3124
    );
    color: #dfeee0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.app-footer .text-muted {
    color: #dfeee0 !important;
}

.app-footer a {
    color: #e9f1ea;
    text-decoration: none;
}

.app-footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.sb-topnav .dropdown-menu {
    border-radius: 0.5rem;
    border: none;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}




/* Prevent overlay from intercepting sidebar clicks */
#layoutSidenav #layoutSidenav_content::before {
    pointer-events: none;
}

/* Ensure UI overlays never block clicks */
.sb-topnav::after,
#layoutSidenav_nav .sb-sidenav::before {
    pointer-events: none;
}

/* Avoid background overlays blocking interactions */
.sidebar::before,
.auth-page::before,
.sikh-home::after {
    pointer-events: none;
}

#layoutSidenav_nav .sb-sidenav {
    background: linear-gradient(
        180deg,
        var(--primary-gradient-start),
        var(--primary-gradient-end)
    );
    color: var(--text-light);
    box-shadow: 8px 0 24px rgba(0, 0, 0, 0.18);
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    padding-top: 0;
    width: 250px;
    display: flex;
    flex-direction: column;
}

#layoutSidenav_nav .sb-sidenav::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.sb-nav-fixed #layoutSidenav #layoutSidenav_nav::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.sb-sidenav .sb-sidenav-menu {
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden;
    flex: 1 1 auto;
    overflow-y: auto;
}

.sb-sidenav .sb-sidenav-menu {
    }

.sb-sidenav .sb-sidenav-menu::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.sb-sidenav .sb-sidenav-menu .nav {
    margin-top: 0;
    padding-left: 0;
    padding-right: 0;
}

/* Sidebar full height from top (not under header) */
.sb-nav-fixed #layoutSidenav #layoutSidenav_nav {
    top: 0 !important;
    height: 100vh;
}

#layoutSidenav_nav .sb-sidenav::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(120px 120px at 10% 15%, rgba(255, 255, 255, 0.06), transparent 60%),
        radial-gradient(160px 160px at 90% 30%, rgba(255, 255, 255, 0.04), transparent 65%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 35%);
    pointer-events: none;
    z-index: 0;
}

#layoutSidenav_nav .sb-sidenav > * {
    position: relative;
    z-index: 1;
}

.sb-sidenav .sb-sidenav-menu-heading {
    color: #cfe3d4;
    letter-spacing: 0.6px;
    font-size: 0.7rem;
    text-transform: uppercase;
}


.sb-sidenav .nav-link {
    color: #e0e8e1;
    font-weight: 500;
    padding: 10px 12px;
    margin: 4px 10px;
    border-radius: 12px;
    position: relative;
    transition: all 0.25s ease;
    width: calc(100% - 20px);
    box-sizing: border-box;
}

.sb-sidenav .nav-link .sb-nav-link-icon {
    color: #c9d4ca;
    margin-right: 0.6rem;
}

.sb-sidenav .nav-link:hover {
    background-color: rgba(169, 195, 154, 0.2);
    color: #ffffff;
    transform: translateX(3px);
}

.sb-sidenav .nav-link:hover .sb-nav-link-icon {
    color: #ffffff;
}

.sb-sidenav .nav-link.active {
    background-color: #5a7a53;
    color: #ffffff;
    font-weight: 600;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.sb-sidenav .nav-link.active::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 70%;
    background: #b7d3a6;
    border-radius: 3px;
}

.sb-sidenav .sb-sidenav-menu-nested .nav-link {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.04);
    padding: 10px 12px;
    margin: 4px 10px 4px 0;
    border-radius: 12px;
    width: calc(100% - 10px);
    box-sizing: border-box;
    display: block;
}

.sb-sidenav .sb-sidenav-menu-nested .nav-link:hover {
    background-color: rgba(90, 122, 83, 0.6);
    color: #ffffff;
}

.sb-sidenav .sb-sidenav-menu-nested {
    padding-left: 0 !important;
}

.sb-sidenav-footer {
    background: rgba(0, 0, 0, 0.15);
    color: #dfeee0;
}

.sb-sidenav-collapse-arrow {
    display: none;
}

.footer {
    background: linear-gradient(
        180deg,
        #2f4a36,
        #1f3124
    );
    color: #e9f1ea;
}

.text-gray-600 {
    color: #dfeee0 !important;
}

.text-gray-400 {
    color: #a7b0a8 !important;
}

.sb-topnav .nav-item .nav-link .img-profile {
    width: 3.4rem !important;
    height: 3.4rem !important;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background-color: #f2f5f0;
    object-fit: cover;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.sb-topnav .nav-item.dropdown .nav-link .text-gray-600 {
    font-size: 1.25rem;
    font-weight: 600;
}

/* ==============================
   SIDEBAR
============================== */
.sidebar {
    background: linear-gradient(
        180deg,
        var(--primary-gradient-start),
        var(--primary-gradient-end)
    ) !important;
    color: var(--text-light);
    transition: all 0.3s ease-in-out;
    box-shadow: 8px 0 24px rgba(0, 0, 0, 0.18);
    position: relative;
    overflow: hidden;
}

/* Subtle texture overlay */
.sidebar::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(120px 120px at 10% 15%, rgba(255, 255, 255, 0.06), transparent 60%),
        radial-gradient(160px 160px at 90% 30%, rgba(255, 255, 255, 0.04), transparent 65%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 35%);
    pointer-events: none;
    z-index: 0;
}

/* Ensure sidebar content above overlay */
.sidebar > * {
    position: relative;
    z-index: 1;
}

/* Brand area polish */
.sidebar .sidebar-brand {
    padding: 1.25rem 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Item Sidebar */
.sidebar .nav-item .nav-link {
    color: var(--text-muted);
    font-weight: 500;
    padding: 0.75rem 1rem;
    border-radius: 0;
    margin: 0;
    position: relative;
    transition: all 0.3s ease;
}

.sidebar .nav-item .nav-link i {
    color: var(--text-muted);
    transition: color 0.3s;
    margin-right: 0.6rem;
    width: 1.25rem;
    text-align: center;
}

/* Hover efek */
.sidebar .nav-item .nav-link:hover {
    background-color: var(--hover-bg);
    color: var(--text-light);
    transform: translateX(3px);
}
.sidebar .nav-item .nav-link:hover i {
    color: var(--text-light);
}

/* Aktif menu */
.sidebar .nav-item.active > .nav-link {
    background-color: #6b8b63;
    color: var(--text-light);
    font-weight: 600;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.sidebar .nav-item.active > .nav-link i {
    color: var(--text-light);
}

/* Active indicator bar */
.sidebar .nav-item.active > .nav-link::before {
    content: "";
    position: absolute;
    left: -0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    background: #c4dbb6;
    border-radius: 3px;
}

/* Garis pemisah */
.sidebar hr.sidebar-divider {
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    transition: margin 0.3s, width 0.3s;
    margin: 0.75rem 1rem;
}

/* Divider ikut mengecil saat sidebar di-toggle */
#wrapper.toggled .sidebar hr.sidebar-divider {
    margin-left: 12px;
    margin-right: 12px;
    width: 56px;
}

/* ==============================
   Sidebar Hide Animation
============================== */
#wrapper.toggled #content-wrapper {
    margin-left: 0 !important;
    padding-left: 0 !important;
    width: 100% !important;
}

#wrapper.toggled .container-fluid {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
}

/* Pastikan sidebar benar-benar hilang */
#wrapper.toggled #accordionSidebar {
    width: 0 !important;
    min-width: 0 !important;
    transform: translateX(-100%) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s ease !important;
}

/* Tambahkan transisi lembut */
#accordionSidebar,
#content-wrapper {
    transition: all 0.3s ease;
}

/* ======== SUBMENU STYLE ======== */
.sidebar .collapse-inner {
    background: linear-gradient(
        180deg,
        #2e5f43,
        #244a35
    ); /* warna hijau serasi dengan sidebar */
    padding: 0.5rem 0;
    border-left: 3px solid #2f6f4e; /* garis kecil sebagai pemisah */
    border-radius: 8px;
    margin: 0.25rem 0.75rem 0.75rem;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.sidebar .collapse-header {
    color: #cfe3d4; /* lebih kontras agar terbaca */
    font-size: 0.75rem;
    text-transform: uppercase;
    padding: 0.6rem 1rem 0.35rem;
    margin-bottom: 0;
    letter-spacing: 0.5px;
}

.sidebar .collapse-item {
    color: #ffffff !important; /* paksa terlihat */
    padding: 0.55rem 1.2rem;
    display: block;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease-in-out;
    border-radius: 8px;
    margin: 0 0.5rem;
    background: rgba(255, 255, 255, 0.04);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
}

.sidebar .collapse-item:hover {
    background-color: rgba(47, 111, 78, 0.55) !important;
    color: #ffffff !important;
    transform: translateX(2px);
}

.sidebar .collapse-item.active {
    background-color: #2f6f4e;
    color: #ffffff !important;
    font-weight: 600;
    border-left: 3px solid #b7d3a6;
}

.sidebar .submenu {
    background: rgba(
        255,
        255,
        255,
        0.08
    ); /* sedikit lebih terang dari sidebar */
    margin: 0 0.75rem 0.5rem 1.5rem; /* sedikit indentasi ke kanan */
    border-left: 2px solid rgba(255, 255, 255, 0.22);
    padding-left: 0.75rem;
    border-radius: 6px;
}

.sidebar .nav-sublink {
    color: #ffffff !important; /* paksa terlihat */
    display: block;
    padding: 0.4rem 0.75rem;
    font-size: 0.9rem;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease-in-out;
}

.sidebar .nav-sublink:hover,
.sidebar .nav-sublink.active {
    background: rgba(183, 211, 166, 0.22);
    color: #ffffff !important;
    font-weight: 600;
}

/* ==============================
   SIDEBAR TOGGLE MODE
============================== */
/*#wrapper.toggled #accordionSidebar {
    width: 80px !important;
    transition: width 0.3s ease;
}

#wrapper.toggled .sidebar .nav-item .nav-link span {
    display: none !important;
}

#wrapper.toggled .sidebar .nav-item .nav-link {
    text-align: center;
}

#wrapper.toggled .sidebar .nav-item .nav-link i {
    margin-right: 0;
} */

/* ==============================
   Custom Hamburger Button (Uiverse)
============================== */

/* Reset button style */
button {
    border: none;
    background: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    font-family: inherit;
}

/* Background style */
.background {
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(145deg, #3a5a40, #2d4733);
    box-shadow:
        0 6px 14px rgba(0, 0, 0, 0.25),
        inset 0 0 0 1px rgba(255, 255, 255, 0.06);
    width: 44px; /* disesuaikan agar pas di navbar */
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.background:hover {
    transform: scale(1.1);
}

/* Icon bars */
.menu__icon {
    width: 22px;
    height: 22px;
    padding: 3px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    position: relative;
}

.menu__icon span {
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background-color: #e9f1ea;
    box-shadow: 0 0.5px 2px 0 hsla(0, 0%, 0%, 0.2);
    transition: transform 0.3s, background-color 0.3s, width 0.3s, opacity 0.3s;
    position: relative;
    transform-origin: center;
    will-change: transform;
}

.menu__icon span:nth-child(2) {
    width: 60%;
}

/* Keep hamburger icon visible (avoid "close" X) */
body:not(.sb-sidenav-toggled) #sidebarToggle .menu__icon span {
    position: relative !important;
    transform: none !important;
    opacity: 1 !important;
    width: 100% !important;
}

body:not(.sb-sidenav-toggled) #sidebarToggle .menu__icon span:nth-child(2) {
    width: 60% !important;
}

/* Hover state without "close" X animation */
.menu__icon:hover span {
    background-color: #b7d3a6;
    transform: none;
    opacity: 1;
}

.menu__icon:hover span:nth-child(2) {
    width: 60%;
}

/* Spacing between hamburger and brand */
.topbar #sidebarToggleTop {
    margin-right: 2rem;
}

.topbar #sidebarToggle {
    margin-right: 2rem;
}

.topbar #sidebarToggle + span {
    margin-left: 0.25rem;
}

.topbar .navbar-brand {
    margin-left: 0;
    color: #e9f1ea;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* ==============================
   TOPBAR
============================== */
.topbar {
    background: linear-gradient(
        180deg,
        #3a5a40,
        #2d4733
    ) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar .navbar-nav .nav-item .nav-link {
    color: #e9f1ea;
    transition: color 0.3s;
}

.topbar .navbar-nav .nav-item .nav-link:hover {
    color: #ffffff;
}

/* User area polish */
.topbar .nav-item.dropdown .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem;
    background: transparent;
}

.topbar .nav-item.dropdown .nav-link .text-gray-600 {
    color: #dfeee0 !important;
    font-size: 1.2rem;
    font-weight: 600;
}

.topbar .nav-item .nav-link .img-profile {
    width: 3.5rem !important;
    height: 3.5rem !important;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background-color: #f2f5f0;
    object-fit: cover;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* ==============================
   PENGUKURAN BARU (WIZARD)
============================== */
.monitoring-wizard {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.wizard-intro {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(58, 90, 64, 0.15);
    background: linear-gradient(135deg, #e8f2ea, #f6faf7);
}

.wizard-intro-text h2 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d4733;
}

.wizard-intro-text p {
    margin: 0;
    color: #4a5f4f;
}

.wizard-body {
    display: flex;
    gap: 1.5rem;
    align-items: stretch;
}

.wizard-rail {
    flex: 0 0 260px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(45, 71, 51, 0.1);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.wizard-rail-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.4rem 0.2rem;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease;
}

.wizard-rail-item:hover {
    background: rgba(45, 71, 51, 0.06);
}

.wizard-rail-item.is-locked {
    pointer-events: none;
    opacity: 0.5;
}

.wizard-rail-dot {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #dfece3;
    color: #2d4733;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.wizard-rail-item.is-active .wizard-rail-dot {
    background: #2d4733;
    color: #ffffff;
}

.wizard-rail-title {
    font-weight: 700;
    color: #2d4733;
}

.wizard-rail-desc {
    font-size: 0.85rem;
    color: #607166;
}

.wizard-cards {
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(240px, 1fr));
    gap: 1rem;
}

.wizard-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(45, 71, 51, 0.12);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
}

.wizard-card.is-locked {
    border-style: dashed;
    opacity: 0.7;
}

.wizard-card-header h3 {
    margin: 0.25rem 0 0 0;
    font-size: 1.15rem;
    color: #2d4733;
}

.wizard-card-kicker {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6c7d71;
    font-weight: 700;
}

.wizard-card-actions {
    margin-top: auto;
}

.wizard-stage {
    flex: 1 1 auto;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(45, 71, 51, 0.1);
    padding: 1.25rem;
}

.wizard-stage-header {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.wizard-stage-title {
    font-weight: 700;
    color: #2d4733;
    font-size: 1.2rem;
}

.wizard-stage-actions {
    display: flex;
    gap: 0.5rem;
}

.wizard-panel h3 {
    margin-top: 0;
    color: #2d4733;
}

.wizard-substeps {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 0.75rem 0 1rem 0;
}

.wizard-substep {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(45, 71, 51, 0.15);
    color: #2d4733;
    text-decoration: none;
    font-size: 0.9rem;
    background: #f7fbf8;
}

.wizard-substep.is-active {
    background: #2d4733;
    color: #ffffff;
    border-color: #2d4733;
}

.wizard-substep.is-locked:not(.is-active) {
    background: #f4f6f5;
    border-color: #d4ddd7;
    border-style: dashed;
    color: #6b7b72;
    box-shadow: none;
    cursor: default;
}

.wizard-substep-dot {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: rgba(45, 71, 51, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: inherit;
}

.wizard-substep.is-active .wizard-substep-dot {
    background: #ffffff;
    color: #2d4733;
}

.wizard-substep.is-locked:not(.is-active) .wizard-substep-dot {
    background: #e5ece8;
    color: #7a8a81;
}

.wizard-substage h4 {
    margin: 0.25rem 0 0.5rem 0;
    color: #2d4733;
}

.wizard-substage-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.wizard-form {
    max-width: 520px;
}

.wizard-embed {
    border: 1px solid rgba(45, 71, 51, 0.15);
    border-radius: 14px;
    overflow: hidden;
    background: #f8fbf9;
    margin-top: 0.75rem;
}

.wizard-embed iframe {
    width: 100%;
    height: 720px;
    border: 0;
    background: #ffffff;
}

.wizard-embed-inline {
    background: transparent;
    border: 0;
    padding: 0;
}

.wizard-embed-inline .row {
    margin: 0;
}

.wizard-tab {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.wizard-submit {
    margin-top: 1.5rem;
}

.wizard-selected {
    background: #ffffff;
    border-radius: 12px;
    padding: 0.65rem 0.9rem;
    border: 1px solid rgba(45, 71, 51, 0.12);
    min-width: 260px;
}

.wizard-selected-label {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #7a8c80;
    font-weight: 700;
}

.wizard-selected-value {
    font-weight: 600;
    color: #2d4733;
    margin-top: 0.25rem;
}

/* ==============================
   PENGUKURAN PAGE
============================== */
.pengukuran-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.pengukuran-container {
    padding-left: 16px;
    padding-right: 16px;
}

.page-wrap {
    max-width: 1480px;
    margin: 0 auto;
    padding: 24px;
}

.page-head {
    margin-bottom: 18px;
}

.page-title {
    font-size: 2.625rem;
    font-weight: 800;
    margin: 0;
}

.page-subtitle {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 4px;
}

.page-note {
    font-size: 0.8rem;
    color: #4b5563;
    margin-top: 6px;
}

.kelola-wrap {
    margin-top: 8px;
}

.top-panel {
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid #e7eee7;
    border-radius: 16px;
    padding: 14px 16px;
    margin-bottom: 18px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 18px;
}

@media (max-width: 1200px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
}

.summary-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: #f3f6f4;
    border: 1px solid rgba(47, 79, 58, 0.12);
    color: #2a3a2f;
    font-size: 0.85rem;
    font-weight: 600;
}

.summary-chip__icon {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    background: rgba(47, 79, 58, 0.12);
    color: #2a3a2f;
}

.summary-chip--draft {
    background: #eef4f0;
    border-color: rgba(47, 79, 58, 0.18);
}

.summary-chip--saved {
    background: #e7f3ec;
    border-color: rgba(47, 111, 78, 0.25);
    color: #1f3d2c;
}

.summary-chip--update {
    background: #f3f2e8;
    border-color: rgba(128, 112, 61, 0.25);
    color: #5b4a1a;
}

.table-link {
    color: #2f5b45;
    text-decoration: none;
    font-weight: 600;
}

.table-link:hover {
    text-decoration: underline;
}

.table-link:focus {
    text-decoration: underline;
}

.cell-stack {
    display: flex;
    flex-direction: column;
    gap: 2px;
    white-space: normal;
}

.table-title {
    font-weight: 700;
    color: #1f2c22;
}

.table-subtitle {
    font-size: 0.75rem;
    color: #6b7280;
}

.section-title {
    margin-top: 1.25rem;
    margin-bottom: 0.35rem;
    font-weight: 700;
    font-size: 1.05rem;
    position: relative;
    padding-left: 12px;
}

.section-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 4px;
    height: 16px;
    border-radius: 999px;
    background: #2f5b45;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.section-title-wrap {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.acc-head {
    width: 100%;
    padding: 6px 0;
    border: 0;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.acc-head:hover {
    background: rgba(47, 91, 69, 0.06);
    border-radius: 10px;
}

.acc-left {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.acc-right {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #2f5b45;
    font-weight: 600;
}

.section-toggle {
    color: inherit;
}

.acc-label {
    font-size: 0.78rem;
}

.section-count {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 600;
}

.toggle-icon {
    font-size: 0.9rem;
    color: #2f5b45;
}

.section-toggle:hover .section-title {
    color: #1f3d2c;
}

.badge-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid transparent;
}

.badge-count--draft {
    background: #eaf4ee;
    color: #1f3d2c;
    border-color: #cfe4d7;
}

.badge-count--saved {
    background: #eef2ef;
    color: #4b5b52;
    border-color: #dbe3dd;
}

.section-subtitle {
    margin-top: 0;
    margin-bottom: 0.6rem;
    font-size: 0.78rem;
    color: #6b7280;
}

.acc-preview {
    padding: 0 0 12px;
    color: #6b7a72;
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.acc-dot {
    opacity: 0.5;
}

.acc-hint {
    margin-left: auto;
    font-weight: 600;
    color: #2f5b45;
}

.btn-mini {
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid #cfe3d7;
    background: #f6fbf8;
    color: #2f5c46;
    font-weight: 600;
    font-size: 0.75rem;
    cursor: pointer;
}

.btn-mini:hover {
    background: #edf7f1;
}

.section-content.is-collapsed {
    display: none;
}

.section-divider {
    height: 1px;
    background: #e2e7e3;
    margin: 1rem 0;
}

.section-box {
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid #e7eee7;
    border-radius: 16px;
    padding: 16px;
}

.section-box--draft {
    border-left: 4px solid #2f5b45;
}

.section-box--saved {
    border-left: 4px solid #cfd7cf;
}

.draft-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

@media (max-width: 1360px) {
    .draft-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .draft-grid {
        grid-template-columns: 1fr;
    }
}

.draft-card {
    background: #ffffff;
    border: 1px solid #e4ebe5;
    border-radius: 14px;
    padding: 14px;
    display: grid;
    gap: 0.6rem;
    box-shadow: 0 8px 18px rgba(28, 44, 34, 0.08);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.draft-card.is-hidden {
    display: none;
}

.draft-actions {
    margin-top: 12px;
}

.draft-card:hover {
    border-color: #cfe0d6;
    box-shadow: 0 12px 24px rgba(28, 44, 34, 0.12);
    transform: translateY(-1px);
}

.draft-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.draft-card__title {
    font-weight: 700;
    color: #1f2c22;
    text-decoration: none;
    cursor: pointer;
}

.draft-card__title:hover {
    text-decoration: underline;
}

.draft-card__meta {
    font-size: 0.85rem;
    color: #5f6f66;
}

.draft-card__actions {
    display: flex;
    justify-content: flex-start;
}

.table-responsive {
    border-radius: 14px;
    border: 1px solid #e8eee8;
    overflow: hidden;
}

.table thead th {
    background: #eef2ef;
    font-weight: 600;
    color: #1f2937;
}

.table td,
.table th {
    vertical-align: middle;
    font-size: 13px;
    padding-top: 14px;
    padding-bottom: 14px;
}

.table {
    table-layout: fixed;
    width: 100%;
}

.table th,
.table td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.table tbody tr:nth-child(odd) {
    background: #fbfcfb;
}

.table tbody tr:hover {
    background: #f5f9f6;
}

.draft-row {
    background: #f6f9f5;
}

.draft-row:hover {
    background: #eef6ef;
}

.btn-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.15s ease, filter 0.15s ease;
}

.btn-action-primary {
    background: #2f5b45;
    color: #ffffff;
    border: 1px solid #2f5b45;
    padding: 6px 12px;
    border-radius: 12px;
    margin-right: 4px;
}

.btn-action-primary:hover {
    filter: brightness(0.95);
    transform: translateY(-1px);
    color: #ffffff;
}

.btn-action__icon {
    font-size: 13px;
    line-height: 1;
}

.col-aksi {
    width: 150px;
    text-align: left;
    white-space: nowrap;
    padding-right: 16px !important;
}

.col-posisi {
    width: 170px;
}

.col-tanggal {
    width: 160px;
}

.col-ke {
    width: 130px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: #eef2ef;
    color: #2f3e35;
    border: 1px solid rgba(47, 79, 58, 0.12);
}

.status-badge--draft {
    background: #eef2ef;
    color: #2f3e35;
}

.status-badge--final {
    background: #e6f4ea;
    color: #1f6b3a;
    border-color: #c5e3cf;
}

.status-badge--pending {
    background: #fff7db;
    color: #8a6a16;
    border-color: #ffe8a3;
}

.status-badge--verified {
    background: #e6f4ea;
    color: #1f6b3a;
    border-color: #c5e3cf;
}

.status-badge--rejected {
    background: #fde8e8;
    color: #b42318;
    border-color: #f8c1c1;
}

.status-badge--neutral {
    background: #f2f4f7;
    color: #475467;
    border-color: #e4e7ec;
}

.status-badge--small {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
}

.final-validation {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.final-validation-note {
    font-size: 0.78rem;
    color: #55645a;
}

.status-badge--step-1 {
    background: #eef2f0;
    color: #35544a;
    border-color: #d9e4de;
}

.status-badge--step-2 {
    background: #e9f2ff;
    color: #2f5aa7;
    border-color: #cfe1ff;
}

.status-badge--step-3 {
    background: #fff6dc;
    color: #8a6a16;
    border-color: #ffe8a3;
}

.status-badge--step-4,
.status-badge--step-5 {
    background: #e8f8ec;
    color: #1f7a3d;
    border-color: #bfe8cc;
}

@media (max-width: 991px) {
    .wizard-body {
        flex-direction: column;
    }

    .wizard-rail {
        flex: 1 1 auto;
    }

    .wizard-cards {
        grid-template-columns: 1fr;
    }
}

/* ==============================
   FOOTER
============================== */
footer.sticky-footer {
    background: linear-gradient(
        180deg,
        #2f6f4e,
        #234a37
    );
    color: #e9f1ea;
    padding: 1rem 0;
}

/* ==============================
   SCROLL TO TOP BUTTON
============================== */
.scroll-to-top {
    background-color: var(--primary-color);
    border: none;
}

.scroll-to-top:hover {
    background-color: var(--secondary-color);
}

/* ==============================
   BUTTON STYLES
============================== */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* ==============================
   READONLY INPUTS
============================== */
.form-control[readonly],
.form-select[readonly],
input[readonly],
textarea[readonly],
select[readonly] {
    background-color: #e1e6e0;
    color: #2c3a32;
    border-color: #c3c9c3;
    cursor: default;
    box-shadow: none;
}

.form-control[readonly]:focus,
.form-select[readonly]:focus,
input[readonly]:focus,
textarea[readonly]:focus,
select[readonly]:focus {
    background-color: #e1e6e0;
    color: #2c3a32;
    border-color: #c3c9c3;
    box-shadow: none;
}

/* ==============================
   DROPDOWN MENU
============================== */
.dropdown-menu {
    border-radius: 0.5rem;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* ==============================
   RESPONSIVE ADJUSTMENTS
============================== */
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
    }
}

/* ==============================
   AUTH PAGE
============================== */
.auth-page {
    min-height: 100vh;
    min-height: 100dvh;
    font-family: 'Source Sans 3', Arial, Helvetica, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(1200px 600px at 15% 20%, rgba(47, 79, 58, 0.12), transparent 60%),
        radial-gradient(900px 500px at 85% 80%, rgba(95, 127, 88, 0.16), transparent 60%),
        linear-gradient(180deg, #f4f7f2 0%, #e8efe6 100%);
    padding: 40px 20px;
    box-sizing: border-box;
    margin: 0;
}

.auth-page::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: var(--auth-bg-image, none);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: var(--auth-bg-opacity, 0.25);
    z-index: 0;
    pointer-events: none;
}

.auth-shell {
    width: min(980px, 92vw);
    height: 740px;
    min-height: 740px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 22px 50px rgba(15, 18, 20, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.6);
    position: relative;
    z-index: 1;
    animation: auth-fade 0.7s ease;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    justify-self: center;
    align-self: center;
}

.auth-shell[data-mode="signup"] {
    flex-direction: row-reverse;
}

@keyframes auth-fade {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-panel {
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.auth-panel--form {
    flex: 0 0 50%;
    background: rgba(255, 255, 255, 0.65);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 0;
}

.auth-left-content {
    width: 360px;
    text-align: center;
}

.auth-form--signup {
    margin-bottom: 1.25rem;
}

.auth-panel--info {
    flex: 0 0 50%;
    background: linear-gradient(155deg, rgba(47, 111, 78, 0.85) 0%, rgba(31, 61, 44, 0.85) 100%);
    color: #f2f7f1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.auth-info--signin {
    max-width: 360px;
    text-align: center;
    align-items: center;
}

.auth-info--signin .auth-ghost {
    align-self: center;
}

.auth-brand {
    font-weight: 700;
    letter-spacing: 0.4px;
    color: #2f4f3a;
    margin-bottom: 0.6rem;
}

.auth-form,
.auth-info {
    display: none;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.auth-form.is-active,
.auth-info.is-active {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 360px;
    margin: 0;
    height: 100%;
    justify-content: center;
    padding: 0;
    opacity: 1;
    transform: translateY(0);
}

.auth-form {
    width: 100%;
    max-width: 360px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.auth-panel--form .auth-form.is-active {
    margin: 0;
}

.auth-info {
    padding: 2rem;
    box-sizing: border-box;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    padding: 2rem;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
}

.auth-info {
    padding: 2rem;
    box-sizing: border-box;
}

.auth-panel--form .auth-form--signup.is-active {
    margin: auto 0;
    padding: clamp(1rem, 2.5vh, 2rem) 0;
}

.auth-form h1 {
    font-size: 28px;
    margin: 0 0 8px;
    color: #1e2b22;
    text-align: center;
}

.auth-desc {
    font-size: 0.9rem;
    color: #6a7a6f;
    margin: 0 0 18px;
    max-width: 360px;
    text-align: center;
    line-height: 1.45;
}

.auth-form--signup .auth-field span {
    text-align: left;
}
.auth-form--signin {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    text-align: center;
}

.auth-form--signin .auth-field span {
    text-align: left;
    font-size: 12px;
}

.auth-form--signup {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 0.8rem;
}

.auth-form--signup h1,
.auth-form--signup .auth-btn {
    grid-column: 1 / -1;
}

.auth-subtitle {
    margin-bottom: 1rem;
    color: #6a7a6f;
}

.auth-field {
    display: block;
    width: 100%;
    margin-bottom: 0;
    color: #304236;
    font-size: 11px;
}

.auth-field span {
    display: block;
    margin-bottom: 4px;
}

.auth-form--signup .auth-field {
    margin-bottom: 0.12rem;
}

.auth-form--signup .auth-field span {
    margin-bottom: 0.05rem;
}

.auth-field input {
    width: 100%;
    box-sizing: border-box;
    padding: 0 12px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background: #f9fbf9;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-size: 13px;
}

.auth-field input::placeholder {
    color: #7a8b80;
    opacity: 1;
}

.auth-field input:focus::placeholder {
    color: #7a8b80;
    opacity: 1;
}
.auth-hint {
    display: block;
    font-size: 0.75rem;
    color: #6a7a6f;
    margin-top: 4px;
}

.auth-input-wrap {
    position: relative;
    width: 100%;
}

.auth-input-wrap input {
    padding-right: 40px;
}

.auth-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 1.8rem;
    height: 1.8rem;
    border: 0;
    background: transparent;
    color: #4f6b5a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
}

.auth-toggle:hover {
    color: #2f6f4e;
    transform: translateY(-50%) scale(1.05);
}

.auth-toggle.is-active {
    color: #1f5e3b;
}

.auth-toggle svg {
    width: 1rem;
    height: 1rem;
}

.auth-toggle .eye-off {
    display: none;
}

.auth-toggle.is-active .eye-on {
    display: none;
}

.auth-toggle.is-active .eye-off {
    display: block;
}

.auth-input-wrap.is-active input {
    border-color: #2f6f4e;
    box-shadow: 0 0 0 3px rgba(47, 111, 78, 0.18);
    background: #ffffff;
}

.auth-field input:focus {
    outline: none;
    border-color: #4e7a5b;
    box-shadow: 0 0 0 3px rgba(78, 122, 91, 0.18);
    background: #ffffff;
}

.auth-btn {
    width: 100%;
    padding: 0;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2f6f4e, #24563c);
    color: #ffffff;
    font-weight: 600;
    font-size: 13px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.auth-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(36, 86, 60, 0.24);
}

.auth-info h2 {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
    text-align: center;
}

.auth-info p {
    color: #dbe7db;
    line-height: 1.6;
    margin-bottom: 1.4rem;
    text-align: center;
}

.auth-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    background: transparent;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, text-decoration 0.2s ease;
}

.auth-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    text-decoration: underline;
    transform: translateY(-1px);
}

.auth-alert {
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

.auth-alert--error {
    background: #fde8e8;
    color: #7a1f1f;
    border: 1px solid #f3c1c1;
}

.auth-alert--success {
    background: #e6f4ea;
    color: #1f5e2b;
    border: 1px solid #bfe3c8;
}

@media (max-width: 960px) {
    .auth-page {
        padding: 0;
    }

    .auth-shell {
        width: 100%;
        height: 100dvh;
        min-height: 100dvh;
        border-radius: 0;
        grid-template-columns: 1fr;
    }

    .auth-panel--form,
    .auth-panel--info {
        flex: 1 1 auto;
        height: auto;
        padding: 32px 24px;
    }
}

@media (min-width: 961px) {
    .auth-shell {
        position: fixed;
        inset: 0;
        margin: auto;
    }
}

/* PantauHutan klaster section */
.ph-section {
    background: #f6fbf7;
    border: 1px solid rgba(34, 84, 43, 0.12);
    border-radius: 14px;
    padding: 18px;
}

.ph-section-title {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 12px;
    margin-bottom: 14px;
}

.ph-section-title h5 {
    margin: 0;
    font-weight: 700;
    color: #1f2d1f;
}

.ph-section-title p {
    margin: 4px 0 0 0;
    font-size: 13px;
    color: #6b7a6b;
}

.ph-save-badge {
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid transparent;
    white-space: nowrap;
}

.ph-save-badge.saving {
    background: rgba(255, 193, 7, 0.12);
    border-color: rgba(255, 193, 7, 0.30);
    color: #8a6d00;
}

.ph-save-badge.saved {
    background: rgba(25, 135, 84, 0.12);
    border-color: rgba(25, 135, 84, 0.25);
    color: #198754;
}

.ph-save-badge.error {
    background: rgba(220, 53, 69, 0.10);
    border-color: rgba(220, 53, 69, 0.25);
    color: #dc3545;
}

.ph-section-badges {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    justify-content: flex-end;
}

.ph-header-right {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.ph-header-right > * {
    flex: 0 0 auto;
}

.plot-step-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.plot-step-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(25, 135, 84, 0.08);
    border: 1px solid rgba(25, 135, 84, 0.18);
    color: #1f6f3a;
    font-size: 12px;
    font-weight: 600;
}

.plot-step-chip--muted {
    background: rgba(108, 117, 125, 0.08);
    border-color: rgba(108, 117, 125, 0.18);
    color: #6c757d;
}

.plot-empty {
    color: #6c757d;
    font-size: 12px;
    font-style: italic;
}

.plot-status {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    border: 1px solid transparent;
    white-space: nowrap;
}

.plot-status--ok {
    background: rgba(25, 135, 84, 0.12);
    border-color: rgba(25, 135, 84, 0.25);
    color: #198754;
}

.plot-status--warn {
    background: rgba(220, 53, 69, 0.08);
    border-color: rgba(220, 53, 69, 0.2);
    color: #c82333;
}

.plot-action-btn {
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.plot-action-btn.btn-outline-success {
    border-color: rgba(25, 135, 84, 0.35);
    color: #198754;
}

.plot-action-btn.btn-outline-success:hover {
    background: rgba(25, 135, 84, 0.08);
}

.plot-progress {
    margin-bottom: 12px;
}

.plot-progress__bar {
    height: 8px;
    background: #eef3ef;
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid rgba(47, 79, 58, 0.12);
}

.plot-progress__bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #2f5b45, #3f7a5c);
}

.plot-progress__label {
    font-size: 11px;
    color: #6c757d;
    margin-top: 4px;
}

.ph-plot-modal-body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 240px;
}

.ph-plot-modal-body > form {
    width: 100%;
}

.coord-hidden {
    display: none;
}


.coord-decimal-label {
    font-size: 11px;
    color: #4b5b52;
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.coord-decimal-input {
    height: 32px;
    padding: 4px 10px;
    font-size: 12px;
    background: #f6fbf7;
    border: 1px dashed rgba(25, 135, 84, 0.35);
    color: #1f6f3a;
    font-family: "Consolas", "Courier New", monospace;
}


.coord-error {
    margin-top: 4px;
    font-size: 11px;
    color: #c82333;
}

.coord-decimal-latlng {
    margin-top: 4px;
    font-size: 11px;
    color: #6c757d;
}


.coord-hint {
    font-size: 11px;
    color: #6c757d;
    margin: 2px 0 6px;
}


.plot-progress__label--right {
    text-align: right;
}

.plot-progress__summary {
    font-size: 11px;
    color: #6c757d;
    margin-top: 2px;
}

.plot-map-card {
    border: 1px solid rgba(47, 79, 58, 0.12);
    border-radius: 12px;
    background: #f8fbf8;
    padding: 10px 12px;
    margin-bottom: 12px;
}

.plot-map-card__title {
    font-size: 12px;
    font-weight: 600;
    color: #2f5b45;
    margin-bottom: 6px;
}

.plot-map {
    height: 160px;
    border-radius: 10px;
    overflow: hidden;
    background: #eef3ef;
    border: 1px solid rgba(47, 79, 58, 0.12);
}

.plot-map-empty {
    font-size: 12px;
    color: #6c757d;
    margin-top: 6px;
}

.ph-status-badge {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #f3f7f3;
    color: #3a5140;
    border: 1px solid rgba(47, 79, 58, 0.14);
    white-space: nowrap;
}

.btn-danger-soft {
    background: rgba(220, 53, 69, 0.06);
    border: 1px solid rgba(220, 53, 69, 0.25);
    color: #c82333;
    border-radius: 12px;
    padding: 7px 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.04);
    transition: 0.15s ease;
    cursor: pointer;
}

.btn-danger-soft:hover {
    background: rgba(220, 53, 69, 0.10);
    border-color: rgba(220, 53, 69, 0.40);
    color: #b02a37;
    transform: translateY(-1px);
}

.ph-trash-icon {
    font-size: 14px;
    line-height: 1;
    color: #b02a37;
}

.btn-danger-soft:active {
    transform: translateY(0);
    box-shadow: none;
}

.ph-del-modal {
    border-radius: 14px;
    overflow: hidden;
}

.ph-del-modal .modal-header,
.ph-del-modal .modal-footer {
    border-color: rgba(0, 0, 0, 0.06);
}

.ph-del-modal .modal-header {
    padding: 12px 16px;
}

.ph-del-modal .modal-body {
    padding: 12px 16px;
}

.ph-del-modal .modal-footer {
    padding: 10px 16px;
}

.ph-del-icon {
    font-size: 16px;
    margin-right: 6px;
}

.ph-del-cancel {
    border-color: rgba(0, 0, 0, 0.15);
}

.ph-chip-apply {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(25, 135, 84, 0.08);
    border: 1px solid rgba(25, 135, 84, 0.25);
    color: #198754;
    cursor: pointer;
    white-space: nowrap;
    transition: 0.15s ease;
}

.ph-chip-apply:hover {
    background: rgba(25, 135, 84, 0.12);
    border-color: rgba(25, 135, 84, 0.45);
    transform: translateY(-1px);
}

.ph-chip-icon {
    font-size: 13px;
}


.ph-apply-list {
    display: grid;
    gap: 8px;
    max-height: 200px;
    overflow: auto;
    padding: 8px 0;
}

.ph-apply-summary {
    font-size: 12px;
    color: #3a5140;
    background: rgba(25, 135, 84, 0.08);
    border: 1px solid rgba(25, 135, 84, 0.2);
    border-radius: 10px;
    padding: 8px 10px;
    margin-bottom: 12px;
}

.ph-apply-selectall {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #2f5b45;
    cursor: pointer;
}

.ph-apply-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    padding: 6px 8px;
    border-radius: 8px;
}

.ph-apply-item:hover {
    background: rgba(25, 135, 84, 0.06);
}

.ph-apply-mode {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    margin-top: 10px;
    padding-top: 10px;
}

.ph-apply-option {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    margin-top: 10px;
}

.ph-apply-note {
    font-size: 11px;
    color: #6c757d;
    margin-top: 6px;
}

.ph-apply-warn {
    font-size: 11px;
    color: #b02a37;
    margin-top: 6px;
}

.ph-apply-helper {
    font-size: 11px;
    color: #6c757d;
    margin: 4px 0 8px;
}

.ph-apply-subtext {
    font-size: 11px;
    color: #6c757d;
    margin: -4px 0 6px 24px;
}

@media (max-width: 1200px) {
    .ph-section-badges {
        gap: 6px;
    }

    .btn-danger-soft {
        padding: 5px 8px;
    }
}

.ph-jarak-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 10px;
}

.ph-jarak-sep {
    font-weight: 600;
    color: #5d6d61;
    font-size: 16px;
    margin-top: 6px;
}

.ph-tab {
    border-radius: 10px;
    font-weight: 600;
    padding: 6px 12px;
}

.ph-tab.active {
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
}

.ph-tab--add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 6px 14px;
    border: 1px solid #2f6f4e;
    border-radius: 999px;
    background: #f3f8f5;
    color: #2f6f4e;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease, transform .08s ease;
}

.ph-tab--add:hover {
    background: #e9f3ed;
    border-color: #285f42;
    color: #285f42;
}

.ph-tab--add:focus,
.ph-tab--add:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(47, 111, 78, .22);
}

.ph-tab--add:active {
    background: #deece4;
    border-color: #224f37;
    transform: translateY(1px);
}




/* === GLOBAL LAYOUT SYNC (sidebar/navbar/footer/content) === */
:root {
    --sidebar-open: 250px;
    --sidebar-closed: 0px;
    --sidebar-current: var(--sidebar-open);
    --nav-height: 72px;
    --footer-height: 44px;
    --content-max-width: 1600px;
}

body.sb-sidenav-toggled {
    --sidebar-current: var(--sidebar-closed);
}


body.sb-nav-fixed {
    overflow-x: hidden;
    overflow-y: hidden;
    height: 100vh;
}

.sb-topnav {
    position: fixed !important;
    top: 0;
    left: var(--sidebar-current) !important;
    width: calc(100% - var(--sidebar-current)) !important;
    height: var(--nav-height);
    z-index: 1100;
}

#layoutSidenav_nav {
    position: fixed !important;
    top: 0;
    left: 0;
    width: var(--sidebar-open);
    height: 100vh;
    z-index: 1030;
    transform: translateX(0) !important;
}

.sb-nav-fixed.sb-sidenav-toggled #layoutSidenav #layoutSidenav_nav {
    transform: translateX(calc(-1 * var(--sidebar-open))) !important;
}


#layoutSidenav_content {
    background: transparent;
    margin-left: var(--sidebar-current) !important;
    width: calc(100% - var(--sidebar-current)) !important;
    padding-top: var(--nav-height);
    height: 100vh;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden !important;
    scrollbar-width: auto !important;
}

#layoutSidenav #layoutSidenav_content::before {
    display: none !important;
}

/* Make content area the only scroll container on fixed layout */
body.sb-nav-fixed #layoutSidenav_content {
    overflow: hidden !important;
    overscroll-behavior: contain;
}

/* Override SB Admin defaults that add extra left padding/top offset */
#layoutSidenav {
    width: 100%;
}

 #layoutSidenav #layoutSidenav_content,
 .sb-nav-fixed #layoutSidenav #layoutSidenav_content {
     padding-left: 0 !important;
     top: 0 !important;
 }

.sb-nav-fixed #layoutSidenav #layoutSidenav_nav .sb-sidenav {
    padding-top: 0;
}

#layoutSidenav_content > main::-webkit-scrollbar {
    width: 10px !important;
}
#layoutSidenav_content > main::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.25) !important;
    border-radius: 6px;
}
#layoutSidenav_content > main::-webkit-scrollbar-track {
    background: transparent;
}

.app-footer {
    flex-shrink: 0;
    height: var(--footer-height);
}

.app-page-container {
    width: 100%;
    max-width: none !important;
    margin: 0 !important;
    padding-left: 24px;
    padding-right: 24px;
}


#layoutSidenav_content > main {
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-gutter: stable;
}
