body {
    font-family: Arial, sans-serif;
    text-align: center;
    background-color: #f7cccf;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 500px;
    margin: auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

input, button {
    padding: 10px;
    margin: 5px;
    width: 90%;
    border-radius: 5px;
    border: 1px solid #ddd;
}

button {
    background-color: #cc313d;
    color: white;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: #c22a53;
}

#result {
    margin-top: 20px;
    font-size: 18px;
}

svg {
    margin-top: 10px;
}

  /* Container tetap di kanan-bawah layar */
  .trakteer-container {
    position: fixed;
    bottom: 5px;
    right: 5px;
    z-index: 9999; /* Pastikan di atas konten lain */
  }

  /* Membungkus tombol & bubble agar bubble bisa muncul di atas */
  .bubble-wrapper {
    position: relative; /* Bubble akan diposisikan absolut relatif ke wrapper */
    display: inline-block;
  }

  /* Tombol Trakteer */
  .trakteer-button {
    display: flex;
    align-items: center;
    background-color: white;
    color: #D12D58;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease-in-out;
  }
  .trakteer-button img {
    height: 20px;
    margin-right: 5px;
  }
  .trakteer-button:hover {
    transform: scale(1.05);
  }

  /* Bubble chat (tooltip) - hidden by default */
  .trakteer-bubble {
    display: none;
    position: absolute;
    bottom: 120%; /* Tampil di atas tombol */
    right: 0;     /* Geser bubble ke kanan */
    background-color: #fff;
    color: #333;
    padding: 10px 15px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.2);
    font-size: 14px;
    font-weight: bold;
    white-space: nowrap;
  }

  /* Munculkan bubble saat hover tombol */
  .bubble-wrapper:hover .trakteer-bubble {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
  }

  /* Animasi fadeIn */
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(5px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
