@charset "utf-8";
/* CSS Document */

:root {
  --blue: #0066cc;
  --blue2: #0099ff;
  --blue-dark: #003566;

  --green: #2ecc71;
  --red: #ff4f5e;
  --yellow: #f1c40f;
  --orange: #ff8c42;
  --purple: #9b59b6;
  --pink: #ff5da2;

  --bg: #eef3f8;
  --card: #ffffff;
  --shadow: 0 5px 20px rgba(0,0,0,0.1);

  --rounded: 18px;
}

/* --- Global --- */
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: Roboto-Light;
}
html, body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: visible;
}

.header {
  margin: 0;
}

.topnav {
  position: sticky;
  margin: 0;
  top: 0;
  margin-top: -10px;
  background: linear-gradient(90deg, var(--blue-dark), var(--blue));
  height: 80px;
  box-shadow: 0px 2px 10px 0px black;
  font-family: Roboto-Medium;
  line-height: 1.2;
  z-index: 9999;
}
.content{
  overflow-x: hidden; 
}
.startbtn {
  margin-top: 21px;
  margin-left: 20px;
  background: none;
  border: none;
}
.startbtn img:hover {
  
  box-shadow: 0px 0px 15px rgb(255, 255, 255);
  transition: 0.3s;
  transform: scale(1.1);
}
.startbtn img {
  height: 30px;
}
.startlogoDD {
  position: relative;
  float: left;
  display: inline-block;
  
  font-size: 17px;
}
.start-content {
  display: none;
  position: absolute;
  background-color: #444444d5;
  margin-top: 25px;
  min-width: 220px;
  overflow: auto;
  box-shadow: 0px 5px 10px 0px black;
  z-index: 1;
  font-family: Roboto-Regular;
}
.start-content a {
  color: rgb(255, 255, 255);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}
.start-content.show {
  display: block;
}
.startlogoDD .start-content a:hover {
  background-color: #a7a7a7c0;
}
.start-content a > .liveDashboard{
  color: #f80000;
}
.liveIcon {
  animation: pulse 0.5s infinite;
}
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}


.navLogo{
	float: left;
  margin-left: 20px;
  margin-top: 20px;
}
.navLogo #bkpsdmdLogo {
	height: 35px;
}

.navRight {
  float: right;
  height: 80px;
	background:none;
  margin: auto;
  vertical-align: middle;
}
.navRight a {
  float: left;
  display: block;
  color: white;
  padding: 25px 20px 20px 20px;
  text-decoration: none;
  font-size: 17px;
  
}

.topnav .icon {
	display: none;
  background: none;
}
.dropdown {
  float: left;
  background:none;
}
.nav-announcement {
    position: relative;
    display: inline-block;
}

/* Badge Style */
.new-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #f80000;
    color: white;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 25px;
    animation: pulse1 1.0s infinite ease-in-out;
}
/* Little glowing animation */
@keyframes pulse1 {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.dropdown .dropbtn {
  cursor: pointer;
  font-size: 17px;    
  border: none;
  outline: none;
  color: white;
  padding: 30px 20px;
  font-family: inherit;
  transition: all 0.5s ease-in-out;
  background:none;
}
.navRight a,
.dropdown .dropbtn {
  padding: 30px 20px;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #ffffffec;
  min-width: 160px;
  box-shadow: 0px 5px 10px 0px black;
  z-index: 1;
  overflow: hidden;
  transition: all 0.5s ease-in-out;
}

.dropdown-content a {
  float: none;
  color: rgb(0, 0, 0);
  padding: 10px 20px;
  text-decoration: none;
  font-family: Roboto-Light;
  display: block;
  text-align: left;
  font-size: 15px; 
  min-width: 160px;
  transition: all 0.3s ease-in-out;
}

.navRight a:hover, .dropdown:hover .dropbtn {
  background-color: #eeeeee;
  color: #0077b6;
}
.dropdown .dropdown-content a:hover {
  background-color: #eeeeee;
  color: #0077b6;
}

@media (min-width: 1000px) {
  .dropdown:hover > .dropdown-content {
    display: block;
    transition: all 0.5s ease-in-out;
  }
}

@media screen and (max-width: 1200px) {
  
  .navRight a:not(:empty), .dropdown .dropbtn { 
	  display: none;
	}
  .navRight {
    background: linear-gradient(90deg, var(--blue-dark), var(--blue));
  }
  .navRight a{
    width: 100%;
  }
  .topnav a.icon {
    width: 70px;
    float: right;
    display: inline;
    padding: 30px 30px;
    font-size: 30px;
    background:rgb(0, 132, 255);
  }
  .topnav a.icon:hover{
    color: rgb(255, 166, 0);
  }
  
  .topnav.responsive {
	  position: sticky;
	  float: left;
	  width: 100%;
    margin-top: -10px;
	}
  .topnav.responsive a {
    display: flex;
    text-align: left;
    background: linear-gradient(90deg, var(--blue-dark), var(--blue));
  }
  .topnav.responsive .icon {
    position: absolute;
    float: right;
    right: 0;
    top:0;
    background:rgb(0, 132, 255);
  }
	.topnav.responsive .navRight {
		width: 100%;
    margin-top: 25px;
	}
  .topnav.responsive .navRight a:hover {
		color: rgb(0, 153, 255);
    background: rgb(255, 255, 255);
    transition: all 1s ease-in-out;
	}
  .topnav.responsive .dropdown button:hover {
		color: rgb(0, 153, 255);
    width: 100%;
    background: rgb(255, 255, 255);
	}
  
  .topnav.responsive .dropdown {
	  float: none;
    background: linear-gradient(90deg, var(--blue-dark), var(--blue));
	}
  .topnav.responsive .dropdown-content {
	  position: relative;
    
    background-color: #0099ff;
	}
  .topnav.responsive .navRight .dropdown .dropdown-content a {
    color: white;
    background-color: #0099ff;
    width: 100%;
    padding: 20px;
  }
  .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
    color: white;
  }
  
  .dropdown-content.show {
    display: block;
    
  }
}


/* =================================== BACK TO TOP BUTTON =========================================*/
/* Go to Top Button */
.gotoTop {
  display: none; /* awalnya disembunyikan */
  position: fixed;
  bottom: 90px;
  right: 25px;
  z-index: 1000;
  cursor: pointer;
  background-color: #0077b6;
  border-radius: 50%;
  padding: 10px;
  transition: opacity 0.3s;
}
.gotoTop img {
  width: 40px;
  height: 40px;
}

/* Floating WA Container */
.floating-wa {
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 9999;
}

/* WhatsApp Button */
.wa-button {
    background-color: #00ff5e;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    transition: 0.3s ease;
    animation: pulse 2s infinite;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wa-button img { width: 35px; }

/* Tooltip text */
.floating-wa h4 {
    display: none;
    position: absolute;
    right: 70px;
    bottom: -18px;
    background-color: #00c855;
    color: #fff;
    padding: 8px 14px;
    border-radius: 6px;
    font-family: Roboto-Light;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    white-space: nowrap;
}

/* Show tooltip on hover */
.floating-wa:hover h4 {
    display: block;
}



/* =================================== FOOTER =========================================*/
.footer{
  margin: auto;
  display: flex;
  flex-direction: row;
  overflow: hidden;
  width: 100%;
  z-index: 999;
	color: white;
	font-family: Roboto-Regular;
	font-size: 15px;
  background: linear-gradient(90deg, var(--blue2), var(--blue-dark));
}
.first{
  
  padding: 20px;
  width: 30%;
}
.second {
  width: 40%;
	text-align: left;
	
	color: white;
  padding: 20px;
}
.third {
  width: 30%;
  
  padding: 20px;
}
.fourth {
  width: 30%;
	
  padding: 20px;
  line-height: 1.8;
}
.fourth p {
	text-align: left;
	padding-top: 10px;
}
#todayVisits, #monthVisits, #yearVisits, #totalVisits, #totalHits{
  background-color: #00ccff;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 18px;
  
} 
.first img, .fourth img {
  margin: auto;
  display: block;
  width: 70%;
}
.second img{
	width: 40px;
	margin-right: 10px;
}
.third img {
	width: 40px;
	margin-left: 5px;
	padding-bottom: 20px;
}
/* On smaller screens, decrease text size */
@media only screen and (max-width: 1000px) {
  .footer{
    flex-direction: column;
  }
  .first, .second, .third, .fourth{
    width: 100%;
  }

}

.copyright{
  width: 100%;
  background: linear-gradient(90deg, var(--blue-dark), var(--blue));
  color:#ffffff;
  text-align: center;
  font-size: 18px;
  padding: 10px 10px;
}
.developer{
  width: 100%;
  background: linear-gradient(90deg, var(--blue-dark), var(--blue));
  color:#ffffff;
  text-align: center;
  font-size: 13px;
  padding-bottom: 10px;
}
.developer a{
  color: #eeeeee;
}

.tooltip {
  position: relative;
  display: inline-block;
  cursor: pointer;
}
.tooltip:hover{
  font-size: 17px;
}
.tooltip .tooltip-text {
  visibility: hidden;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 5px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 125%; /* Posisi di atas */
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;

  opacity: 0;
  transition: 0.3s;
}

.tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

