@import url('https://fonts.googleapis.com/css2?family=Elms+Sans&display=swap');
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: "Elms Sans", sans-serif;
        }

        body {
            background-color: #f4f6f9; /* Warna latar belakang abu-abu muda */
            color: #333;
        }

        /* --- LAYOUT UTAMA --- */
        .container {
            display: flex;
            min-height: 100vh;
        }

        /* --- SIDEBAR --- */
        .sidebar {
            width: 250px;
            background-color: #2c3e50; /* Warna biru tua gelap */
            color: #fff;
            display: flex;
            flex-direction: column;
            transition: all 0.3s;
        }

        .sidebar-header {
            padding: 13px 10px 13px 25px;
            text-align: left;
            background-color: #1a252f;
        }

        .sidebar-header h2 {
            font-size: 18px;
            letter-spacing: 1px;color: yellow;
        }

        .sidebar-menu {
            list-style: none;
            padding: 20px 0;
        }

        .sidebar-menu li a {
            display: block;
            padding: 15px 25px;
            color: #b0c4de;
            text-decoration: none;
            transition: 0.3s;
            display: flex;
            align-items: center;
        }

        .sidebar-menu li a:hover, .sidebar-menu li a.active {
            background-color: #34495e;
            color: #fff;
            border-left: 5px solid #3498db;
        }

        .sidebar-menu li a i {
            margin-right: 15px;
            width: 20px;
            text-align: center;
        }

        /* --- MAIN CONTENT --- */
        .main-content {
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        /* --- TOPBAR / HEADER --- */
        header {
            background-color: #fff;
            padding: 15px 30px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .header-title H3{font-weight:30px;font-size: 25px;}

        .search-wrapper {
            border: 1px solid #ddd;
            border-radius: 30px;
            height: 40px;
            display: flex;
            align-items: center;
            overflow-x: hidden;
            width: 300px;
        }

        .search-wrapper span {
            display: inline-block;
            padding: 0 1rem;
            font-size: 1.1rem;
        }

        .search-wrapper input {
            height: 100%;
            padding: .5rem;
            border: none;
            outline: none;
            width: 100%;
        }

        .user-wrapper {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .user-wrapper img {
            border-radius: 50%;
            width: 40px;
            height: 40px;
        }

        .user-wrapper small {
            display: inline-block;
            color: #8390a2;
        }

        /* --- DASHBOARD CARDS --- */
        main {
            padding: 2rem;
            overflow-y: auto;
        }

        .cards {
            display: grid;
            grid-template-columns: repeat(4, 1fr); /* 4 Kolom */
            grid-gap: 2rem;
            margin-bottom: 2rem;
        }
        .cards a{text-decoration: none;color: #000;}

        .card-single {
            display: flex;
            justify-content: space-between;
            background: #fff;
            padding: 2rem;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            transition: transform 0.2s;
            border-bottom: 4px solid #248a01;
        }

        .card-single:hover {
            background: #e3fcea;
        }

        .card-single div:first-child span {
            color: #8390a2;
        }

        .card-single i {
            font-size: 2rem;
            color: #3498db;
        }

        /* --- TABLE SECTION --- */
        .recent-grid {
            margin-top: 1rem;
            display: grid;
            grid-gap: 2rem;
            /* grid-template-columns: 65% auto; */ /* Bisa diaktifkan jika ada sidebar kanan */
        }

        .card {
            background: #fff;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        .card-header {
            padding: 1.5rem;
            border-bottom: 1px solid #f0f0f0;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .card-header button {
            background: #3498db;
            border-radius: 10px;
            color: #fff;
            font-size: .8rem;
            padding: .5rem 1rem;
            border: none;
            cursor: pointer;
        }

        .card-body {
            padding: 1.5rem;
        }

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

        thead tr {
            border-top: 1px solid #f0f0f0;
            border-bottom: 1px solid #f0f0f0;
        }

        thead td {
            font-weight: 700;
        }

        td {
            padding: 8px;
            font-size: 14px;
            color: #222;
        }

        td a{color: #3585db;} td a:hover{text-decoration: none;}

        tr:nth-child(even) {
            background-color: #eaeaea;
        }

        #tahun {margin: 0px 0px 30px 0px;}
        #tahun a{
            border-radius: 3px;padding: 10px 15px;
            background: #ccc;color: #444;text-decoration: none;font-size: 13px;font-weight: bold;
        }
        #tahun a:hover{background: #a8a7a7;}
        #tahun a.active{
            background: #285933;color: #fff;
        }

        #link a{
            padding: 10px 30px;
            border: 1px solid #4287f5;
            border-radius: 10px;text-decoration: none;color:#4287f5;
        }
        #link a:hover{color: #fff;background: #4287f5;}

        .ticker-container {
          height: 50px;
          width: 100%;
          overflow: hidden;
          background: #d4efff;
          border-radius: 5px;box-shadow: 0 2px 10px rgba(0,0,0,0.1);
          margin: -10px 0px 25px 0px;
        }
        .ticker {
          display: flex;
          flex-direction: column;
          transition: transform 0.6s ease-in-out;
        }

        .ticker p {
          margin: 0px 20px;
          height: 50px;
          display: flex;
          align-items: center;
          justify-content: left;
          font-size: 14px;font-weight: bold;
          color: #8a0009;
        }

        /* --- RESPONSIVE MEDIA QUERIES --- */
        @media only screen and (max-width: 960px) {
            .cards {
                grid-template-columns: repeat(2, 1fr); /* 2 Kolom di Tablet */
            }
        }

        @media only screen and (max-width: 768px) {
            .container {
                display: block; /* Stack ke bawah di mobile */
            }
            
            .sidebar {
                width: 100%;
                height: auto;
            }

            .sidebar-menu {
                display: flex;
                overflow-x: auto; /* Scroll samping untuk menu di mobile */
            }

            .sidebar-menu li a {
                padding: 15px;
                white-space: nowrap;
            }
            
            .cards {
                grid-template-columns: 1fr; /* 1 Kolom di HP */
            }

            .search-wrapper {
                display: none; /* Sembunyikan search di HP kecil */
            }
        }
        