.detailing-popup {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 101;

	width: 84.1rem;
	height: auto;

	display: none;
	flex-direction: column;
	align-items: flex-start;

	border-radius: 2rem;
	background-color: #fff;

	padding: 3.2rem 3rem 3rem 3rem;
}

.detailing-popup.show {
	display: flex;
}

.detailing-popup__title {
	display: flex;
	align-items: center;
	column-gap: 0.8rem;

	font-size: 1.4rem;
	font-weight: 500;
	letter-spacing: -0.02em;

	margin-bottom: 3rem;
}

.detailing-popup__tab {
	width: 18.7rem;
	height: 3rem;

	display: flex;
	align-items: center;
	justify-content: flex-start;
	
	border-radius: 0.6rem;
	background-color: transparent;
	transition: background-color 0.3s ease, color 0.3s ease;

	color: #5f5f5f;
	font-size: 1.2rem;
	font-weight: 500;
	letter-spacing: -0.02em;

	padding: 1rem 2rem;

	outline: none;
	border: none;
}

.detailing-popup__tab.active {
	color: #fff;

	background-color: #6AA9B3;
}

.detailing-popup__tab:hover:not(.active) {
	color: #fff;
	background-color: #6AA9B3;
}

.detailing-popup__tabs {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;

	border-bottom: 1px solid #D3D3D3;

	padding-bottom: 3rem;
	margin-bottom: 3rem;
}

.detailing-popup__button {
	width: 14.6rem;
	height: 4rem;

	display: flex;
	align-items: center;
	justify-content: center;

	color: #fff;
	font-size: 1.4rem;
	font-weight: 500;

	border-radius: 3rem;
	background-color: #6AA9B3;
	transition: background-color 0.3s ease;

	border: none;
	outline: none;
}

.detailing-popup__button:hover:not(.detailing-popup__button.detailing-popup__button--cancel) {
	background-color: #287e8b;
}

.detailing-popup__button.detailing-popup__button--cancel {
	color: #000;

	border: 1px solid #000;
	background-color: transparent;
	transition: color 0.3s ease, border 0.3s ease;
}

.detailing-popup__button.detailing-popup__button--cancel:hover {
	color: #287e8b;
	border-color: #287e8b;
}

.detailing-popup-actions__button-wrapper {
	display: flex;
	align-items: center;
	column-gap: 1rem;
}

.detailing-popup-actions__right-button {
	color: #7C7C7C;
	font-size: 1.2rem;
	font-weight: 500;
	letter-spacing: -0.02em;

	transition: color 0.3s ease, border 0.3 ease;

	background-color: transparent;
	border: none;
	outline: none;
}

.detailing-popup-actions__right-button:hover {
	color: #287e8b;
}

.detailing-popup-actions__right-button:has(svg) {
	display: flex;
	align-items: center;
	column-gap: 0.9rem;
}

.detailing-popup-actions__right-button.detailing-popup-actions__right-button--choose-all,
.detailing-popup-actions__right-button.detailing-popup-actions__right-button--cancel-all {
	border-bottom: 1px dashed #7C7C7C;
}

.detailing-popup-actions__right {
	display: flex;
	align-items: center;
	column-gap: 2.5rem;
}

.detailing-popup-actions {
	width: 100%;

	display: flex;
	align-items: flex-start;
	justify-content: space-between;
}

.detailing-popup__close {
	top: 1rem;
	right: 1rem;
}