:root {
    --bg: #1a1a1a;
    --text: #f0f0f0;
    --card-bg: #2a2a2a;
    --badge-bg: #c90a0a;
    --btn-bg: #181818;
   font-family: Fontx;
scrollbar-width: thin; /* Membuat scrollbar lebih tipis */
  scrollbar-color: #888 #2a2a2a; /* Warna thumb dan warna track */
}

body {
    font-family: Arial, sans-serif;
    background: black;
    color: var(--text);
    padding: 20px;
scrollbar-width: thin; /* Membuat scrollbar lebih tipis */
  scrollbar-color: #888 #2a2a2a; /* Warna thumb dan warna track */
}


@font-face {
   font-family: Fontx;
   src: url(google.woff2);
}

* {
   font-family: Fontx;
}

h1, h3 {
    color: var(--text);
    font-size: 14px;
}

#problem-display {
    margin-top: 20px;
    padding: 20px;
    background: #00000000;
    border-radius: 10px;
    font-size: 12px;
}

#problem-display h3 {
    margin-top: 0;
    margin-bottom: 5px;
    color: #f0f0f0;
    font-size: 14px;
    margin-top: 20px;
}
#problem-display h3 b {
    font-size: 18px;
}
#problem-display ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}
#problem-display li {
    padding: 1px 0;
}

#problem-display .problem-separator {
    border: none;
    border-top: 1px dashed #a3a3a3;
    margin: 20px 0;
    height: 0;
}

.folder-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    margin-bottom: 10px;
    margin-left: 10px;
    margin-right: 5px;
}

.folder-btn {
    background: #00000000;
    color: white;
    padding: 10px 15px;
    border-radius: 20px;
    position: relative;
    cursor: pointer;
    font-size: 17px;
    white-space: nowrap;
    text-align: left;
    flex: 1 1 auto;
    max-width: 250px;
}

.folder-btn .badge {
    background: #00000000;
    color: white;
    border-radius: 999px;
    padding: 3px 8px;
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 12px;
    min-width: 10px;
    text-align: center;
    line-height: 10px;
    display: inline-block;
    font-weight: bold;
}


.content-area {
    background: #00000000;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
    font-size: 12px;
}

.search-input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 6px;
    border: none;
    font-size: 16px;
    background: black;
    color: white;
}

.search-input:focus {
    outline: none;
}

ul.pppoe-list {
    list-style: none;
    padding: 0;
}

ul.pppoe-list li {
    padding: 1px 0;
    border-bottom: 1px solid #00000000;
}

ul.pppoe-list li.separator {
    height: 15px;
    border-bottom: none;
    border-top: 1px dashed #959595;
    margin-top: 10px;
}

.folder-btn {
    box-sizing: border-box;
    text-align: left;
    font-size: 16px;
    font-weight: bold;
    padding-left: 0px;
}
.folder-btn b {
    font-size: 20px;
}


.folder-btn .badge {
    right: 50px;
    top: -1px;
}

.folder-btn .badge b {
    font-size: 14px;
}

.last-seen-text {
    font-size: 10px;
    opacity: 0.7;
    margin-left: 10px;
}
.duration-text {
    font-size: 10px;
    opacity: 0.7;
    margin-left: 10px;
}

@media (max-width: 768px) {
  .folder-btn {
    width: calc(50% - 10px);
    flex: 0 0 auto;
    text-align: center;
  }
}
div.fixed {
    position: fixed;
    bottom: 30px;
    border: 0px solid #00000000;
    right: 30px;
    font-size: 17px;
    font-weight: bolder;
    text-shadow: 2px 0px 29px #000000;
}

.overlay {
    height: 100%;
    width: 100%;
    display: none;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: rgb(0,0,0);
    background-color: rgb(0 0 0);
}

.overlay-content {
    position: relative;
    top: 15%; /* Sedikit naikkan agar lebih banyak ruang */
    width: 100%;
    text-align: center;
    margin-top: 30px;
    height: 80%; /* Batasi tinggi agar ada ruang atas/bawah */
    overflow-y: auto; /* INI YANG PALING PENTING */
}
.overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: #818181;
    display: block;
    transition: 0.3s;
    font-weight: bolder;
}

.overlay a:hover, .overlay a:focus {
  color: #f1f1f1;
}

.overlay .closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
}

@media screen and (max-height: 450px) {
  .overlay a {font-size: 20px}
  .overlay .closebtn {
  font-size: 40px;
  top: 15px;
  right: 35px;
  }
}

/* Tambahkan ini di akhir file src.css Anda */

hr.problem-separator {
    border: none;
    border-top: 1px dashed #939393;
    margin: 20px 0;
}

/* src.css */


#ticket-display ul li {
    padding: 1px 0;
    border-bottom: 1px solid #00000000;
    list-style-type: none;
    position: relative;
    padding-left: 0px;
  font-size: 12px;
}

#ticket-display ul li::before {
    content: ''; /* Use the provided emoji */
    position: absolute;
    left: 0;
    top: 40%;
  font-size: 12px;
    transform: translateY(-50%);
    font-size: inherit; /* Make the emoji size consistent with the text */
}






ul {
    display: block;
    list-style-type: disc;
    margin-block-start: 1em;
    margin-block-end: 1em;
    padding-inline-start: 2px;
    unicode-bidi: isolate;
}


.ticket-area {
  font-size: 12px;
  padding-left: 20px;
}


.overlay-content {
  transition: all 0.4s ease;
  transform: scale(0.95);
}
.overlay[style*="display: block"] .overlay-content {
  transform: scale(1);
}



a {
    text-decoration: none;
    color: #d5d5d5;
}

a:link {
  text-decoration: none;
}

a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

a:active {
  text-decoration: none;
}


#bg-network {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Efek scanline CRT seperti monitor retro */
#bg-network::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(0, 255, 0, 0.03),
    rgba(0, 255, 0, 0.03) 1px,
    transparent 1px,
    transparent 2px
  );
  z-index: -2;
}






/* Untuk browser berbasis WebKit (Chrome, Safari, Edge, dll.) */

/* Mengatur keseluruhan scrollbar */
::-webkit-scrollbar {
  width: 0px; /* Lebar scrollbar vertikal */
  height: 0px; /* Tinggi scrollbar horizontal */
}

/* Mengatur bagian track (jalur) scrollbar */
::-webkit-scrollbar-track {
  background: #2a2a2a; /* Warna latar belakang track, sesuaikan dengan --card-bg Anda */
  border-radius: 0px;
}

/* Mengatur bagian thumb (gagang) scrollbar */
::-webkit-scrollbar-thumb {
  background-color: #888; /* Warna gagang scrollbar */
  border-radius: 0px; /* Membuat gagang menjadi bulat */
  border: 1px solid #2a2a2a; /* Memberi sedikit jarak dari track */
}

/* Mengatur tampilan thumb saat di-hover */
::-webkit-scrollbar-thumb:hover {
  background-color: #b3b3b3; /* Warna gagang saat mouse di atasnya */
}
.center {
    top: 50%;
    text-align: center;
    padding-bottom: 20px;
}

    .content-area {
        transition: opacity 0.3s ease-in-out;
    }
    .content-area.updating {
        opacity: 0.5;
    }


/* Popup background */
#refreshPopup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 1s ease;
}

/* Icon/logo */
#refreshPopup .logo {
  font-size: 72px;
  opacity: 0;
  transition: opacity 1.5s ease;
}


/* Hide scrollbar for Chrome, Safari and Opera */
.example::-webkit-scrollbar {
    display: none;
  width: 0px; /* Lebar scrollbar vertikal */
  height: 0px; /* Tinggi scrollbar horizontal */
}

/* Hide scrollbar for IE, Edge and Firefox */
.example {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
  width: 0px; /* Lebar scrollbar vertikal */
  height: 0px; /* Tinggi scrollbar horizontal */
}

