/* Product Packs Admin UI */

.packs-editor-wrap {
	display: flex;
	height: calc(100vh - 100px);
	gap: 20px;
	margin-top: 20px;
}

.packs-editor-sidebar {
	flex: 0 0 400px;
	background: #fff;
	border: 1px solid #ccd0d4;
	padding: 20px;
	overflow-y: auto;
}

.packs-editor-preview {
	flex: 1;
	background: #f0f0f1;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #ccd0d4;
}

.preview-device {
	background: #fff;
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
	border-radius: 8px;
	padding: 20px;
	transition: all 0.3s ease;
}

.preview-device.desktop {
	width: 100%;
	max-width: 800px;
}

.preview-device.tablet {
	width: 768px;
}

.preview-device.mobile {
	width: 375px;
}

.packs-editor-form .form-field {
	margin-bottom: 15px;
}

.packs-editor-form .form-field label {
	display: block;
	font-weight: 600;
	margin-bottom: 5px;
}

.packs-editor-form .form-field input[type="text"],
.packs-editor-form .form-field select {
	width: 100%;
	padding: 5px 8px;
	border: 1px solid #8c8f94;
	border-radius: 4px;
}

.preview-controls {
	position: absolute;
	top: 20px;
	display: flex;
	gap: 10px;
}

.packs-editor-preview {
	position: relative;
	flex: 1;
	background: #f0f0f1;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #ccd0d4;
	border-radius: 4px;
	min-height: 500px;
}

.navibasket-pack-card.plix-style {
	position: relative;
	width: 280px;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 12px;
	padding: 20px;
	font-family: inherit;
	box-shadow: 0 2px 8px rgba(0,0,0,0.04);
	display: flex;
	flex-direction: column;
	text-align: left;
}

/* Mocking the selected state for preview */
.navibasket-pack-card.plix-style {
	border-color: #4ade80; /* green-400 */
	background-color: #f0fdf4; /* green-50 */
}

.selected-indicator-dot {
	position: absolute;
	top: -12px;
	right: 50%;
	transform: translateX(50%); /* Normally this is at the top center or edge. Let's put it top right edge */
}
.navibasket-pack-card.plix-style .selected-indicator-dot {
	right: -10px;
	top: -10px;
	transform: none;
	width: 24px;
	height: 24px;
	background: #4ade80;
	border-radius: 50%;
	border: 3px solid #fff;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.pack-top-row {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 20px;
}

.pack-image-wrap {
	width: 80px;
	height: 80px;
	background: #f8f9fa;
	border: 1px solid #e9ecef;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.pack-image-wrap img {
	max-width: 100%;
	height: auto;
}

.pack-image-wrap.empty-img {
	background: #e9ecef;
}

.pack-badge {
	background: #065f46; /* dark green */
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	padding: 4px 12px;
	border-radius: 4px;
}

.pack-content-body {
	flex: 1;
}

.pack-title {
	font-size: 24px;
	font-weight: 500;
	margin: 0 0 10px 0;
	color: #111827;
}

.pack-subtitle {
	font-size: 16px;
	color: #6b7280;
	margin: 0 0 20px 0;
	line-height: 1.4;
}

.pack-pricing-area {
	margin-bottom: 20px;
}

.price-value {
	font-size: 32px;
	font-weight: 700;
	color: #000;
	line-height: 1;
	margin-bottom: 10px;
}

.pack-mrp {
	font-size: 16px;
	font-weight: 600;
	color: #6b7280;
	margin-bottom: 4px;
}

.pack-tax-info {
	font-size: 12px;
	color: #9ca3af;
}

.pack-bottom-badge {
	background: #86efac; /* green-300 */
	color: #166534; /* green-800 */
	text-align: center;
	font-weight: 700;
	font-size: 14px;
	padding: 10px;
	margin: 0 -20px -20px -20px;
	border-bottom-left-radius: 12px;
	border-bottom-right-radius: 12px;
}

