body {
    margin: 0; font-family: Arial, sans-serif; color: white; background: #2e3a59;
  }
  .iframe-container {
    width: 100%;
    height: 85vh;
    position: relative;
    background-color: #445867;
    overflow: hidden;
  }
  iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    border: none;
    display: none; /* sembunyikan semua iframe */
  }
  iframe.active {
    display: block; /* iframe aktif tampil */
  }
  .controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #573599;
    border-top: 1px solid #ccc;
    position: relative;
  }
  button {
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
    border: 1px solid #ccc;
    background-color: #484848;
    border-radius: 5px;
    color: white;
  }
  button:hover {
    background-color: #e0e0e0;
    color: black;
  }
  .tab-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    max-width: 60%;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #666 #444;
  }
  .tab-container::-webkit-scrollbar {
    height: 6px;
  }
  .tab-container::-webkit-scrollbar-track {
    background: #444;
  }
  .tab-container::-webkit-scrollbar-thumb {
    background-color: #666;
    border-radius: 3px;
  }
  .tab {
    background-color: #666;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
    user-select: none;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .tab.active {
    background-color: #9c27b0;
    font-weight: bold;
  }