@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap");
@font-face {
  font-family: "Pogonia";
  src: url("nusamba/fonts/pogonia/pogonia-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Pogonia";
  src: url("nusamba/fonts/pogonia/pogonia-medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: "Pogonia";
  src: url("nusamba/fonts/pogonia/pogonia-semibold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: "Pogonia";
  src: url("nusamba/fonts/pogonia/pogonia-bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: "Pogonia";
  src: url("nusamba/fonts/pogonia/pogonia-extrabold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
}
@font-face {
  font-family: "Pogonia";
  src: url("nusamba/fonts/pogonia/pogonia-light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: "Pogonia";
  src: url("nusamba/fonts/pogonia/pogonia-extralight.ttf") format("truetype");
  font-weight: 200;
  font-style: normal;
}
body {
  font-family: "Pogonia", sans-serif;
  background: url("bg-01.png") no-repeat center center fixed;
  background-size: cover;
  position: relative;
  /* overflow: hidden; */
}
.bg-mainmenu {
  background: linear-gradient(135deg, #103cbe 0%, rgb(35, 114, 179) 100%);
}
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 20%,
      rgba(99, 180, 255, 0.507),
      transparent 25%
    ),
    radial-gradient(circle at 80% 80%, rgba(31, 192, 255, 0), transparent 25%);
  z-index: -2;
}
.font-medium {
  font-weight: 500;
}
.font-bold {
  font-weight: 700;
}
.font-extrabold {
  font-weight: 800;
}
.geometric-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(
    135deg,
    rgba(41, 103, 255, 0.05) 0%,
    rgba(41, 103, 255, 0.02) 100%
  );
  overflow: hidden;
}
.geometric-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
      45deg,
      rgba(41, 103, 255, 0.15) 1px,
      transparent 1px
    ),
    linear-gradient(-45deg, rgba(41, 103, 255, 0.15) 1px, transparent 1px);
  background-size: 50px 50px;
  transform-origin: center center;
  transition: transform 0.3s ease-in-out;
  animation: gridMove 20s linear infinite;
}
.geometric-dots {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(41, 103, 255, 0.8);
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(41, 103, 255, 0.6);
}
.floating-alert {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: auto;
  display: inline-block;
  white-space: nowrap;
  text-align: center;
  padding-right: 40px;
  /* Memberi ruang untuk tombol close */
}
@keyframes gridMove {
  0% {
    transform: translateX(-50px) translateY(-50px);
  }
  100% {
    transform: translateX(0) translateY(0);
  }
}
/*------------ Login container ------------*/
.box-area {
  width: 930px;
}
/*------------ Right box ------------*/
.right-box {
  padding: 40px 30px 40px 40px;
}
/*------------ Custom Placeholder ------------*/
::placeholder {
  font-size: 16px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}
.rounded-4 {
  border-radius: 20px;
}
.rounded-5 {
  border-radius: 30px;
}
/*------------ For small screens------------*/
@media only screen and (max-width: 768px) {
  .box-area {
    margin: 0 10px;
  }
  .left-box {
    height: 100px;
    overflow: hidden;
  }
  .right-box {
    padding: 20px;
  }
  body {
    min-height: 100vh;
    overflow: auto;
  }
}
/* Tambahan style untuk satelit */
/* .floating-satellite {
  position: absolute;
  width: 160px;
  height: auto;
  opacity: 0.8;
  animation: floatSatellite 40s linear infinite;
} */
/* Animasi untuk satelit */
@keyframes floatSatellite {
  0% {
    transform: translate(-100px, 50vh) rotate(0deg);
    opacity: 0;
  }
  2% {
    opacity: 0.8;
  }
  23% {
    opacity: 0.8;
  }
  25% {
    transform: translate(100vw, 50vh) rotate(90deg);
    opacity: 0;
  }
  25.1% {
    transform: translate(50vw, -100px) rotate(90deg);
    opacity: 0;
  }
  27% {
    opacity: 0.8;
  }
  48% {
    opacity: 0.8;
  }
  50% {
    transform: translate(50vw, 100vh) rotate(180deg);
    opacity: 0;
  }
  50.1% {
    transform: translate(100vw, 50vh) rotate(180deg);
    opacity: 0;
  }
  52% {
    opacity: 0.8;
  }
  73% {
    opacity: 0.8;
  }
  75% {
    transform: translate(-100px, 50vh) rotate(270deg);
    opacity: 0;
  }
  75.1% {
    transform: translate(50vw, 100vh) rotate(270deg);
    opacity: 0;
  }
  77% {
    opacity: 0.8;
  }
  98% {
    opacity: 0.8;
  }
  100% {
    transform: translate(50vw, -100px) rotate(360deg);
    opacity: 0;
  }
}
.menu-button {
  height: 60px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: 0 20px !important;
  font-size: 0.9rem;
  text-align: left !important;
  background: linear-gradient(135deg, #217ae0 0%, #005bc2 100%);
  transition: background 0.3s ease;
}
.menu-button:hover {
  background: linear-gradient(135deg, #2975cc 0%, #004492 100%);
}
.menu-button span {
  text-align: left !important;
}
.menu-button i {
  font-size: 1.2rem;
  margin-right: 15px !important;
}
@media (max-width: 768px) {
  .menu-button {
    height: 50px !important;
    font-size: 0.85rem;
  }
  .menu-button i {
    margin-right: 12px !important;
  }
}
@media (max-width: 576px) {
  .menu-button {
    height: 45px !important;
    font-size: 0.8rem;
    padding: 0 15px !important;
  }
  .menu-button i {
    margin-right: 10px !important;
  }
}
.menu-button.admin-key {
  background: linear-gradient(135deg, #d44949 0%, #ff5757 100%);
  transition: background 0.3s ease;
}
.menu-button.admin-key:hover {
  background: linear-gradient(135deg, #e62e2e 0%, #ff3333 100%);
}
