/* Double-Side Manager UI */
.fc-double-side-toggle { appearance: none; background: transparent; color: #556; border: none; border-radius: 10px; padding: 0; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; width: 36px; height: 36px; justify-content: center; }
.fc-double-side-toggle .fc-ico svg { display: block; transform: rotate(90deg); }
.fc-double-side-toggle.is-active { background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; box-shadow: 0 0 0 2px rgba(118,75,162,0.18) inset; }

.fc-double-side-lock {
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 999;
	appearance: none;
	border: none;
	border-radius: 12px;
	padding: 6px 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	color: #fff;
	background: linear-gradient(135deg, #ef4444, #dc2626);
	box-shadow: 0 6px 18px rgba(0,0,0,0.18), 0 0 0 2px rgba(220,38,38,0.2) inset;
	cursor: pointer;
	transition: transform .15s ease, box-shadow .2s ease, background .2s ease, opacity .2s ease;
}
.fc-double-side-lock:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,0.22), 0 0 0 2px rgba(220,38,38,0.28) inset; }
.fc-double-side-lock:active { transform: translateY(0); }
.fc-double-side-lock .fc-ico svg { width: 16px; height: 16px; fill: currentColor; display: block; }
/* Toggle which icon is visible based on lock state */
.fc-double-side-lock .fc-ico-locked { display: none; }
.fc-double-side-lock .fc-ico-unlocked { display: block; }
.fc-double-side-lock.is-locked .fc-ico-locked { display: block; }
.fc-double-side-lock.is-locked .fc-ico-unlocked { display: none; }

/* Green when locked */
.fc-double-side-lock.is-locked {
	background: linear-gradient(135deg, #10b981, #059669);
	box-shadow: 0 6px 18px rgba(0,0,0,0.18), 0 0 0 2px rgba(5,150,105,0.24) inset;
}
.fc-double-side-lock.is-locked:hover { box-shadow: 0 8px 20px rgba(0,0,0,0.22), 0 0 0 2px rgba(5,150,105,0.32) inset; }

/* When placed inside canvas wrapper, ensure it sits above canvas */
.fc-inside-canvas { z-index: 999; }

.fc-ds-modal {
	position: absolute;
	inset: 0;
	z-index: 1000;
}
.fc-ds-modal .fc-ds-backdrop {
	position: absolute; inset: 0; background: rgba(17,17,17,0.45);
}
.fc-ds-modal .fc-ds-dialog {
	position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
	background: #fff; color: #111; border-radius: 14px; width: min(520px, 92vw);
	padding: 16px 16px 18px; box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}
.fc-ds-dialog h3 { margin: 0 0 8px; font-weight: 800; }
.fc-ds-dialog p { margin: 0 0 10px; line-height: 1.5; }
.fc-ds-close { position: absolute; top: 6px; right: 8px; background: transparent; border: none; font-size: 18px; cursor: pointer; }
.fc-ds-actions { display: flex; justify-content: flex-end; gap: 10px; }
.fc-ds-actions .fc-ds-add { background: linear-gradient(135deg, #667eea, #764ba2); border: none; color: #fff; border-radius: 10px; padding: 8px 12px; font-weight: 700; cursor: pointer; }


