.ips-consent-banner {
	position: fixed;
	bottom: 24px;
	left: 24px;
	right: 24px;
	max-width: 460px;
	margin: 0 auto;
	z-index: 9998;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.ips-consent__wrapper {
	background: #ffffff;
	border-radius: 16px;
	box-shadow: 0 10px 40px rgba(15, 23, 42, 0.18);
	border: 1px solid rgba(226, 232, 240, 0.9);
	overflow: hidden;
}

.ips-consent__body {
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ips-consent__title {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	color: #1a202c;
}

.ips-consent__description {
	margin: 0;
	color: #4a5568;
	font-size: 14px;
	line-height: 1.45;
}

.ips-consent__actions {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.ips-consent__drawer {
	padding: 16px 24px 24px;
	background: #f7fafc;
	border-top: 1px solid rgba(226, 232, 240, 0.7);
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.ips-consent__categories {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ips-consent__category {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 16px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
}

.ips-consent__category strong {
	display: block;
	font-size: 15px;
	color: #2d3748;
}

.ips-consent__category p {
	margin: 6px 0 0;
	color: #4a5568;
	font-size: 13px;
	line-height: 1.4;
}

.ips-consent__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px 10px;
	border-radius: 999px;
	background: #edf2f7;
	color: #2d3748;
	font-size: 12px;
	font-weight: 600;
}

.ips-consent__footer {
	padding: 12px 24px;
	border-top: 1px solid rgba(226, 232, 240, 0.7);
	background: #ffffff;
	display: flex;
	justify-content: flex-end;
}

.ips-consent__link {
	color: #2b6cb0;
	font-size: 14px;
	text-decoration: underline;
}

.ips-consent__btn {
	border-radius: 8px;
	border: none;
	padding: 10px 16px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
	transition: all 0.12s ease;
}

.ips-consent__btn--primary {
	background: #2f855a;
	color: #ffffff;
}

.ips-consent__btn--secondary {
	background: #edf2f7;
	color: #2d3748;
}

.ips-consent__btn--link {
	background: transparent;
	color: #2b6cb0;
	text-decoration: underline;
}

.ips-consent__btn:focus {
	outline: 2px solid #3182ce;
	outline-offset: 2px;
}

.ips-consent__btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 3px 6px rgba(15, 23, 42, 0.18);
}

.ips-switch {
	position: relative;
	width: 44px;
	height: 24px;
}

.ips-switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.ips-switch__slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #cbd5e0;
	transition: 0.2s;
	border-radius: 24px;
}

.ips-switch__slider::before {
	content: '';
	position: absolute;
	height: 18px;
	width: 18px;
	left: 3px;
	bottom: 3px;
	background-color: #ffffff;
	transition: 0.2s;
	border-radius: 50%;
	box-shadow: 0 2px 4px rgba(15, 23, 42, 0.12);
}

.ips-switch input:checked + .ips-switch__slider {
	background-color: #48bb78;
}

.ips-switch input:checked + .ips-switch__slider::before {
	transform: translateX(20px);
}

@media (max-width: 600px) {
	.ips-consent-banner {
		left: 12px;
		right: 12px;
		bottom: 12px;
	}
}
