.cancellation-offers-components__checkbox input[type=checkbox] {
	height: 0;
	width: 0;
	visibility: hidden;
	display: none;
}

.cancellation-offers-components__checkbox label {
	--size: 45px;

	cursor: pointer;
	width: var(--size) !important;
	height: calc(var(--size) / 2);
	background: grey;
	display: block;
	border-radius: 100px;
	position: relative;
	float: none !important;
	margin: 0 !important;
}

.cancellation-offers-components__checkbox label:after {
	content: '';
	position: absolute;
	top: 6%;
	left: 2.5%;
	width: calc(50% - 5%);
	height: calc(100% - 11%);
	background: #fff;
	border-radius: 90px;
	transition: 0.3s;
}

.cancellation-offers-components__checkbox input:checked + label {
	background: #2271b1;
}

.cancellation-offers-components__checkbox input:checked + label:after {
	left: calc(100% - 2.5%);
	transform: translateX(-100%);
}

.cancellation-offers-components__checkbox label:active:after {
	width: 55%;
}


.cancellation-offers-components__dismiss-button {
	position: relative;
	padding: 0;
	outline: none;
	cursor: pointer;
	display: inline-block;
}


.cancellation-offers-components-row {
	width: 100%;
	display: flex;
	margin-bottom: 25px;
	flex-wrap: nowrap;
}

.cancellation-offers-components-row__label {
	width: 150px;
	padding-right: 15px;
	box-sizing: border-box;
}

.cancellation-offers-components-row__value {
	flex: 1;
}

.cancellation-offers-components-row__value input[type=text],
.cancellation-offers-components-row__value input[type=number],
.cancellation-offers-components-row__value input[type=phone],
.cancellation-offers-components-row__value input[type=email],
.cancellation-offers-components-row__value textarea,
.cancellation-offers-components-row__value select,
.cancellation-offers-components-row__value .select2 {
	width: 100% !important;
}


.cancellation-offers-components__separator {
	margin: 40px 0;
}
.cancellation-offers-components__separator::after {
	content: attr(data-title);
	left: 50%;
	transform: translate(-50%, -50%);
	position: absolute;
	background: #fff;
	padding: 0 20px;
	font-weight: bold;
}

/**
 * Survey Answers Table
 */

.widefat.surveyanswer tfoot tr td,
.widefat.surveyanswer tfoot tr th,
.widefat.surveyanswer thead tr td,
.widefat.surveyanswer thead tr th,
.widefat.surveyanswer tbody tr td,
.widefat.surveyanswer tbody tr th {
	padding: 13px;
	vertical-align: inherit;
}


@media (min-width: 782px) {
	.widefat #cos_answer {
		width: 20%;
	}
	.widefat #cos_actions {
		width: 70px;
	}
}

.cos-new-survey-answer-row {
	background: #ebffeb !important;
}

.survey-answer-column_text-answer {
	position: relative;
	margin-top: 10px;
	padding: 8px 10px;
	background: rgba(0, 0, 0, .07);
	border-radius: 3px;
}

.survey-answer-column_text-answer:after {
	content: " ";
	position: absolute;
	left: 10px;
	top: -7px;
	border-top: none;
	border-right: 7px solid transparent;
	border-left: 7px solid transparent;
	border-bottom: 7px solid rgba(0, 0, 0, .07);
}

.cos-customer-link {
	word-wrap: normal;
}

.post-type-cancellation-offer .column-status {
	width: 100px;
}

.cancellation-offer-popup-survey__retention-rate {
	margin: 20px auto;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 1.4em;
	width: 100%;
	aspect-ratio: 1/1;
	border-radius: 50%;
	background: radial-gradient(closest-side, white 79%, transparent 80% 100%), conic-gradient(#2271b1 var(--retention-rate), #e1e1e1 0);
}

.cancellation-offer-popup-survey__retention-rate::before {
	content: attr(data-retention-rate) "%";
}


.cancellation-offer-popup-survey__survey-statistics-item {
	margin: 10px 0
}

.cancellation-offer-popup-survey__survey-statistics-item__label {
	margin-bottom: 5px;
}

.cancellation-offer-popup-survey__survey-statistics-item__progress-bar {
	height: 20px;
	color: #fff;
	min-width: 20px;
	box-sizing: border-box;
	font-size: .8em;
	font-weight: bold;
	line-height: 20px;
	background-color: #e1e1e1;
	border-radius: 3px;
	overflow: hidden;
}

.cancellation-offer-popup-survey__survey-statistics-item__progress-bar-inner {
	background-color: #2271B1FF;
	height: 100%;
	padding: 0 5px;
}

/**
* Freemius Banner
 */
.cos-offer-and-survey-freemius-block {
	color: #2271b1;
	padding: 15px 15px 15px 20px;
	background: #faf6f9;
	margin-top: 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-weight: 600;
	border-left: 5px solid #2271b1;
	box-shadow: 0 0 10px rgba(0, 0, 0, .1);
}

.cos-offer-and-survey-freemius-block__title {
	font-size: 1.1em;
}

.cos-offer-and-survey-freemius-block__icon {
	font-size: 2em;
	margin-right: 10px;
}

.cos-offer-and-survey-freemius-block__upgrade-button {
	animation: cos-offer-and-survey-upgrade-button-animation 20s ease-out infinite;
}

@keyframes cos-offer-and-survey-upgrade-button-animation {
	0% {
		transform: scale(1);
	}
	4% {
		transform: scale(1.08);
	}
	5% {
		transform: scale(0.98);
	}
	5.5% {
		transform: scale(1.02);
	}
	6% {
		transform: scale(0.98);
	}
	10% {
		transform: scale(1);
	}
}
