/* Container Utama FAB (Presisi di Tengah Bawah) */
.fab-container {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Container Popup Menu di Atas Tombol Utama */
/* =========================================
   FAB MENU
========================================= */
.fab-menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
}

.fab-menu-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;

    width: 100%;
    padding: 10px 14px;

    text-align: left;
    text-decoration: none;
}

.fab-menu-item span:first-child {
    width: 24px;
    min-width: 24px;
    text-align: center;
}

.fab-menu-item span:last-child {
    flex: 1;
    text-align: left;
}
/* Status Sembunyi untuk Popup Menu */
.fab-menu.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
}

/* Tombol Option / Item di Dalam Popup Menu */
.fab-menu button,
.fab-menu-item {
    /* Rekomendasi */
    background-color: rgba(0, 0, 0, 0.85) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 300;
    display: flex;
    text-align: left;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    transition: background-color 0.2s ease;
}

/* Efek Hover / Ditekan pada Item Menu */
.fab-menu button:hover,
.fab-menu-item:hover,
.fab-menu button:active,
.fab-menu-item:active {
    background-color: #171818 !important; /* Biru lebih gelap saat disentuh */
    color: #ffffff !important;
}

/* Tombol Utama FAB (Lingkaran +) */
.fab-main-btn {
    background: #171818;
    color: #ffffff;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0px 4px 15px rgba(45, 46, 46, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease;
}

/* Efek Saat Tombol Utama Ditekan */
.fab-main-btn:active {
    transform: scale(0.92);
}

/* Ikon Plus di Dalam Tombol Utama */
.fab-main-btn svg {
    width: 28px;
    height: 28px;
    fill: #ffffff;
    stroke: #ffffff;
    transition: transform 0.3s ease;
}

/* Efek Rotasi Ikon Menjadi Silang Saat Aktif */
.fab-main-btn.active svg {
    transform: rotate(45deg);
}