        :root {
            --green-dark: #075c3b;
            --green-main: #11965b;
            --green-medium: #38bd75;
            --green-light: #b8f3b7;
            --green-pale: #effff0;
            --text-dark: #164b35;
            --header-height: 72px;
        }

        * {
            box-sizing: border-box;
        }

        html {
            min-height: 100%;
            scroll-behavior: smooth;
        }

        body {
            min-height: 100vh;
            min-height: 100dvh;
            margin: 0;

            font-family: Arial, Helvetica, sans-serif;
            color: var(--text-dark);

            background:
                radial-gradient(
                    ellipse at 50% 20%,
                    #ffffff 0%,
                    #f4fff3 32%,
                    #d1f8ce 68%,
                    #a2e8ac 100%
                );

            overflow-x: hidden;
        }

        a {
            text-decoration: none;
        }

        /* =====================================
           BACKGROUND SELENDANG HIJAU
        ===================================== */

        .background-ribbon {
            position: fixed;
            inset: 0;
            width: 100%;
            height: 100%;

            overflow: hidden;
            pointer-events: none;
            z-index: -1;
        }

        .ribbon {
            position: absolute;

            width: 155%;
            height: 42%;
            left: -27%;

            border-radius: 50%;
            filter: blur(1px);
        }

        .ribbon-one {
            top: 36%;

            background: linear-gradient(
                120deg,
                #e0ffdc 0%,
                #9ceca0 35%,
                #35bd72 70%,
                #0d7548 100%
            );

            opacity: 0.70;
            transform: rotate(-12deg);
        }

        .ribbon-two {
            top: 49%;

            background: linear-gradient(
                120deg,
                #c9f9c4 0%,
                #65d982 35%,
                #179b5a 70%,
                #075c3b 100%
            );

            opacity: 0.78;
            transform: rotate(8deg);
        }

        .ribbon-three {
            top: 65%;
            height: 42%;

            background: linear-gradient(
                120deg,
                #a7eea6 0%,
                #4ac97b 40%,
                #12844e 75%,
                #064c32 100%
            );

            opacity: 0.75;
            transform: rotate(-6deg);
        }

        /* =====================================
           HEADER FIXED
        ===================================== */

        .app-header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;

            z-index: 1000;

            padding-top: env(safe-area-inset-top);

            background: rgba(255, 255, 255, 0.94);

            border-bottom: 1px solid rgba(17, 150, 91, 0.20);

            box-shadow:
                0 3px 15px rgba(7, 92, 59, 0.10);

            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
        }

        .navbar-main {
            min-height: var(--header-height);

            display: flex;
            align-items: center;
            justify-content: space-between;

            gap: 12px;
            padding: 10px 24px;
        }

        /* Logo dan nama aplikasi */

        .brand {
            display: flex;
            align-items: center;
            gap: 12px;

            min-width: 0;

            color: var(--green-dark);
        }

        .brand-logo {
            width: 46px;
            height: 46px;

            object-fit: contain;
            flex-shrink: 0;
        }

        .brand-title {
            margin: 0;

            font-size: 21px;
            font-weight: 800;

            color: var(--green-dark);
            line-height: 1.2;
        }

        .brand-subtitle {
            display: block;

            margin-top: 3px;

            font-size: 11px;
            color: #57826b;
        }

        /* Area navigasi */

        .header-actions {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .nav-home {
            color: var(--green-dark);

            font-size: 14px;
            font-weight: 600;

            padding: 10px 14px;
            border-radius: 10px;

            transition: 0.2s;
        }

        .nav-home:hover {
            color: var(--green-dark);
            background: #e8f9ec;
        }

        /* Tombol hamburger */

        .mobile-nav-toggle {
            display: none;

            width: 43px;
            height: 43px;

            align-items: center;
            justify-content: center;

            background: #e9f9ed;
            color: var(--green-dark);

            border: 1px solid #c5e9d0;
            border-radius: 11px;

            font-size: 23px;
            cursor: pointer;
        }

        .mobile-nav-toggle:focus-visible {
            outline: 3px solid rgba(17, 150, 91, 0.35);
        }

        /* Tombol logout */

        .btn-logout {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;

            padding: 11px 17px;

            background: linear-gradient(
                135deg,
                #2db76e,
                #087443
            );

            color: #ffffff;

            border: none;
            border-radius: 10px;

            font-size: 14px;
            font-weight: 700;

            transition: 0.2s;
        }

        .btn-logout i {
            font-size: 19px;
        }

        .btn-logout:hover {
            color: #ffffff;

            background: linear-gradient(
                135deg,
                #229f5c,
                #055632
            );

            transform: translateY(-1px);
        }

        /* =====================================
           MOBILE NAVIGATION
        ===================================== */

        .mobile-nav {
            display: none;

            padding: 0 18px 18px;

            background: rgba(255, 255, 255, 0.98);

            border-top: 1px solid #e0f0e5;
        }

        .mobile-nav.show {
            display: block;
        }

        .mobile-nav a {
            display: flex;
            align-items: center;
            gap: 12px;

            width: 100%;
            padding: 13px 15px;

            color: var(--green-dark);
            font-size: 14px;
            font-weight: 600;

            border-radius: 10px;
        }

        .mobile-nav a i {
            font-size: 19px;
        }

        .mobile-nav a:hover {
            background: #e9f9ed;
        }

        .mobile-nav .mobile-logout {
            margin-top: 8px;

            color: #ffffff;

            background: linear-gradient(
                135deg,
                #2db76e,
                #087443
            );
        }

        .mobile-nav .mobile-logout:hover {
            background: #087443;
        }

        /* =====================================
           MAIN CONTENT
        ===================================== */

        .main-content {
            position: relative;
            z-index: 1;

            width: 100%;
            max-width: 1200px;

            margin: 0 auto;

            padding:
                calc(
                    var(--header-height)
                    + env(safe-area-inset-top)
                    + 28px
                )
                24px
                35px;
        }

        /* Hero */

        .hero-section {
            text-align: center;

            padding: 38px 20px 32px;
        }

        .hero-title {
            margin: 0 0 12px;

            font-size: clamp(27px, 4vw, 38px);
            font-weight: 800;

            color: var(--green-dark);
        }

        .hero-description {
            max-width: 650px;

            margin: 0 auto;

            color: #367653;
            font-size: 15px;
            line-height: 1.8;
        }

        /* =====================================
           CONTENT CARDS
        ===================================== */

        .content-section {
            width: 100%;
            margin-bottom: 24px;
        }

        .content-card {
            position: relative;

            width: 100%;
            min-height: 180px;
            height: auto;

            overflow: hidden;

            margin-bottom: 22px;
            padding: 25px;

            background: rgba(255, 255, 255, 0.93);

            border: 1px solid rgba(17, 150, 91, 0.30);
            border-radius: 18px;

            box-shadow:
                0 10px 28px rgba(7, 92, 59, 0.10);

            transition:
                box-shadow 0.25s,
                transform 0.25s;
        }

        .content-card:hover {
            box-shadow:
                0 15px 32px rgba(7, 92, 59, 0.15);
        }

        /* Efek lipatan kertas */

        .content-card::before {
            content: "";

            position: absolute;
            top: 0;
            left: 0;

            width: 90px;
            height: 58px;

            background: linear-gradient(
                135deg,
                #b6f3b1,
                #65d982
            );

            clip-path: polygon(
                0 0,
                100% 0,
                0 100%
            );

            opacity: 0.75;
        }

        .content-card::after {
            content: "";

            position: absolute;
            top: 0;
            left: 0;

            width: 90px;
            height: 58px;

            background: linear-gradient(
                135deg,
                rgba(7, 92, 59, 0.12),
                transparent
            );

            clip-path: polygon(
                100% 0,
                100% 15%,
                15% 100%,
                0 100%
            );

            pointer-events: none;
        }

        /* Isi card opsional */

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

        /* =====================================
           FOOTER
        ===================================== */

        .app-footer {
            position: relative;
            z-index: 1;

            width: 100%;

            padding: 22px 18px;

            text-align: center;

            color: #ffffff;

            background: rgba(7, 92, 59, 0.88);

            border-top: 1px solid rgba(255, 255, 255, 0.25);
        }

        .footer-text {
            margin: 0;

            font-size: 12px;
            letter-spacing: 0.4px;
        }

        /* =====================================
           RESPONSIVE TABLET DAN MOBILE
        ===================================== */

        @media (max-width: 768px) {

            :root {
                --header-height: 64px;
            }

            .navbar-main {
                min-height: var(--header-height);
                padding: 8px 15px;
            }

            .brand {
                gap: 9px;
            }

            .brand-logo {
                width: 40px;
                height: 40px;
            }

            .brand-title {
                font-size: 18px;
            }

            .brand-subtitle {
                font-size: 10px;
            }

            .desktop-nav {
                display: none;
            }

            .mobile-nav-toggle {
                display: inline-flex;
            }

            .header-actions {
                gap: 8px;
            }

            .btn-logout {
                padding: 10px 12px;
                font-size: 13px;
            }

            .btn-logout span {
                display: none;
            }

            .main-content {
                padding:
                    calc(
                        var(--header-height)
                        + env(safe-area-inset-top)
                        + 18px
                    )
                    15px
                    25px;
            }

            .hero-section {
                padding: 30px 10px 25px;
            }

            .hero-title {
                font-size: 28px;
            }

            .hero-description {
                font-size: 14px;
            }

            .content-card {
                min-height: 160px;
                padding: 20px;
                margin-bottom: 18px;
                border-radius: 15px;
            }

            .ribbon-one {
                top: 40%;
            }

            .ribbon-two {
                top: 54%;
            }

            .ribbon-three {
                top: 68%;
            }
        }

        @media (max-width: 380px) {

            .brand-title {
                font-size: 16px;
            }

            .brand-subtitle {
                font-size: 9px;
            }

            .brand-logo {
                width: 35px;
                height: 35px;
            }

            .navbar-main {
                padding-left: 10px;
                padding-right: 10px;
            }

            .btn-logout {
                width: 39px;
                height: 39px;
                padding: 0;
            }

            .mobile-nav-toggle {
                width: 39px;
                height: 39px;
            }
        }

        /* Mengurangi animasi bila diminta perangkat */

        @media (prefers-reduced-motion: reduce) {
            html {
                scroll-behavior: auto;
            }

            *,
            *::before,
            *::after {
                transition: none !important;
            }
        }


        /* =====================================
           INSTALL BUTTON IOS
        ====================================== */

        .btn-activity {

            width: none;

            height: 55px;

            border: none;

            border-radius: 8px;

            background:
                linear-gradient(
                    135deg,
                    #7e860c,
                    #5ee264
                );

            color: white;

            font-size: 17px;

            font-weight: 600;

            letter-spacing: .3px;

            box-shadow:
                0 10px 20px rgba(2,132,199,.25);

            transition: .2s;
        }


        .btn-activity:hover {
            transform: translateY(-1px);

            box-shadow:
                0 13px 25px rgba(2,132,199,.30);
        }


        .btn-activity:active {
            transform: scale(.98);
        }


        .btn-activity i {
            margin-right: 7px;
        }


        .form-control-custom {
            width: 100%;
            height: 56px;

            padding: 12px 48px;

            border: 1px solid #c7e5d4;
            border-radius: 12px;

            background: #fbfffc;

            color: #174b35;
            font-size: 15px;

            outline: none;
            transition: 0.25s;
        }

        .form-control-custom:focus {
            border-color: var(--green-main);

            background: #ffffff;

            box-shadow:
                0 0 0 4px rgba(17, 150, 91, 0.12);
        }

        .form-control-custom::placeholder {
            color: #91a69a;
        }


        .form-control-month {
            width: auto;
            height: 56px;

            padding: 12px 48px;

            border: 1px solid #c7e5d4;
            border-radius: 12px;

            background: #fbfffc;

            color: #174b35;
            font-size: 15px;

            outline: none;
            transition: 0.25s;
        }

        .form-control-month:focus {
            border-color: var(--green-main);

            background: #ffffff;

            box-shadow:
                0 0 0 4px rgba(17, 150, 91, 0.12);
        }

        .form-control-month::placeholder {
            color: #91a69a;
        }


        .form-control-year {
            width: auto;
            height: 56px;

            padding: 12px 48px;

            border: 1px solid #c7e5d4;
            border-radius: 12px;

            background: #fbfffc;

            color: #174b35;
            font-size: 15px;

            outline: none;
            transition: 0.25s;
        }

        .form-control-year:focus {
            border-color: var(--green-main);

            background: #ffffff;

            box-shadow:
                0 0 0 4px rgba(17, 150, 91, 0.12);
        }

        .form-control-year::placeholder {
            color: #91a69a;
        }



 th { font-size:11px; color:#091369;}
        td { font-size:11px; color:#091369;}
        th,td{padding:5px 8px;}
        th{ text-transform: uppercase; color:#091369; }
        /*table tr:nth-child(odd){color:#E7EBCE; }
        table tr:nth-child(even){color:#00FFFF; }*/

.form-control-custom {
            width: 100%;
            height: 56px;

            padding: 12px 48px;

            border: 1px solid #c7e5d4;
            border-radius: 12px;

            background: #fbfffc;

            color: #174b35;
            font-size: 15px;

            outline: none;
            transition: 0.25s;
        }

        .form-control-custom:focus {
            border-color: var(--green-main);

            background: #ffffff;

            box-shadow:
                0 0 0 4px rgba(17, 150, 91, 0.12);
        }

        .form-control-custom::placeholder {
            color: #91a69a;
        }
