/**
 * Floating Button Styles
 *
 * @package FloatingButtonCTA
 */

.floating-button {
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 9999;
}

.floating-button .fb-btn {
	background: #0073e6; /* Button background */
	padding: 15px 16px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.floating-button .fb-btn i {
	color: #fff;       /* Gear color */
	font-size: 22px;   /* Gear size */
}

.sfb-grid {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.sfb-fields-row {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}

.sfb-field {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.sfb-field input,
.sfb-field select {
	margin-top: 5px;
	padding: 8px 10px;
	border: 1px solid #ccd0d4;
	border-radius: 6px;
	background: #fff;
	font-size: 14px;
	width: 100%;
}

.sfb-field input[type="color"] {
	padding: 0;
	height: 40px;
	cursor: pointer;
}

.sfb-field label {
	font-size: 13px;
	font-weight: 600;
	color: #333;
	margin-bottom: 4px;
}

.sfb-help {
	font-size: 12px;
	color: #666;
	margin-top: 4px;
	display: block;
}

.sfb-icon-row {
	display: flex;
	align-items: center;
	gap: 10px;
}

.sfb-icon-select {
	flex: 1;
	padding: 6px 8px;
	font-size: 14px;
}

.sfb-icon-preview {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1px solid #ccd0d4;
	border-radius: 6px;
	background: #fff;
}

.sfb-icon-preview i {
	font-size: 18px;
	color: #333;
}

.sfb-wrapper {
	position: fixed;
	z-index: 9999;
}

.sfb-bottom-right {
	bottom: 20px;
	right: 20px;
}

.sfb-main-btn {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: #fff;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	transition: transform 0.3s ease;
}

.sfb-main-btn:hover {
	transform: scale(1.1);
}

.sfb-sub-btns {
	position: relative;
	width: 0;
	height: 0;
}

.sfb-sub-btn {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	text-decoration: none;
	opacity: 0;
	transform: scale(0);
	transition: all 0.4s ease;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

.sfb-sub-btn i {
	font-size: 18px;
}

/* Active State: show sub buttons in half circle */
.sfb-wrapper.active .sfb-sub-btn {
	opacity: 1;
	transform: scale(1);
}
