$blue: #2270B1;

.post-type-shop_order .wetail-shipping-order-labels {
	margin-top: 12px;
	display: flex;
	flex-direction: column;
	gap: 15px;
	max-height: 180px;
	overflow: hidden auto;
	padding-bottom: 15px;

	&__item {
		display: flex;
		gap: 20px;
		align-items: flex-start;
		background-color: #fff;
		box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
		font-size: 14px;

		& ~ .wetail-shipping-order-labels__actions {

		}
	}

	&__icon {
		display: flex;
		justify-content: center;
		align-items: center;
		height: 28px;
		width: 28px;
		flex: 0 0 auto;
		border: 1px solid $blue;
		border-radius: 3px;
		background: #F6F7F7;

		svg {
			fill: $blue;
		}
	}

	&__content {
		flex: 1 1 auto;
	}

	&__title {
		font-weight: 600;
		color: #1d2327;
	}

	&__meta {
		margin: 0;
		color: #50575e;
	}

	&__link {
		display: inline-block;
		font-weight: 400;
		color: $blue;
		text-decoration: underline;

		&:hover,
		&:focus {
			text-decoration: underline;
		}
	}

	&__empty {
		margin: 0;
		font-size: 12px;
		color: #6c7781;
	}
}

.wetail-shipping-order-actions {
	margin-top: 12px;
	display: flex;
	gap: 2px;

	&:not(.wetail-shipping-order-actions-empty) {
		margin: 0 -12px -12px -12px;
		padding: 12px;
		border-top: 1px solid #ddd;
	}
}

.wetail-shipping-button-text {
	font-weight: 500;
	font-size: 13px;
	color: $blue;
}
