/* ============================
   BUBBLE CONTAINER
============================ */
.bubble-text {
    position: absolute;
    right: 75px;
    bottom: 15px;
    background: #00bfa6;
    color: white;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
    opacity: 1;
    transition: .3s;
}

.bubble-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

/* ============================
   MAIN BUTTON
============================ */
.bubble-btn {
    width: 60px;
    height: 60px;
    background: #00bfa6; /* WARNA TEMA WEBSITE */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    font-size: 28px;
    color: white;
    transition: 0.3s;
}

.bubble-btn:hover {
    transform: scale(1.1);
}

/* ============================
   BUBBLE PANEL (LIST ICON)
============================ */
.bubble-panel {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: white;
    padding: 12px;
    border-radius: 18px;
    width: 70px; /* fix size */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;

    transition: opacity 0.35s ease, transform 0.35s ease;
}

/* ketika aktif */
.bubble-panel.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
/* ============================
   ITEM DALAM PANEL
============================ */
.bubble-item {
    width: 100%;
    height: 50px;
    background: #f5f5f5;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    padding: 5px;
}

/* ============================
   LOGO IMG DALAM PANEL
============================ */
.bubble-item img {
    width: 28px !important;
    height: 28px !important;
    object-fit: contain;
    display: block;
}
/* ============================
   ANIMASI BUBBLE BUTTON
============================ */

/* Efek klik (bounce halus) */
.bubble-btn:active {
    transform: scale(0.88);
    transition: 0.1s ease;
}

/* Animasi rotasi icon saat panel terbuka */
.bubble-btn.open i {
    transform: rotate(180deg);
    transition: 0.4s ease;
}

/* icon awal */
.bubble-btn i {
    transition: 0.4s ease;
}
#bubbleIcon {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.bubble-btn.open #bubbleIcon {
  transform: rotate(360deg);
}
