.wpconsent-scanner-services {
	display: flex;
}

.wpconsent-scanner-service {
	display: block;
	background: #fff;
	border: 1px solid var(--wpconsent-border-color);
	border-radius: 4px;
	padding: 20px;
	margin-right: 20px;
	width: 320px;
	position: relative;

	.wpconsent-scanner-service-checkbox {
		position: absolute;
		cursor: pointer;
		right: 20px;
		top: 20px;
	}

	.wpconsent-scanner-service-logo {
		img {
			max-width: 230px;
		}
	}
}

.wpconsent-scanner-services {
	padding-bottom: 20px;
}

.wpconsent-scan-overview {
	display: flex;
	align-items: flex-start;
	margin-bottom: 20px;

	.wpconsent-scan-overview-stat {
		margin-right: 50px;

		h3 {
			color: #051F31B2;
			font-size: 14px;
			font-weight: 600;
			margin-bottom: 12px;
			margin-top: 0;
		}

		p {
			color: #051F31;
			font-weight: 600;
			font-size: 20px;
			margin: 12px 0;
		}
	}
}

.wpconsent-scanner-services {
	padding: 20px;
}

span.wpconsent-styled-checkbox {
	display: block;
	padding: 0;
	position: relative;
	vertical-align: baseline;
	width: 14px;
	height: 14px;
	border: 1px solid #39960D;
	border-radius: 2px;
	cursor: pointer;

	&.checked {
		background-color: #39960D;

		&:hover {
			color: #fff;
		}
	}


&.checked:before {
		background-image: url("data:image/svg+xml,%3Csvg%20width%3D%228%22%20height%3D%226%22%20viewBox%3D%220%200%208%206%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M2.83333%205.56683L0.5%203.2335L1.31667%202.41683L2.83333%203.9335L6.68333%200.0834961L7.5%200.900163L2.83333%205.56683Z%22%20fill%3D%22white%22/%3E%3C/svg%3E");
		background-position: 50%;
		background-repeat: no-repeat;
		background-size: 8px 6px;
		z-index: 99;
		width: 100%;
		height: 100%;
		position: absolute;
		left: 0;
		top: 0;
		content: '';
	}

	input {
		display: none;
	}
}

.wpconsent-hidden-preview {
	overflow: hidden;
	height: 0;
	padding: 0;
	margin: 0;

		&.wpconsent-visible {
		height: auto;
	}
}

.wpconsent-script-preview {
	word-break: break-all;
	white-space: break-spaces;

	&.wpconsent-visible {
		overflow: visible;
		max-width: 100%;
	}
}

.wpconsent-metabox-content {
	.wpconsent-onboarding-selectable-list {
		margin-top: 20px;
	}
}

.wpconsent-script-preview,
.wpconsent-scanner-service-cookies-list{
	&.wpconsent-visible {
		margin: 20px 0;
	}
}

.wpconsent-service-info-buttons {
	margin-top: 10px;

	.wpconsent-button {
		margin-right: 10px;
	}
}

.wpconsent-manual-scan-description {
	margin-bottom: 20px;
	h3 {
		font-size: 14px;
		font-weight: 600;
		margin-bottom: 12px;
		margin-top: 0;
	}
}

.wpconsent-manual-scan-row {
    display: flex;
    gap: 24px;
    align-items: flex-start;
	justify-content: space-between;
}

.wpconsent-scanner-selected-items-container {
    width: 100%;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	max-height: 600px;
	overflow-y: auto;
	padding-right: 20px;
}

.wpconsent-scanner-selected-item {
    background: #fff;
    border: 1px solid var(--wpconsent-border-color);
    border-radius: 4px;
    padding: 14px 12px;
    position: relative;
	display: flex;
	justify-content: space-between;
	align-items: center;

	&.homepage {
		grid-column: span 2;
		background: #f8f8f8;
	}
}

.wpconsent-scanner-selected-item-info {
	flex: 1;

	h3 {
		font-size: 14px;
		margin: 0 0 5px 0;
	}

	p {
		margin: 0;
		font-size: 13px;
		color: #051F31B2;
	}
}

.wpconsent-scanner-selected-item .wpconsent-remove-item {
	background: none;
	border: none;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
    cursor: pointer;
    color: inherit;
    opacity: 0.7;
	transition: opacity 0.2s ease;
}

.wpconsent-scanner-selected-item .wpconsent-remove-item:hover {
    opacity: 1;
}