*{box-sizing:border-box;margin:0;padding:0}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

html,body{height:100%}
body{
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  background:#f3f3f3;
  overflow-x:hidden;
}

/* HEADER */
header{
  position:fixed;
  top:0;left:0;right:0;
  display:flex;
  align-items:center;
  gap:14px;
  padding:10px 18px;
  background:rgba(188,58,68,0.7);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(0,0,0,0.08);
  z-index:20;
}
header img{height:48px}
header h2{font-size:20px;font-weight:600;color:#222}
/*header div {position: absolute; top: 40px;right: 25px;} */

/* NAVIGATION */
header nav {position: absolute; top: 5px; right: 25px;}
.xnavbar{ background-color: transparent; margin: 0; padding: 10px 10px;}

/*.xcontainer{ display: flex; justify-content: space-between; align-items: center; } */
.xtombol{ display: none; color: white; font-size: 14pt;}  
.xtombol:hover{ cursor: pointer; }
 
.xmenu{ margin: 0; display: flex; list-style: none; padding: 0;}
.xmenu li{ padding-left: 0; margin-right: 10px; }
.xmenu li a{ padding:10px; color: white; text-decoration: none; display: inline-block;}
 
@media screen and (max-width: 768px) {
	.xmenu { display: none; }
	.xmenu.aktif{
		display:inline-block;
		position: absolute;
		top: 64px;		
		background: #C94E56;
		padding: 10px 5px;
		right: -25px !important;
		width: 100px;		
	} 
	.xmenu.aktif li a{ padding: 10px; display: inline-block !important; } 
	.xtombol { display: block;}
}	
/* FLAG BG */
.flag-wrap{position:fixed;inset:0;z-index:-1;opacity:0.55}
svg.flag{width:140%;height:100%;animation:float 6s ease-in-out infinite}
.wave-1{animation:waveMove 6s linear infinite}
.wave-2{animation:waveMove 8s linear infinite}

@keyframes float{0%{transform:translateY(0)}50%{transform:translateY(-6px)}100%{transform:translateY(0)}}
@keyframes waveMove{0%{transform:translateX(0)}100%{transform:translateX(-15%)}}

/* CONTENT WRAPPER */
main{margin-top:90px;padding:20px;display:flex;flex-direction:column;gap:28px}
.card{
  background:rgba(255,255,255,0.82);
  backdrop-filter:blur(8px);
  border-radius:16px;
  padding:20px;
  box-shadow:0 6px 24px rgba(0,0,0,0.15);
  font-size:15px;
}
.card h3{margin-bottom:12px;font-size:28px}
.card ul,ol{margin-left:20px;}


.login-box input{
  width:100%;padding:10px;margin-bottom:10px;
  border:1px solid #aaa;border-radius:6px;
}
.login-box button{
  padding:10px 14px;border:none;border-radius:6px;background:#d10f19;color:white;font-weight:600;cursor:pointer;
}

footer{
  margin-top:20px;padding:16px;text-align:center;font-size:14px;background:#ffffffaa;border-radius:14px;
  backdrop-filter:blur(6px);
}

 /* IMAGES CAROUSEL */
 
 .carousel{
    width:100%;
    overflow:hidden;
    margin-top:10px;
    margin-bottom:10px;
  }
  .slider{
    position:relative;
    width:100%;
    height:450px;
    display:flex;
	border-radius: 10px;
    animation:slideShow 15s infinite;
  }
  .slide{
    flex:0 0 100%;
    width:100%;
	
  }
  .slide img{
    width:100%;
    height:450px;
    object-fit:cover;
	border-radius: 10px;
	opacity: 0.9;
  }
  @keyframes slideShow{
    0%{transform:translateX(0)}
    20%{transform:translateX(0)}

    25%{transform:translateX(-100%)}
    45%{transform:translateX(-100%)}

    50%{transform:translateX(-200%)}
    70%{transform:translateX(-200%)}

    75%{transform:translateX(-300%)}
    95%{transform:translateX(-300%)}

    100%{transform:translateX(0)}
  }	
 
  /* CHART */
.chart-container {
  width: 100%;
  max-width: 600px; /* Optional: limit chart width */
  margin: 20px auto;
}

.chart-row {
  display: flex; /* Use Flexbox for horizontal arrangement */
  align-items: center; /* Vertically align items in the row */
  margin-bottom: 10px;
}

.label {
  flex-basis: 80px; /* Fixed width for labels */
  margin-right: 10px;
  font-weight: bold;
}

.bar {
  background-color: #3e6599; /* Bar color */
  height: 20px; /* Bar height */
  border-radius: 3px;
  transition: width 0.5s ease-in-out; /* Optional: smooth bar animation */
}

.bar2 {
  background-color: #3f9b69; /* Bar color */
  height: 20px; /* Bar height */
  border-radius: 3px;
  transition: width 0.5s ease-in-out; /* Optional: smooth bar animation */
}

.value {
  margin-left: 10px;
  font-size: 0.9em;
  color: #555;
}

/*CARD NUMBER */
.dashboard {
        max-width: 1200px;
        margin: auto;
        padding: 40px 20px;
        display: grid;
        gap: 20px;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

.cardnumber {
	background: #fff;
	padding: 25px;
	border-radius: 18px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.08);
	display: flex;
	flex-direction: column;
	gap: 10px;
	transition: .3s;
}

.cardnumber:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

.infoicon {
	font-size: 10px;
	color: #4caf50;
}

.infoicon2 {
	font-size: 10px;
	color: #d1b06c;
}

.infoicon3 {
	font-size: 10px;
	color: #c94e56;
}

.infojum {
	font-size: 38px;
	font-weight: bold;
}

.infolabel {
	font-size: 15px;
	color: #666;
}

/*COLLAPSE TAB */
  .collapse-container {
      width: 100%;
      max-width: 100%;
      background: #fff;
      border-radius: 8px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);
      overflow: hidden;
    }

    /* Toggle button */
    .collapse-label {
      display: block;
      background: #D1B06C;
      color: white;
      padding: 10px;
      font-size: 12px;
      font-weight: bold;
      cursor: pointer;
      user-select: none;
      transition: background 0.3s;
    }

    .collapse-label:hover {
      background: #2980b9;
    }

    /* Hide checkbox */
    #toggle1,#toggle2,#toggle3,#toggle4,#toggle5,#toggle6,#toggle7,#toggle8,#toggle9,#toggle10,
	#toggle11,#toggle12,#toggle13,#toggle14,#toggle15,#toggle16,#toggle17,#toggle18,#toggle19,#toggle20,
    #toggle21,#toggle22,#toggle23,#toggle24,#toggle25,#toggle26,#toggle27,#toggle28,#toggle29,#toggle30,
    #toggle31,#toggle32,#toggle33,#toggle34,#toggle35,#toggle36,#toggle37,#toggle38,#toggle39,#toggle40,
	#togglex,#toggley
	{
      display: none;
    }

    /* Table section (hidden by default) */
    .table-container {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.5s ease, padding 0.5s ease;
      padding: 0 15px;
    }

    /* Show when checkbox is checked */
    #toggle1:checked + .collapse-label + .table-container {max-height: 100%; padding: 15px;}
	#toggle2:checked + .collapse-label + .table-container {max-height: 100%; padding: 15px;}
	#toggle3:checked + .collapse-label + .table-container {max-height: 100%; padding: 15px;}
	#toggle4:checked + .collapse-label + .table-container {max-height: 100%; padding: 15px;}
	#toggle5:checked + .collapse-label + .table-container {max-height: 100%; padding: 15px;}
	#toggle6:checked + .collapse-label + .table-container {max-height: 100%; padding: 15px;}
	#toggle7:checked + .collapse-label + .table-container {max-height: 100%; padding: 15px;}
	#toggle8:checked + .collapse-label + .table-container {max-height: 100%; padding: 15px;}
	#toggle9:checked + .collapse-label + .table-container {max-height: 100%; padding: 15px;}
	#toggle10:checked + .collapse-label + .table-container {max-height: 100%; padding: 15px;}
	#toggle11:checked + .collapse-label + .table-container {max-height: 100%; padding: 15px;}
	#toggle12:checked + .collapse-label + .table-container {max-height: 100%; padding: 15px;}
	#toggle13:checked + .collapse-label + .table-container {max-height: 100%; padding: 15px;}
	#toggle14:checked + .collapse-label + .table-container {max-height: 100%; padding: 15px;}
	#toggle15:checked + .collapse-label + .table-container {max-height: 100%; padding: 15px;}
	#toggle16:checked + .collapse-label + .table-container {max-height: 100%; padding: 15px;}
	#toggle17:checked + .collapse-label + .table-container {max-height: 100%; padding: 15px;}
	#toggle18:checked + .collapse-label + .table-container {max-height: 100%; padding: 15px;}
	#toggle19:checked + .collapse-label + .table-container {max-height: 100%; padding: 15px;}
	#toggle20:checked + .collapse-label + .table-container {max-height: 100%; padding: 15px;}
	#toggle21:checked + .collapse-label + .table-container {max-height: 100%; padding: 15px;}
	#toggle22:checked + .collapse-label + .table-container {max-height: 100%; padding: 15px;}
	#toggle23:checked + .collapse-label + .table-container {max-height: 100%; padding: 15px;}
	#toggle24:checked + .collapse-label + .table-container {max-height: 100%; padding: 15px;}
	#toggle25:checked + .collapse-label + .table-container {max-height: 100%; padding: 15px;}
	#toggle26:checked + .collapse-label + .table-container {max-height: 100%; padding: 15px;}
	#toggle27:checked + .collapse-label + .table-container {max-height: 100%; padding: 15px;}
	#toggle28:checked + .collapse-label + .table-container {max-height: 100%; padding: 15px;}
	#toggle29:checked + .collapse-label + .table-container {max-height: 100%; padding: 15px;}
	#toggle30:checked + .collapse-label + .table-container {max-height: 100%; padding: 15px;}
	#toggle31:checked + .collapse-label + .table-container {max-height: 100%; padding: 15px;}
	#toggle32:checked + .collapse-label + .table-container {max-height: 100%; padding: 15px;}
	#toggle33:checked + .collapse-label + .table-container {max-height: 100%; padding: 15px;}
	#toggle34:checked + .collapse-label + .table-container {max-height: 100%; padding: 15px;}
	#toggle35:checked + .collapse-label + .table-container {max-height: 100%; padding: 15px;}
	#toggle36:checked + .collapse-label + .table-container {max-height: 100%; padding: 15px;}
	#toggle37:checked + .collapse-label + .table-container {max-height: 100%; padding: 15px;}
	#toggle38:checked + .collapse-label + .table-container {max-height: 100%; padding: 15px;}
	#toggle39:checked + .collapse-label + .table-container {max-height: 100%; padding: 15px;}
	#toggle40:checked + .collapse-label + .table-container {max-height: 100%; padding: 15px;}
	#togglex:checked + .collapse-label + .table-container {max-height: 100%; padding: 15px;}
	#toggley:checked + .collapse-label + .table-container {max-height: 100%; padding: 15px;}
