/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

/* ===== Product Designer Wrapper ===== */
#product-designer {
	margin-top: 30px;
	padding: 25px;
	border: 1px solid #e5e5e5;
	background: #fafafa;
	border-radius: 8px;
}

/* Title */
#product-designer h3 {
	margin-bottom: 20px;
	font-size: 20px;
	font-weight: 600;
}

/* ===== Control Buttons ===== */
#product-designer button {
	padding: 10px 18px;
	margin-right: 10px;
	margin-bottom: 15px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 14px;
	transition: 0.2s ease-in-out;
}

/* Add Text Button */
#add-text {
	background-color: #0073aa;
	color: #ffffff;
}

#add-text:hover {
	background-color: #005f8d;
}

/* Delete Button */
#delete-selected {
	background-color: #dc3545;
	color: #ffffff;
}

#delete-selected:hover {
	background-color: #b02a37;
}

/* ===== Input Wrapper Boxes ===== */
.box-wrapper {
	margin-bottom: 15px;
	display: flex;
	flex-direction: column;
}

.box-wrapper label {
	font-weight: 500;
	margin-bottom: 6px;
	font-size: 14px;
}

/* Inputs */
#product-designer select,
#product-designer input[type="color"],
#product-designer input[type="number"],
#product-designer input[type="file"] {
	padding: 8px 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 14px;
	background: #ffffff;
}

/* Number input width */
#text-size {
	max-width: 120px;
}

/* ===== Canvas Styling ===== */
#designer-canvas {
	display: block;
	margin-top: 20px;
	border: 2px dashed #ccc;
	background-color: #ffffff;
	border-radius: 6px;
	max-width: 100%;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
	#product-designer {
		padding: 15px;
	}

	#product-designer button {
		width: 100%;
		margin-right: 0;
	}

	#text-size {
		max-width: 100%;
	}
}