
    :root {
      --blue: #1e88e5;
      --blue-tvri: #003366;
      --yellow: #fbc02d;
      --red: #e53935;
      --green: #43a047;
      --bg: #f5f7fb;
      --sidebar-width: 230px;
      --sidebar-collapsed: 70px;
    --card: #ffffff;
    --muted: #6b7280;
    }

    body {
      margin: 0;
      /* font-family: 'Poppins', sans-serif; */
	  font-family:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial;
      background: var(--bg);
      overflow-x: hidden;
    }
    
	h1 {
	  font-weight: 700;
	}
	
    h2 {
      text-align: center;
      color: #003366;
      margin-bottom: 20px;
    }

    /* Navbar */
    .navbar {
      position: fixed;
      background: var(--blue-tvri);
      color: white;
      top: 0;
      left: 0;
      width: 100%;
      padding:5px;
      z-index: 1001;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
	  text-align:right;
    }
	
    .navbar-brand {
      color: white !important;
      font-weight: bold;
      font-size: 1.2rem;
    }

    .navbar .btn-toggle {
      background: none;
      border: none;
      color: #fff;
      font-size: 20px;
      cursor: pointer;
    }
	
	.navbar a { color: White; }
	.navbar a:hover { color: #ffd700; }
	.btn-toggle:hover { color: #ffd700; }
	.profile-btn:hover { color: #ffd700; }
	
    /* Sidebar */
    .sidebar {
      position: fixed;
      top: 50px;
      left: 0;
      width: var(--sidebar-width);
      height: calc(100vh - 50px);
      background: #fff;
      border-right: 1px solid #eee;
      box-shadow: 2px 0 8px rgba(0,0,0,0.05);
      transition: transform 0.3s ease;
      z-index: 1002;
      padding: 20px 10px;
    }
	
    .sidebar.hide {
      transform: translateX(-100%);
    }

    .sidebar h6 {
      color: #6c757d;
      font-size: 12px;
      margin-top: 20px;
      margin-bottom: 8px;
      padding-left: 10px;
      transition: opacity 0.3s ease;
    }

    .sidebar a {
      display: flex;
      align-items: center;
      color: #333;
      padding: 8px 12px;
      border-radius: 0px;
      text-decoration: none;
      font-size: 14px;
      margin-bottom: 4px;
      transition: 0.2s;
    }

    .sidebar a i {
      min-width: 25px;
      text-align: center;
    }

    .sidebar a:hover {
      background: var(--blue-tvri);
      color: #ffd700;
    }

    .sidebar.collapsed a span {
      display: none;
    }

    /* OVERLAY */
    .overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.5);
      display: none;
      z-index: 1000;
      transition: opacity 0.3s ease;
    }

    .overlay.show {
      display: block;
      opacity: 1;
    }
	
    /* --- Profil Admin Dropdown --- */
    .profile-menu {
      position: relative;
      display: inline-block;
    }
    .profile-btn {
      background: transparent;
      border: none;
      color: white;
      font-size: 18px;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .profile-dropdown {
      display: none;
      position: absolute;
      right: 0;
      top: 110%;
      background-color: white;
      border-radius: 8px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.2);
      min-width: 160px;
      z-index: 100;
    }
    .profile-dropdown.active {
      display: block;
      animation: fadeIn 0.2s ease;
    }
    .profile-dropdown a {
      display: block;
      padding: 10px 15px;
      text-decoration: none;
      color: #003366;
      font-weight: 500;
    }
    .profile-dropdown a:hover {
      background-color: #f0f0f0;
    }
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(-5px); }
      to { opacity: 1; transform: translateY(0); }
    }
	
    /* Main Content */
    .main {
      margin-left: var(--sidebar-width);
      margin-top: 50px;
      padding: 20px;
      transition: margin-left 0.3s ease;
    }
	
    .main.full {
      margin-left: 0;
    }

    /* Cards */
	.stat-card {
      border: none;
      border-radius: 12px;
      padding: 20px;
      color: white;
      box-shadow: 0 3px 8px rgba(0,0,0,0.05);
	  transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
	
    .stat-card:hover { 
	  transform: scale(1.05); 
	  box-shadow:0 6px 16px rgba(0,0,0,0.08);  
	  color: #000;
	  cursor: pointer;
	}
    /*	
    .stat-card:hover { transform: scale(1.05); box-shadow: 0 6px 14px rgba(0,0,0,0.25); }

	.stat-card {
	  transition: all 0.3s ease-in-out;
	  transform: translateY(0);
	  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	}

	.stat-card:hover {
	  transform: translateY(-6px);
	  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.15);
	  cursor: pointer;
	}
	*/ 
	   
	.yellow { background: var(--yellow); }
    .red { background: var(--red); }
    .green { background: var(--green); }
    .blue { background: var(--blue); }

    .chart-card {
      border: none;
      border-radius: 12px;
      background: white;
      box-shadow: 0 2px 6px rgba(0,0,0,0.05);
      padding: 20px;
    }
	
    .chart-card p {
      color: #ffd700;
	  font-size:30px; 
    }
	
	barChart {
	  height: 500px !important;
	  width: 100% !important;
	}
	
    a {text-decoration: none; }
	
    .progress { height: 8px; border-radius: 4px; }
	
	footer { 
	  text-align:center; 
	  font-size:13px; 
	  color:var(--muted);
	}
	
	
	/* ======= Layar kecil max 576px ======= */
	@media (max-width: 576px) {

	  /* INDEX - HERO penuh layar */
	  .hero {
		min-height: 100vh;           /* full screen */
		padding-top: 120px !important; /* turun biar tidak ketutup navbar */
		padding-bottom: 60px;
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
	  }

	  /* H1 mengecil */
	  .hero h1 {
		font-size: 1.7rem !important;   /* sesuai ukuran HP */
		line-height: 1.3;
		text-align: center;
	  }

	  .hero p {
		font-size: 1rem !important;
		text-align: center;
	  }
	  
	  
	  /* ISI KONTEN (dokumentasi, tentang) */
	  .isi {
		padding-top:65px !important; /* turun biar tidak ketutup navbar */
	  }
      .isi p {
		max-width: 100% !important;
		padding: 0 35px !important;   /* margin kiri kanan */
		text-align: center !important; /* opsional: lebih rapi di hp */
		font-size: 16px !important;
	  }
  
  
	  /* SIDEBAR */
      .sidebar {
        transform: translateX(-100%);
      }
      .sidebar.show {
        transform: translateX(0);
      }
      .main {
        margin-left: 20px;
		margin-top:60px;
      }
	  
	  
	  /* DROPDOWD & SEARCH BOX */
	  .filter-container {
		flex-direction: column;      /* Susun ke bawah */
		align-items: center;         /* Tengah */
		text-align: center;
		transition: all 0.5s ease;
		width: 100%;
	  }

	  .filter-container .form-select,
	  .filter-container .input-group {
		align-items: center;         /* Tengah */
	  }
	}


