/* Styling Container Utama */
.idx-stock-container {
    max-width: 100%;
    margin: 20px 0;
}

/* Styling Tombol Tab */
.tab-buttons {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 2px solid #ccc;
    margin-bottom: 0; /* Pastikan tidak ada margin di bawah tombol */
}

.tab-button {
    padding: 10px 15px;
    margin-right: 5px;
    cursor: pointer;
    background-color: #f8f8f8;
    border: 1px solid #ccc;
    border-bottom: none;
    border-radius: 5px 5px 0 0;
    transition: all 0.2s;
    font-weight: normal;
    font-size: 14px;
}

.tab-button.active {
    background-color: #fff;
    border-color: #ccc;
    border-bottom: 2px solid #fff; /* Menutup garis bawah container */
    font-weight: bold;
    color: #0073aa; /* Warna khas WordPress */
    position: relative;
    z-index: 2; /* Agar menutupi garis bawah */
}

/* Styling Konten Tab */
.tab-content-wrapper {
    border: 1px solid #ccc;
    padding: 15px;
    min-height: 250px;
    margin-top: -1px; /* Mengkompensasi garis border */
    position: relative;
    background-color: #fff;
}

.tab-content {
    display: none; /* Disembunyikan oleh JavaScript */
}

.tab-content.active {
    display: block; 
}

/* Styling Daftar Saham */
.stock-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px; 
}

.stock-list li {
    padding: 5px 10px;
    background-color: #f5f5f5;
    border-radius: 3px;
    font-size: 14px;
}

.stock-price {
    font-size: 0.9em;
    color: #333;
    font-weight: normal;
}