.cursor-move {
	cursor: move;
}

#poll-drag-and-drop-area {
	border: 2px dashed rgba(var(--main-primary-color));
	color: rgba(var(--main-primary-color));
	position: relative;
	height: 150px;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 10px;
}

/* Participant Mode Styles */
.participant-mode-active .builder-column {
	flex: 0 0 66.666667%;
	max-width: 66.666667%;
	transition: all 0.4s ease-in-out;
}

.participant-column {
	display: none;
	transition: all 0.4s ease-in-out;
}

.participant-mode-active .participant-column {
	display: block !important;
}

.participant-mode-active .main-builder-container {
	max-width: 100%;
	padding-left: 30px;
	padding-right: 30px;
}

.main-builder-container .row {
	align-items: flex-start;
}

.close-panel-poll {
	position: absolute;
	border: unset !important;
	color: #fff !important;
	left: -10px;
	top: 8px;
	background: rgba(var(--main-primary-color));
	border-radius: 50px;
	padding: 0;
	width: 25px;
	height: 25px;
	line-height: 24px;
}

.close-panel-poll :hover {
	background: rgba(var(--main-primary-color)) !important;
}

.offcanvas-body {
	padding: 0px 30px 30px 30px;
}

.offcanvas-header .btn-close {
	padding: unset !important;
	margin: unset !important;
}

.btn-close {
	--bs-btn-close-opacity: 0.1 !important;
}

.btn-close:hover {
	opacity: 0.1 !important;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
	.participant-mode-active .builder-column {
		flex: 0 0 60%;
		max-width: 60%;
	}

	.participant-mode-active .participant-column {
		flex: 0 0 40%;
		max-width: 40%;
	}
}

@media (max-width: 991px) {
	.participant-mode-active .builder-column {
		flex: 0 0 100%;
		max-width: 100%;
	}

	.participant-mode-active .participant-column {
		flex: 0 0 100%;
		max-width: 100%;
		margin-top: 30px;
	}

	.participant-column-inner {
		position: relative;
		top: 0;
	}

	.phone-frame {
		width: 300px;
		height: 600px;
	}
}

@media (max-width: 767px) {
	.font-60 {
		font-size: 32px !important;
	}

	.font-35 {
		font-size: 24px !important;
	}

	.font-18 {
		font-size: 16px !important;
	}

	.d-flex.align-items-center.gap-2 {
		flex-wrap: wrap;
		justify-content: center;
	}

	.poll-result-card {
		padding: 15px !important;
	}

	.input-group-text {
		padding: 5px 10px;
	}

	.phone-frame {
		width: 280px;
		height: 560px;
		border-width: 6px;
	}

	.participant-mode-active .main-builder-container {
		padding-left: 15px;
		padding-right: 15px;
	}

	.poll-option-item .input-group {
		flex-wrap: wrap;
	}

	.poll-option-item .input-group .poll-option-input {
		flex: 1 1 100%;
		order: 5;
	}

	.poll-option-item .input-group .sort-handle {
		order: 1;
	}

	.poll-option-item .input-group .poll-option-image-slot {
		order: 2;
	}

	.poll-option-item .input-group .upload-poll-option-image {
		order: 5;
	}

	.poll-option-item .input-group .poll-correct-wrapper {
		order: 4;
	}

	.poll-option-item .input-group .remove-poll-option {
		order: 6;
	}
}

@media (max-width: 480px) {
	.phone-frame {
		width: 100%;
		max-width: 260px;
		height: 520px;
	}

	.participant-panel-header h5 {
		font-size: 16px;
	}

	.btn-luxury-close {
		padding: 6px 12px;
		font-size: 14px;
	}
}

.phone-preview-container {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 30px 20px;
	border-radius: 30px;
}

.phone-frame {
	width: 330px;
	height: 670px;
	background: #fff;
	border: 10px solid #000;
	border-radius: 50px;
	overflow: hidden;
	position: relative;
	box-shadow: 0 40px 100px rgba(0, 0, 0, 0.18), 0 0 0 2px #333;
	transition: transform 0.3s ease;
}

.phone-frame:hover {
	transform: translateY(-5px);
}

.phone-frame::before {
	content: '';
	position: absolute;
	top: 12px;
	left: 50%;
	transform: translateX(-50%);
	width: 100px;
	height: 28px;
	background: #000;
	border-radius: 20px;
	z-index: 10;
}

.phone-frame::after {
	content: '';
	position: absolute;
	top: 22px;
	left: 50%;
	transform: translateX(28px);
	width: 8px;
	height: 8px;
	background: #111;
	border-radius: 50%;
	z-index: 11;
	box-shadow: inset 0 0 2px #444, 0 0 2px rgba(255, 255, 255, 0.1);
}

.phone-frame iframe {
	width: 100%;
	height: 100%;
	border: none;
	padding-top: 0;
	background: #fff;
}

.participant-panel-header {
	border-bottom: 1px solid #f0f0f0;
	padding-bottom: 15px;
}

.btn-luxury-close {
	background: #3378ff;
	border: 1px solid #3378ff;
	padding: 5px 8px;
	border-radius: 50%;
	font-weight: 500;
	color: #fff;
	transition: all 0.2s;
	display: flex;
	align-items: center;
	gap: 8px;
}

.btn-luxury-close:hover {
	background: #3378ff;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
	border-color: #3378ff;
	color: #fff;
}

.font-8 {
	font-size: 8px;
}

.participant-mode-active .navbar,
.participant-mode-active .header,
.participant-mode-active footer {
	display: none !important;
}

.participant-mode-active section.type-poll {
	padding-top: 20px !important;
}

.participant-column-inner {
	position: sticky;
	top: 20px;
}

@media (min-width: 992px) {

	.participant-column {
		position: sticky;
		top: 20px;
		height: fit-content;
	}

	.builder-column {
		max-height: 100vh;
		overflow-y: auto;
		padding-right: 10px;
	}
}

@media (max-width: 968px) and (min-width: 569px) {
	.input-padding {
		padding: 8px;
	}
}

@media (max-width: 568px) {
	#participant-mode-toggle {
		display: none !important;
	}

	.participant-column {
		display: none !important;
	}

	.participant-column-inner {
		display: none !important;
	}

	.close-panel-poll {
		border: unset !important;
		color: #fff !important;
		position: absolute;
		left: 1px;
		top: 3px;
		background: rgba(var(--main-primary-color));
		border-radius: 50px;
		padding: 0;
		width: 25px;
		height: 25px;
		line-height: 24px;
	}
}

@media (max-width: 576px) {

	.swal2-popup {
		width: 92% !important;
		max-width: 92% !important;
		padding: 1.2rem !important;
		border-radius: 12px !important;
	}

	.swal2-title {
		font-size: 18px !important;
	}

	.swal2-html-container {
		font-size: 14px !important;
	}

	.swal2-actions {
		flex-direction: column !important;
		gap: 10px;
	}

	.swal2-confirm,
	.swal2-cancel {
		width: 100% !important;
	}

	#toast-container {
		left: 10px !important;
		right: 10px !important;
		top: 10px !important;
	}

	#toast-container .toast {
		width: 100%;
		min-width: unset !important;
		font-size: 14px;
	}

	.modal-dialog {
		margin: 10px;
	}

	.modal-content {
		border-radius: 12px;
	}
}

#poll-vote-button {
	transition: all 0.3s ease;
	position: relative;
	min-width: 200px;
}

#poll-vote-button.voting-complete {
	background-color: #28a745;
	border-color: #28a745;
}

.poll-voted-badge {
	display: inline-block;
	padding: 0.25rem 0.75rem;
	background-color: #28a745;
	color: white;
	border-radius: 4px;
	font-size: 0.875rem;
	margin-top: 0.5rem;
}

.sort-handle {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: move;
	opacity: 1 !important;
	visibility: visible !important;
	min-width: auto;
}

.option-number {
	display: inline-flex;
	align-items: center;
}
