:root {
	--czcc-navy: #14213D;
	--czcc-navy-dark: #0F1B33;
	--czcc-green: #1F7A3C;
	--czcc-green-light: #E3F3E6;
	--czcc-grey-bg: #EEF0F2;
	--czcc-track-off: #D7DADE;
	--czcc-text-body: #4B5563;
	--czcc-overlay: rgba(15, 23, 33, 0.55);
}

#czcc-overlay,
#czcc-overlay * {
	box-sizing: border-box;
}

.czcc-overlay {
	position: fixed;
	inset: 0;
	background: var(--czcc-overlay);
	z-index: 999999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.czcc-overlay.czcc-open {
	display: flex;
}

.czcc-modal {
	position: relative;
	background: #fff;
	width: 100%;
	max-width: 480px;
	max-height: 88vh;
	border-radius: 20px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
	display: flex;
	flex-direction: column;
	animation: czcc-pop .22s ease;
}

@keyframes czcc-pop {
	from { transform: scale(.96); opacity: 0; }
	to   { transform: scale(1); opacity: 1; }
}

.czcc-modal-inner {
	overflow-y: auto;
	padding: 48px 24px 22px;
	border-radius: 20px;
}

#czcc-overlay .czcc-close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 34px;
	height: 34px;
	border: none !important;
	outline: none !important;
	background: #F1F2F4 !important;
	border-radius: 50% !important;
	box-shadow: none !important;
	color: var(--czcc-navy) !important;
	cursor: pointer;
	display: flex !important;
	align-items: center;
	justify-content: center;
	z-index: 5;
}
#czcc-overlay .czcc-close:hover,
#czcc-overlay .czcc-close:focus,
#czcc-overlay .czcc-close:active {
	background: #E4E6EA !important;
	color: var(--czcc-navy) !important;
	border: none !important;
	box-shadow: none !important;
}
#czcc-overlay .czcc-close svg {
	width: 16px;
	height: 16px;
	display: block !important;
	overflow: visible;
}
#czcc-overlay .czcc-close svg path {
	stroke: currentColor !important;
	stroke-width: 2.2 !important;
}

.czcc-title {
	margin: 0 0 10px;
	text-align: center;
	color: var(--czcc-navy);
	font-size: 26px;
	font-weight: 800;
	letter-spacing: -0.01em;
}

.czcc-desc {
	margin: 0 auto 8px;
	max-width: 340px;
	text-align: center;
	color: var(--czcc-text-body);
	font-size: 15px;
	line-height: 1.45;
}

.czcc-policy-link {
	text-align: center;
	margin: 0 0 18px;
}
#czcc-overlay .czcc-policy-link a,
#czcc-overlay .czcc-policy-link a:visited {
	color: #1a5fd0 !important;
	text-decoration: underline;
	font-weight: 600;
	font-size: 15px;
}

.czcc-categories {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-bottom: 20px;
}

.czcc-row {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	border: 1px solid #E4E6EA;
	border-radius: 14px;
	padding: 14px;
}

.czcc-row-icon {
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--czcc-grey-bg);
	color: var(--czcc-navy);
	display: flex;
	align-items: center;
	justify-content: center;
}
.czcc-row-icon svg { width: 20px; height: 20px; }

.czcc-row-icon--green {
	background: var(--czcc-green-light);
	color: var(--czcc-green);
}

.czcc-row-body {
	flex: 1 1 auto;
	min-width: 0;
}

.czcc-row-title {
	font-weight: 700;
	font-size: 16px;
	color: var(--czcc-navy);
	margin-bottom: 3px;
}

.czcc-row-desc {
	font-size: 13.5px;
	line-height: 1.4;
	color: var(--czcc-text-body);
}

.czcc-row-details {
	margin-top: 8px;
	padding-top: 8px;
	border-top: 1px dashed #E4E6EA;
	font-size: 13px;
	color: var(--czcc-text-body);
}
.czcc-row-details p { margin: 0 0 6px; }
.czcc-row-details p:last-child { margin-bottom: 0; }

.czcc-row-control {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 6px;
}

.czcc-row-control--essential {
	align-items: flex-end;
}

.czcc-badge {
	font-size: 12.5px;
	font-weight: 700;
	color: var(--czcc-green);
}

/* Toggle switch */
#czcc-overlay .czcc-toggle {
	position: relative;
	display: inline-flex;
	align-items: center;
	width: 52px;
	height: 30px;
	border-radius: 999px;
	background: var(--czcc-track-off) !important;
	cursor: pointer;
	transition: background .18s ease;
	flex-shrink: 0;
}
#czcc-overlay .czcc-toggle-input {
	position: absolute;
	inset: 0;
	opacity: 0;
	margin: 0;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
}
#czcc-overlay .czcc-toggle-knob {
	position: absolute;
	top: 3px;
	left: 3px;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #fff !important;
	box-shadow: 0 1px 3px rgba(0,0,0,.25);
	transition: left .18s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--czcc-green) !important;
}
#czcc-overlay .czcc-toggle-knob svg { width: 13px; height: 13px; }

#czcc-overlay .czcc-toggle--on {
	background: var(--czcc-green) !important;
}
#czcc-overlay .czcc-toggle--on .czcc-toggle-knob {
	left: 25px;
}
#czcc-overlay .czcc-toggle--locked {
	cursor: default;
}

.czcc-chevron {
	width: 24px;
	height: 24px;
	border: none;
	background: transparent;
	color: var(--czcc-navy);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform .18s ease;
}
.czcc-chevron svg { width: 18px; height: 18px; }
.czcc-row.czcc-expanded .czcc-chevron { transform: rotate(180deg); }
.czcc-row-details { display: none; }
.czcc-row.czcc-expanded .czcc-row-details { display: block; }

.czcc-actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

#czcc-overlay .czcc-btn {
	width: 100%;
	border-radius: 999px;
	padding: 14px 18px;
	font-size: 15.5px;
	font-weight: 700;
	cursor: pointer;
	border: 2px solid transparent;
	outline: none !important;
	box-shadow: none !important;
	text-decoration: none !important;
	transition: opacity .15s ease, background .15s ease;
}
#czcc-overlay .czcc-btn:hover,
#czcc-overlay .czcc-btn:focus,
#czcc-overlay .czcc-btn:active,
#czcc-overlay .czcc-btn:visited {
	opacity: .9;
	text-decoration: none !important;
	box-shadow: none !important;
}

#czcc-overlay .czcc-btn--save,
#czcc-overlay .czcc-btn--save:hover,
#czcc-overlay .czcc-btn--save:focus,
#czcc-overlay .czcc-btn--save:active,
#czcc-overlay .czcc-btn--save:visited {
	background: var(--czcc-green) !important;
	border-color: var(--czcc-green) !important;
	color: #fff !important;
}

.czcc-actions-row {
	display: flex;
	gap: 10px;
}
#czcc-overlay .czcc-actions-row .czcc-btn {
	flex: 1 1 0;
	padding: 12px 10px;
	font-size: 14.5px;
}

#czcc-overlay .czcc-btn--outline-green,
#czcc-overlay .czcc-btn--outline-green:hover,
#czcc-overlay .czcc-btn--outline-green:focus,
#czcc-overlay .czcc-btn--outline-green:active,
#czcc-overlay .czcc-btn--outline-green:visited {
	background: #fff !important;
	color: var(--czcc-green) !important;
	border-color: var(--czcc-green) !important;
}

#czcc-overlay .czcc-btn--outline-navy,
#czcc-overlay .czcc-btn--outline-navy:hover,
#czcc-overlay .czcc-btn--outline-navy:focus,
#czcc-overlay .czcc-btn--outline-navy:active,
#czcc-overlay .czcc-btn--outline-navy:visited {
	background: #fff !important;
	color: var(--czcc-navy) !important;
	border-color: var(--czcc-navy) !important;
}

/* Mobile: bottom sheet, matching the screenshot */
@media (max-width: 640px) {
	.czcc-overlay {
		align-items: flex-end;
		padding: 0;
	}
	.czcc-modal {
		max-width: 100%;
		max-height: 92vh;
		border-radius: 22px 22px 0 0;
		animation: czcc-slide-up .22s ease;
	}
	@keyframes czcc-slide-up {
		from { transform: translateY(24px); opacity: 0; }
		to   { transform: translateY(0); opacity: 1; }
	}
}
