/* Minimal global overrides only when needed */

/**
 * Parcel2Go order card on WooCommerce order edit screen.
 * Loaded with main bundle; also enqueued on order edit (classic and HPOS) via OrderCardMetaBox.
 */
.p2g-order-card {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
	padding: 16px 20px;
	margin: 0 0 1em 0;
	border: 1px solid #c3c4c7;
}

.p2g-order-card__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
}

.p2g-order-card__brand {
	display: flex;
	align-items: center;
	gap: 8px;
}

.p2g-order-card__logo {
	display: block;
	height: 24px;
	width: auto;
	object-fit: contain;
}

.p2g-order-card__title {
	font-size: 15px;
	font-weight: 600;
	color: #1d2327;
}

.p2g-order-card__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 14px;
}

.p2g-order-card__tag {
	display: inline-block;
	padding: 4px 10px;
	background: #e5f5fa;
	color: #1d2327;
	border-radius: 999px;
	font-size: 12px;
}

.p2g-order-card__carriers {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
}

.p2g-order-card__carrier {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 32px;
	background: #f0f0f1;
	border-radius: 4px;
	overflow: hidden;
}

.p2g-order-card__carrier img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.p2g-order-card__actions {
	margin-top: 4px;
}

.p2g-order-card__button {
	display: inline-block;
	padding: 6px 14px;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	border-radius: 4px;
	background: #2c3338;
	color: #fff !important;
	border: none;
	cursor: pointer;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.p2g-order-card__button:hover {
	background: #1d2327;
	color: #fff !important;
}

.p2g-order-card__button:focus {
	color: #fff !important;
	box-shadow: 0 0 0 2px #2271b1;
	outline: none;
}
