/* Stikily Packaging Options Styles */

.stikily-packaging-options-wrapper {
	padding: 12px 0;
	margin: 0;
	background-color: transparent;
	border: none;
	border-radius: 0;
}

.stikily-packaging-container {
	padding: 0;
	background-color: transparent;
	border: none;
	border-radius: 0;
	margin: 0;
	max-width: 100%;
}

.packaging-info-header {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	margin-bottom: 12px;
	gap: 8px;
	flex-wrap: wrap;
}

.packaging-label {
	font-size: 16px;
	color: #333;
	font-weight: 600;
	margin: 0;
	line-height: 1.4;
}

.packaging-info-btn {
	background-color: #007bff;
	color: white;
	border: none;
	border-radius: 50%;
	width: 28px;
	height: 28px;
	min-width: 28px;
	padding: 0;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	transition: background-color 0.3s ease;
	flex-shrink: 0;
	line-height: 1;
}

.packaging-info-btn:hover {
	background-color: #0056b3;
}

.info-icon {
	font-weight: bold;
	font-size: 18px;
}

.packaging-options {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 0;
}

.packaging-option {
	display: flex;
	align-items: center;
	padding: 0;
	border: none;
	border-radius: 0;
	cursor: pointer;
	transition: all 0.3s ease;
	background-color: transparent;
	gap: 10px;
	margin: 0;
}

.packaging-option:hover {
	border: none;
	background-color: transparent;
}

.packaging-option input[type="radio"] {
	margin: 0;
	cursor: pointer;
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	accent-color: #007bff;
}

.packaging-option input[type="radio"]:checked + .option-title {
	color: #007bff;
	font-weight: 600;
}

.option-title {
	font-size: 15px;
	color: #333;
	transition: color 0.3s ease;
	margin: 0;
	line-height: 1.4;
}

/* Modal Styles */
.packaging-modal {
	display: none;
	position: fixed;
	z-index: 9999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	animation: fadeIn 0.3s ease;
}

.packaging-modal.show {
	display: flex;
	align-items: center;
	justify-content: center;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

.packaging-modal-content {
	background-color: #fff;
	padding: 30px;
	border-radius: 10px;
	max-width: 500px;
	width: 90%;
	max-height: 80vh;
	overflow-y: auto;
	position: relative;
	animation: slideUp 0.3s ease;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

@keyframes slideUp {
	from {
		transform: translateY(50px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

.packaging-modal-close {
	position: absolute;
	right: 15px;
	top: 15px;
	font-size: 28px;
	font-weight: bold;
	color: #aaa;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: color 0.3s ease;
}

.packaging-modal-close:hover,
.packaging-modal-close:focus {
	color: #000;
}

.packaging-modal-content h2 {
	margin-top: 0;
	margin-bottom: 25px;
	font-size: 22px;
	font-weight: 700;
	color: #333;
	text-align: center;
}

.packaging-modal-section {
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid #e0e0e0;
}

.packaging-modal-section:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.packaging-modal-section h3 {
	margin-top: 0;
	margin-bottom: 10px;
	font-size: 16px;
	font-weight: 600;
	color: #333;
}

.packaging-modal-section p {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: #555;
}

/* Admin Display */
.stikily-packaging-display,
.stikily-packaging-admin-display {
	padding: 8px 0;
	margin: 0;
	background-color: transparent;
	border: none;
	border-radius: 0;
}

.stikily-packaging-display p,
.stikily-packaging-admin-display p {
	margin: 0;
	font-size: 14px;
	color: #333;
	line-height: 1.6;
}

.stikily-packaging-display strong,
.stikily-packaging-admin-display strong {
	font-weight: 600;
	display: block;
	margin-bottom: 4px;
}

/* Responsive Design */
@media (max-width: 768px) {
	.stikily-packaging-options-wrapper {
		padding: 10px 0;
	}

	.stikily-packaging-container {
		padding: 0;
	}

	.packaging-info-header {
		margin-bottom: 10px;
		gap: 6px;
	}

	.packaging-label {
		font-size: 15px;
	}

	.packaging-info-btn {
		width: 26px;
		height: 26px;
		min-width: 26px;
		font-size: 14px;
	}

	.packaging-options {
		gap: 6px;
	}

	.packaging-option {
		gap: 8px;
	}

	.packaging-option input[type="radio"] {
		width: 16px;
		height: 16px;
	}

	.option-title {
		font-size: 14px;
	}

	.packaging-modal-content {
		width: 95%;
		padding: 20px;
	}

	.packaging-modal-content h2 {
		font-size: 18px;
		margin-bottom: 20px;
	}

	.packaging-modal-section h3 {
		font-size: 15px;
	}

	.packaging-modal-section p {
		font-size: 13px;
	}
}

@media (max-width: 480px) {
	.stikily-packaging-options-wrapper {
		padding: 8px 0;
	}

	.stikily-packaging-container {
		padding: 0;
	}

	.packaging-info-header {
		margin-bottom: 8px;
		gap: 4px;
	}

	.packaging-label {
		font-size: 14px;
	}

	.packaging-info-btn {
		width: 24px;
		height: 24px;
		min-width: 24px;
		font-size: 12px;
	}

	.packaging-options {
		gap: 5px;
	}

	.packaging-option {
		gap: 6px;
		padding: 0;
	}

	.packaging-option input[type="radio"] {
		width: 14px;
		height: 14px;
	}

	.option-title {
		font-size: 13px;
		line-height: 1.3;
	}

	.packaging-modal-content {
		width: 95%;
		padding: 15px;
		border-radius: 8px;
	}

	.packaging-modal-content h2 {
		font-size: 16px;
		margin-bottom: 15px;
	}

	.packaging-modal-section h3 {
		font-size: 14px;
		margin-bottom: 8px;
	}

	.packaging-modal-section p {
		font-size: 12px;
		line-height: 1.5;
	}

	.stikily-packaging-display p,
	.stikily-packaging-admin-display p {
		font-size: 12px;
	}
}
