@charset "UTF-8";

.swipeteam_cc {
	--swipeteam_cc-indent: 20px;
	--swipeteam_cc-width: 500px;
	--swipeteam_cc-radius: 20px;
	--swipeteam_cc-color-bg: #ffffff;
	--swipeteam_cc-color-text: #000000;
	--swipeteam_cc-color-accent: #ff0000;
	--swipeteam_cc-text-align: left;
	--swipeteam_cc-font-size: 15px;
	--swipeteam_cc-line-height: 145%;

	position: fixed;
	z-index: 10000;
	left: 0;
	bottom: 0;
	box-sizing: border-box;
	padding: 22px 20px 20px;
	max-width: 100%;
	background-color: var(--swipeteam_cc-color-bg);
	border-top: 3px solid var(--swipeteam_cc-color-accent);
	box-shadow: 0 24px 48px -18px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.06);
	font-size: var(--swipeteam_cc-font-size);
	line-height: var(--swipeteam_cc-line-height);
	color: var(--swipeteam_cc-color-text);
	text-align: var(--swipeteam_cc-text-align);
	opacity: 0;
	pointer-events: none;
	transform: translateY(16px) scale(0.97);
	transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1), transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.swipeteam_cc.swipeteam_cc--active {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0) scale(1);
}

@media (min-width: 560px) {
	.swipeteam_cc {
		left: var(--swipeteam_cc-indent);
		bottom: var(--swipeteam_cc-indent);
		width: var(--swipeteam_cc-width);
		max-width: calc(100% - var(--swipeteam_cc-indent) * 2);
		border-radius: var(--swipeteam_cc-radius);
	}

	.swipeteam_cc--center {
		left: 50%;
		transform: translate(-50%, 16px) scale(0.97);
	}

	.swipeteam_cc--center.swipeteam_cc--active {
		transform: translate(-50%, 0) scale(1);
	}

	.swipeteam_cc--right {
		left: auto;
		right: var(--swipeteam_cc-indent);
	}
}

.swipeteam_cc *,
.swipeteam_cc *::before,
.swipeteam_cc *::after {
	box-sizing: border-box;
}

.swipeteam_cc__text {
	margin: 0;
}

.swipeteam_cc__text a {
	color: var(--swipeteam_cc-color-accent);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.swipeteam_cc__settings {
	overflow: hidden;
	max-height: 0;
	margin-top: 0;
	opacity: 0;
	transition: max-height 0.35s cubic-bezier(0.22, 1, 0.36, 1), margin-top 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
}

.swipeteam_cc__settings.swipeteam_cc__settings--open {
	max-height: 400px;
	margin-top: 16px;
	padding-top: 14px;
	opacity: 1;
	border-top: 1px solid rgba(127, 127, 127, 0.25);
}

.swipeteam_cc__settings-title {
	margin: 0 0 10px;
	font-size: calc(var(--swipeteam_cc-font-size) * 0.78);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	opacity: 0.75;
}

.swipeteam_cc__checkboxes {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 20px;
}

.swipeteam_cc__checkbox {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: calc(var(--swipeteam_cc-font-size) * 0.85);
	cursor: pointer;
	user-select: none;
}

.swipeteam_cc__checkbox input {
	appearance: none;
	-webkit-appearance: none;
	position: relative;
	flex: 0 0 auto;
	width: 34px;
	height: 20px;
	margin: 0;
	border-radius: var(--swipeteam_cc-radius);
	background-color: rgba(127, 127, 127, 0.35);
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.swipeteam_cc__checkbox input::before {
	content: "";
	position: absolute;
	top: 2px;
	left: 2px;
	width: 16px;
	height: 16px;
	border-radius: var(--swipeteam_cc-radius);
	background-color: #ffffff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
	transition: transform 0.2s ease;
}

.swipeteam_cc__checkbox input:checked {
	background-color: var(--swipeteam_cc-color-accent);
}

.swipeteam_cc__checkbox input:checked::before {
	transform: translateX(14px);
}

.swipeteam_cc__checkbox input:focus-visible {
	outline: 2px solid var(--swipeteam_cc-color-accent);
	outline-offset: 2px;
}

.swipeteam_cc__checkbox--disabled {
	cursor: default;
	opacity: 0.55;
}

.swipeteam_cc__checkbox--disabled input {
	cursor: default;
}

.swipeteam_cc__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	margin-top: 18px;
}

.swipeteam_cc__btn {
	padding: 10px 24px;
	border: 1.5px solid transparent;
	border-radius: var(--swipeteam_cc-radius);
	background-color: var(--swipeteam_cc-color-accent);
	color: #ffffff;
	font-size: var(--swipeteam_cc-font-size);
	font-weight: 600;
	line-height: 1.3;
	cursor: pointer;
	user-select: none;
	transition: filter 0.2s ease, transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.swipeteam_cc__btn:hover {
	filter: brightness(1.08);
	transform: translateY(-1px);
}

.swipeteam_cc__btn:active {
	transform: translateY(0);
	filter: brightness(0.96);
}

.swipeteam_cc__btn:focus-visible {
	outline: 2px solid var(--swipeteam_cc-color-accent);
	outline-offset: 2px;
}

.swipeteam_cc__btn--secondary {
	background-color: transparent;
	border-color: var(--swipeteam_cc-color-accent);
	color: var(--swipeteam_cc-color-accent);
}

.swipeteam_cc__btn--secondary:hover {
	background-color: var(--swipeteam_cc-color-accent);
	color: #ffffff;
	filter: none;
}

.swipeteam_cc__btn--ghost {
	padding: 10px 6px;
	border-color: transparent;
	background-color: transparent;
	color: var(--swipeteam_cc-color-text);
	opacity: 0.65;
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-color: transparent;
}

.swipeteam_cc__btn--ghost:hover {
	opacity: 1;
	text-decoration-color: currentColor;
	filter: none;
	transform: none;
}

@media (max-width: 559px) {
	.swipeteam_cc__btn {
		flex: 1 1 auto;
		text-align: center;
	}

	.swipeteam_cc__btn--ghost {
		flex-basis: 100%;
		order: 3;
	}
}
