/* Share & Font Control Toolbar Styles */

.sfc-toolbar-wrapper {
    margin: 20px 0;
    position: relative;
}

.sfc-toolbar-left .sfc-btn {
margin: 0px !important;
    padding: 0px;
}


.sfc-toolbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.sfc-share-group,
.sfc-utility-group,
.sfc-font-group {
    display: flex;
    align-items: center;
    gap: 5px;
}

.sfc-label {
    font-size: 14px;
    color: #6b7280;
    margin-right: 5px;
}

.sfc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.sfc-btn:hover {
    background: #f3f4f6;
}

.sfc-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.sfc-facebook:hover { background: #eff6ff; color: #3b82f6; }
.sfc-telegram:hover { background: #f0f9ff; color: #0ea5e9; }
.sfc-twitter:hover { background: #dbeafe; color: #60a5fa; }
.sfc-copy:hover { background: #f3f4f6; color: #374151; }
.sfc-print:hover { background: #f3f4f6; color: #374151; }
.sfc-bookmark:hover { background: #fef3c7; color: #f59e0b; }

.sfc-facebook svg path { fill: #3b82f6; }
.sfc-telegram svg path { fill: #0ea5e9; }
.sfc-twitter svg path { fill: #60a5fa; }
.sfc-copy svg path { fill: #374151; }
.sfc-print svg path { fill: #374151; }
.sfc-bookmark svg path { fill: #f59e0b; }

.sfc-divider {
    width: 1px;
    height: 24px;
    background: #e5e7eb;
}

.sfc-font-size {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    min-width: 48px;
    text-align: center;
}

.sfc-copy-notification {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: #10b981;
    color: white;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.sfc-copy-notification.show {
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
	.sfc-toolbar-left .sfc-toolbar {
		padding: 0px;
    box-shadow: unset;
    border: 0px;
	}
	.sfc-btn {
		    margin: 0px;
    padding: 0px;
   
	}
	.sfc-toolbar-left .sfc-btn {
		 width: 30px !important;
    height: 30px !important;
	}
	.sfc-toolbar-left .sfc-toolbar {
		padding:0px;
	}
    .sfc-toolbar-inner {
        justify-content: center;
    }
    
    .sfc-label {
        display: none;
    }
    
    /* Mobile Top Position */
    body.sfc-mobile-top .sfc-toolbar-wrapper,
    body.sfc-mobile-top .sfc-toolbar-left {
        position: static !important;
        margin: 10px 0 !important;
        left: auto !important;
    }
    
    body.sfc-mobile-top .sfc-toolbar-left .sfc-toolbar {
        width: 100% !important;
    }
    
    body.sfc-mobile-top .sfc-toolbar-left .sfc-toolbar-inner {
        flex-direction: row !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
    }
    
    body.sfc-mobile-top .sfc-toolbar-left .sfc-share-group,
    body.sfc-mobile-top .sfc-toolbar-left .sfc-utility-group,
    body.sfc-mobile-top .sfc-toolbar-left .sfc-font-group {
        flex-direction: row !important;
        gap: 5px !important;
        width: auto !important;
    }
    
    body.sfc-mobile-top .sfc-toolbar-left .sfc-divider {
        display: none !important;
    }
    
    body.sfc-mobile-top .sfc-toolbar-left .sfc-font-size {
        display: inline-block !important;
    }
    
    /* Mobile Bottom Position - End of content (not sticky) */
    body.sfc-mobile-bottom .sfc-toolbar-wrapper,
    body.sfc-mobile-bottom .sfc-toolbar-left {
        position: static !important;
        margin: 2px 0 !important;
        left: auto !important;
    }
    
    body.sfc-mobile-bottom .sfc-toolbar-left .sfc-toolbar {
        width: 100% !important;
		padding:0px;
    }
    
    body.sfc-mobile-bottom .sfc-toolbar-left .sfc-toolbar-inner {
        flex-direction: row !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
    }
    
    body.sfc-mobile-bottom .sfc-toolbar-left .sfc-share-group,
    body.sfc-mobile-bottom .sfc-toolbar-left .sfc-utility-group,
    body.sfc-mobile-bottom .sfc-toolbar-left .sfc-font-group {
        flex-direction: row !important;
        gap: 5px !important;
        width: auto !important;
    }
    
    body.sfc-mobile-bottom .sfc-toolbar-left .sfc-divider {
        display: none !important;
    }
    
    body.sfc-mobile-bottom .sfc-toolbar-left .sfc-font-size {
        display: inline-block !important;
    }
    
    /* Mobile Both Position */
    body.sfc-mobile-both .sfc-toolbar-wrapper,
    body.sfc-mobile-both .sfc-toolbar-left {
        position: static !important;
        margin: 10px 0 !important;
        left: auto !important;
    }
    
    body.sfc-mobile-both .sfc-toolbar-left .sfc-toolbar {
        width: 100% !important;
    }
    
    body.sfc-mobile-both .sfc-toolbar-left .sfc-toolbar-inner {
        flex-direction: row !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
    }
    
    body.sfc-mobile-both .sfc-toolbar-left .sfc-share-group,
    body.sfc-mobile-both .sfc-toolbar-left .sfc-utility-group,
    body.sfc-mobile-both .sfc-toolbar-left .sfc-font-group {
        flex-direction: row !important;
        gap: 5px !important;
        width: auto !important;
    }
    
    /* Mobile Sticky Bottom Position - Fixed at screen bottom */
    body.sfc-mobile-sticky-bottom .sfc-toolbar-left {
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        top: auto !important;
        z-index: 9999 !important;
        margin: 0 !important;
    }
    
    body.sfc-mobile-sticky-bottom .sfc-toolbar-left .sfc-toolbar {
        width: 100% !important;
        border-radius: 0 !important;
        border-left: none !important;
        border-right: none !important;
        border-bottom: none !important;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1) !important;
    }
    
    body.sfc-mobile-sticky-bottom .sfc-toolbar-left .sfc-toolbar-inner {
        flex-direction: row !important;
        justify-content: space-around !important;
        gap: 5px !important;
    }
    
    body.sfc-mobile-sticky-bottom .sfc-toolbar-left .sfc-share-group,
    body.sfc-mobile-sticky-bottom .sfc-toolbar-left .sfc-utility-group,
    body.sfc-mobile-sticky-bottom .sfc-toolbar-left .sfc-font-group {
        flex-direction: row !important;
        gap: 5px !important;
        width: auto !important;
    }
    
    body.sfc-mobile-sticky-bottom .sfc-toolbar-left .sfc-divider {
        display: none !important;
    }
    
    body.sfc-mobile-sticky-bottom .sfc-toolbar-left .sfc-btn {
        width: 40px !important;
        height: 40px !important;
    }
    
    body.sfc-mobile-sticky-bottom .sfc-toolbar-left .sfc-font-size {
        display: none !important;
    }
    
    /* Mobile Hidden */
    body.sfc-mobile-hidden .sfc-toolbar-wrapper,
    body.sfc-mobile-hidden .sfc-toolbar-left {
        display: none !important;
    }
}

/* Sticky toolbar */
.sfc-toolbar-wrapper.sticky {
    position: sticky;
    top: 20px;
    z-index: 100;
}

/* Left sidebar sticky toolbar */
.sfc-toolbar-left {
    position: absolute;
    left: -80px;
    top: 0;
    z-index: 1000;
    margin: 0;
}

/* When parent has position relative */
.sfc-left-container {
    position: relative;
}

.sfc-toolbar-left.sfc-fixed {
    position: fixed;
    left: auto;
    top: 100px;
}



.sfc-toolbar-left .sfc-toolbar-inner {
    flex-direction: column;
    gap: 10px;
}

.sfc-toolbar-left .sfc-share-group,
.sfc-toolbar-left .sfc-utility-group,
.sfc-toolbar-left .sfc-font-group {
    flex-direction: column;
    width: 100%;
}

.sfc-toolbar-left .sfc-divider {
    width: 80%;
    height: 1px;
    margin: 5px auto;
}

.sfc-toolbar-left .sfc-label {
    display: none;
}

.sfc-toolbar-left .sfc-btn {
    width: 44px;
    height: 44px;
}

.sfc-toolbar-left .sfc-font-size {
    font-size: 12px;
    margin: 5px 0;
    width: 100%;
}