body { 
    font-family: 'Poppins', sans-serif;
    padding: 20px; 
    background-color: #f8f9fa;
}

#toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
}

.toast {
  background-color: #28a745cc;
  color: #fff;
  padding: 10px 16px;
  margin-bottom: 10px;
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  animation: fadeInOut 3s ease forwards;
}

.toast-error {
  background-color: rgb(247,46,46);
  color: #f9fbfa;
  padding: 10px 16px;
  margin-bottom: 10px;
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  animation: fadeInOut 3s ease forwards;
}

@keyframes fadeInOut {
  0% {opacity: 0; transform: translateY(-10px);}
  10%, 90% {opacity: 1; transform: translateY(0);}
  100% {opacity: 0; transform: translateY(-10px);}
}

/* Header */
.header {
    display: flex;
    height: 25px;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(3px);
    padding: 10px 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* Tambahkan bayangan agar lebih menonjol */
    border: 1px solid rgba(255, 255, 255, 0.6); /* Tambahkan border agar terlihat lebih jelas */
    max-width: 900px;
    margin: 1px auto;
    position: sticky;
    top: 10px;
    z-index: 1000;
}

.header h1 {
    font-size: 1.4em;
    font-weight: bold;
    background: linear-gradient(to right, #2196f3, #e665f6, #64b5f6);
    background-size: 500%; /* Ukuran lebih besar agar animasi terlihat */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 10s ease-in infinite;
}

.header strong {
    font-size: 1em;
    font-family: monospace;
}

.header svg {
  height: 20px;
  width: 20px;
}

.header a {
    background: #3b82f6;
    text-decoration: none;
    color: white;
    border: none;
    padding: 5px 6px; /* Kurangi padding agar tidak terlalu besar */
    border-radius: 5px;
    cursor: pointer;
    display: flex; /* Agar ikon tidak menambah tinggi tombol */
    align-items: center;
    justify-content: center;
}

.cari {
  text-align: center;
}

#search-input {
  width: 100%;
  max-width: 100px;
  padding: 8px 6px;
  font-size: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  outline: none;
  transition: 0.3s;
  margin-right: 2px;
}

@keyframes glowHighlight {
  0% {
    box-shadow: 0 0 0px rgba(0, 123, 255, 0.8);
    background-color: rgba(0, 123, 255, 0.05);
  }
  50% {
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.6);
    background-color: rgba(0, 123, 255, 0.1);
  }
  100% {
    box-shadow: 0 0 0px rgba(0, 123, 255, 0);
    background-color: transparent;
  }
}

.endpoint-item.highlight {
  animation: glowHighlight 1.2s ease-out;
  border-radius: 8px;
}

#search-input:focus {
  border-color: #007bff;
}

.info-board {
  padding: 20px;
  margin: 20px auto;
  max-width: 700px;
  background-color: #f9f9f9;
  border-radius: 12px;
  border-top: 4px solid #007bff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.info-board h3 {
  font-size: 15px;
  margin-bottom: 12px;
  font-weight: 600;
  color: #333;
}

.info-table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  font-family: 'Poppins', sans-serif;
  overflow: hidden;
  border-radius: 12px;
}

.info-table thead {
  background-color: #007bff;
  color: white;
}

.info-table thead th {
  padding: 10px 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  text-align: left;
  font-weight: 600;
  font-size: 14px;
}

.info-table thead th:last-child {
  border-right: none;
}

.info-table thead th:first-child {
  border-top-left-radius: 12px;
}

.info-table thead th:last-child {
  border-top-right-radius: 12px;
}

.info-table tbody td {
  padding: 10px 14px;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}

.info-table th,
.info-table td {
  padding: 10px 14px;
  text-align: left;
}


.info-table thead th:first-child {
  border-top-left-radius: 12px;
}

.info-table thead th:last-child {
  border-top-right-radius: 12px;
}

.info-table tr:nth-child(even) {
  background-color: #f0f4f8;
}

.container { 
    max-width: 800px; 
    margin: auto; 
}

.container .hero_brand {
  text-align: center;
  margin: 50px auto;
  font-size: 1.3em;
}

.hero_brand p {
  color: #333;
  font-size: 12px;
}

.buttons {
    margin-top: 50px;
    animation: buttonFromBottom 1s forwards;
    display: flex;
    gap: 8px; /* Jarak antar tombol */
    flex-wrap: wrap; /* Agar tidak bertumpuk saat layar kecil */
    justify-content: center; /* Posisikan tombol ke tengah */
}

.buttons a {
    flex: 0 1 auto; 
    min-width: 100px; 
    max-width: 200px;
    text-align: center; 
    white-space: nowrap; 
    background: #3b82f6;
    color: white;
    border: none;
    padding: 8px 10px;
    width: auto; /* Sesuai konten */
    border-radius: 5px;
    font-size: 12px;
    cursor: pointer;
    margin: 5px;
    text-decoration: none;
}

.buttons a svg {
    width: 13px; /* Ukuran ikon lebih kecil */
    height: 13px;
    vertical-align: middle;
    margin-right: 5px;
}

.unggulan {
  margin-top: 200px;
  text-align: center;
}

.cards-container {
    max-width: 700px;
    margin: 30px auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.card {
    background: #ffffff;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
    width: calc(50% - 20px);
    min-width: 300px;
    text-align: left;
}

.card:hover {
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2); /* Bayangan lebih besar */
    transform: translateY(-5px); /* Mengangkat sedikit ke atas */
    transition: all 0.3s ease-in-out; /* Animasi agar smooth */
}

.card h3 {
    font-size: 15px;
    color: #333;
    margin-bottom: 10px;
    transform: translateY(-20px); /* Awalnya naik ke atas */
    opacity: 0; /* Transparan */
    transition: transform 0.6s ease-out, opacity 0.6s ease-out;
}

.card p {
    font-size: 11px;
    color: #666;
    text-align: left;
    transform: translateX(-20px); /* Awalnya bergeser ke kiri */
    opacity: 0; /* Transparan */
    transition: transform 0.6s ease-out, opacity 0.6s ease-out;
}

.card svg {
  height: 20px;
  width: 20px;
}

.card.show h3 {
    transform: translateY(0); /* Turun ke posisi semula */
    opacity: 1; /* Muncul */
}

.card.show p {
    transform: translateX(0); /* Kembali ke posisi normal */
    opacity: 1; /* Muncul */
}

/* Tambahkan efek saat elemen menghilang */
.card.hide h3 {
    transform: translateY(20px); /* Turun ke bawah saat hilang */
    opacity: 0;
}

.card.hide p {
    transform: translateX(20px); /* Geser ke kanan saat hilang */
    opacity: 0;
}

.group-header {
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 10px;
}

.btn svg, .titik_akhir svg  {
  height: 10px;
  width: 10px;
}

.titik_akhir {
  font-size: 10px;
}

.titik_akhir svg {
  margin-right: 3px;
}

.metot {
    display: inline-block;
    background: rgba(0, 128, 0, 0.2);
    color: #065f0f;
    padding: 4px 6px;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 10px;
}

.btn {
    padding: 5px 10px;
    margin-top: 5px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 11px;
    border: none;
    font-family: 'Poppins';
}

.btn-copy {
    background: rgba(104, 100, 100, 0.8);
    color: #f9fbfa;
}
.btn-try {
    background: rgba(0, 123, 255, 0.8); 
    color: #f9fbfa;
}
.btn-report {
  background: rgb(247,46,46);
  color: #f9fbfa;
}

h2 {
    color: #333;
}

.endpoint-count {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #007bff;
    color: white;
    padding: 5px 7px;
    border-radius: 15px;
    font-size: 10px;
}

.endpoint-item {
    padding: 15px 0;
    border-bottom: 1.5px solid #e0e0e0;
}

.judule {
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.status-active {
    background: rgba(0, 128, 0, 0.2); /* Hijau transparan */
    color: #065f0f;
}

.status-error {
    background: rgba(255, 0, 0, 0.2); /* Merah transparan */
    color: #8b0000;
}

.status {
    display: inline-block;
    padding: 4px 6px;
    border-radius: 5px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    font-weight: bold;
    font-size: 9px;
}

.endpoint-item:last-child {
    border-bottom: none;
}

.brand {
  font-size: 1.3em;
  font-weight: bold;
  background: -webkit-linear-gradient(left, #2196f3, #e665f6f6, #64b5f6);
  background: -moz-linear-gradient(left, #2196f3, #e665f6f6, #64b5f6);
  background: -o-linear-gradient(left, #2196f3, #e665f6f6, #64b5f6);
  background: linear-gradient(to right, #2196f3, #e665f6f6, #64b5f6);
  background-size: 500%; /* Ukuran lebih besar agar animasi terlihat */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientMove 10s ease-in infinite;
}

.request-form label {
  display: block;
  margin-bottom: 1px;
  font-weight: 500;
  color: #333;
  font-size: 12px;
  text-align: start;
}

.request-form {
  padding: 40px 20px;
  background: #f7f7f7;
  font-family: 'Poppins', sans-serif;
  text-align: center;
}

.request-form h3 {
  margin-bottom: 10px;
  font-size: 1em;
  color: #333;
}

.underscore {
  width: 60%;        /* Lebar garisnya */
  height: 2px;       /* Tebal garis */
  background-color: #007bff;
  margin: 8px 0 20px 0;
  border-radius: 5px;
  margin-left: auto;
  margin-right: auto;
}

.request-form form {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.request-form input,
.request-form textarea {
  padding: 12px 16px;
  font-size: 0.8em;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  resize: none;
}
.request-form input:focus,
.request-form textarea:focus {
  border: 1px solid #007bff;
  outline: none;
}

.hidden {
  display: none;
}

.request-form button {
  padding: 10px;
  background-color: #007bff;
  color: white;
  border: none;
  font-weight: 600;
  font-size: 0.8em;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.request-form button:hover {
  background-color: rgb(34,222,74);
}

.footer {
  padding: 5px;
  margin-top: 15px;
  border-top: 1px solid #e0e0e0; /* garis pembatas atas opsional */
}

.footer p {
  font-size: 15px;
}

.footer svg {
  width: 15px;
  height: 15px;
  margin-right: 7px;
}

.footer-faq {
  margin-top: 40px;
  padding: 0;
}

.faq-item {
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
}

.faq-question {
  background: none;
  font-size: 13px;
  border: none;
  outline: none;
  cursor: pointer;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 12px 0;
  color: #222;
}

.faq-question:hover {
  color: #007bff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding-left: 0;
  padding-right: 0;
  color: #444;
  font-size: 14px;
}

.faq-answer.open {
  margin-top: 8px;
  max-height: 200px;
}

.faq-icon {
  transition: transform 0.3s ease;
}

.faq-icon.rotate {
  transform: rotate(180deg);
}

.kopi {
  text-align: center;
}

.kopi p {
  font-size: 13px;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

footer {
      font-size: 0.7em;
      text-align: center;
      padding: 20px;
      border-top: 1px solid #ddd;
      color: #777;
    }