/**
 * WooCommerce Postis Checkout Styles
 * 
 * Styles for PostisBox locker selection display at checkout.
 *
 * @package WooCommerce_Postis
 * @since 1.3.0
 */

/* Selected locker display */
.postis-box-selected {
	margin-top: 10px;
	padding: 12px 15px;
	background: #f8f9fa;
	border: 1px solid #e1e1e1;
	border-radius: 4px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 15px;
}

.postis-box-locker-info {
	flex: 1;
	line-height: 1.4;
}

.postis-box-locker-info strong {
	display: block;
	color: #333;
	font-size: 14px;
}

.postis-box-locker-info small {
	color: #666;
	font-size: 12px;
}

.postis-box-change {
	color: #0073aa;
	text-decoration: none;
	font-size: 13px;
	white-space: nowrap;
}

.postis-box-change:hover {
	color: #005177;
	text-decoration: underline;
}

/* Adjust for different themes */
.woocommerce-checkout .postis-box-selected {
	margin-left: 0;
}

/* Some themes use different list styles */
ul#shipping_method .postis-box-selected,
.woocommerce-shipping-methods .postis-box-selected {
	list-style: none;
	padding-left: 0;
}

/* Icon for locker (optional enhancement) */
.postis-box-locker-info::before {
	content: "";
	display: inline-block;
	width: 0;
	height: 0;
}

/* Responsive adjustments */
@media (max-width: 480px) {
	.postis-box-selected {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}
	
	.postis-box-change {
		align-self: flex-end;
	}
}

/* Admin metabox locker info */
.postis-box-admin-info {
	background: #f0f6fc;
	border: 1px solid #c3c4c7;
	border-left: 4px solid #2271b1;
	padding: 10px 12px;
	margin-bottom: 15px;
}

.postis-box-admin-info strong {
	display: block;
	margin-bottom: 5px;
}

.postis-box-admin-info .locker-details {
	color: #50575e;
	font-size: 12px;
}
