/* Floating button container */
.floating-container {
    position: fixed;
    bottom: 80px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 43964324;
}

/* Floating button utama */
.floating-button {
    background-color: #3f4079;
    color: #fff;
    padding: 12px 18px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.floating-button i {
    font-size: 18px;
}

.floating-button:hover {
    background-color: #e74e84;
    color: #fff;
}

/* Opsi tombol */
.floating-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
    position: absolute;
    bottom: 10px;
    /*bottom: 60px;*/
    right: 0;
    transition: all 0.3s ease-in-out;
    z-index: 43964325;

    opacity: 1;
    visibility: visible;
    transform: translateY(0);

    /*opacity: 0;*/
    /*visibility: hidden;*/
    /*transform: translateY(10px);*/
}

.floating-options.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Tombol pilihan */
.option-button {
    background-color: #fff;
    color: #007bff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    position: relative;
    z-index: 43964326;
}

.option-button:hover {
    transform: scale(1.1);
}

/* Warna khusus */
.phone {
    background-color: #34C759; /* Hijau Apple untuk telepon */
    color: white;
}

.whatsapp {
    background-color: #25D366; /* Hijau WhatsApp */
    color: white;
}

/* Menampilkan teks saat hover */
.option-button::after {
    content: "";
    position: absolute;
    right: 60px;
    background-color: #E0F7FA;
    color: #003366;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.phone::after {
    content: "Phone";
}

.whatsapp::after {
    content: "WhatsApp";
}

.option-button:hover::after {
    opacity: 1;
    transform: translateX(0);
}
