html[data-wpas-cookies-lang="pl"] [data-wpas-lang="en"],
html[data-wpas-cookies-lang="en"] [data-wpas-lang="pl"] {
	display: none !important;
}

.wpas-cookies[hidden],
.wpas-cookies-reopen[hidden],
.wpas-cookies [hidden] {
	display: none !important;
}

.wpas-cookies,
.wpas-cookies *,
.wpas-cookies-reopen {
	box-sizing: border-box;
}

.wpas-cookies {
	position: fixed;
	z-index: 999990;
	left: 16px;
	right: 16px;
	bottom: 16px;
	color: var(--wpas-cookies-text, #1f2937);
	font-family: inherit;
	font-size: 15px;
	line-height: 1.5;
}

.wpas-cookies--bar {
	left: 0;
	right: 0;
	bottom: 0;
}

.wpas-cookies--modal {
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.wpas-cookies__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.55);
}

.wpas-cookies__panel {
	position: relative;
	max-width: 920px;
	margin: 0 auto;
	background: var(--wpas-cookies-bg, #fff);
	color: var(--wpas-cookies-text, #1f2937);
	border-radius: 8px;
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
	overflow: hidden;
}

.wpas-cookies--bar .wpas-cookies__panel {
	max-width: none;
	border-radius: 0;
	box-shadow: none;
	border-top: 1px solid #e5e7eb;
}

.wpas-cookies--corner {
	left: auto;
	width: min(440px, calc(100% - 32px));
}

.wpas-cookies__langs {
	display: flex;
	justify-content: flex-end;
	padding: 10px 16px 0;
}

.wpas-cookies__langs button {
	margin: 0;
	border: 1px solid #d1d5db;
	background: transparent;
	color: var(--wpas-cookies-text, #1f2937);
	font: inherit;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1;
	padding: 6px 11px;
	cursor: pointer;
}

.wpas-cookies__langs button + button {
	margin-left: -1px;
}

.wpas-cookies__langs button:first-child {
	border-radius: 999px 0 0 999px;
}

.wpas-cookies__langs button:last-child {
	border-radius: 0 999px 999px 0;
}

.wpas-cookies__langs button.is-active {
	background: var(--wpas-cookies-accent, #00a3e0);
	border-color: var(--wpas-cookies-accent, #00a3e0);
	color: #fff;
	position: relative;
	z-index: 1;
}

.wpas-cookies__tabs {
	display: flex;
	border-bottom: 1px solid #e5e7eb;
}

.wpas-cookies__tabs button {
	flex: 1;
	margin: 0;
	padding: 14px 8px 12px;
	border: 0;
	border-bottom: 3px solid transparent;
	background: transparent;
	color: var(--wpas-cookies-text, #1f2937);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.wpas-cookies__tabs button.is-active {
	color: var(--wpas-cookies-accent, #00a3e0);
	border-bottom-color: var(--wpas-cookies-accent, #00a3e0);
}

.wpas-cookies__body {
	padding: 18px 22px 8px;
}

.wpas-cookies__title {
	margin: 0 0 8px;
	font-size: 16px;
	line-height: 1.3;
}

.wpas-cookies__message,
.wpas-cookies__message p {
	margin: 0 0 12px;
}

.wpas-cookies__links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0 0 14px;
}

.wpas-cookies__links a {
	color: var(--wpas-cookies-accent, #00a3e0);
	font-weight: 700;
}

.wpas-cookies__actions {
	display: flex;
	gap: 12px;
	padding: 16px 22px 18px;
	border-top: 1px solid #e5e7eb;
}

.wpas-cookies__btn {
	flex: 1;
	appearance: none;
	margin: 0;
	border: 0;
	border-radius: 4px;
	padding: 14px 10px;
	background: var(--wpas-cookies-accent, #00a3e0);
	color: #fff;
	font: inherit;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
}

.wpas-cookies__btn[data-wpas-cookies-settings]::after {
	content: " ›";
}

.wpas-cookies__categories {
	list-style: none;
	margin: 0;
	padding: 0;
}

.wpas-cookies__category {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 18px;
	margin: 0;
	padding: 14px 0;
	border-bottom: 1px solid #e5e7eb;
}

.wpas-cookies__category-copy {
	min-width: 0;
}

.wpas-cookies__category-copy strong {
	display: block;
	margin: 0 0 4px;
}

.wpas-cookies__category-copy p {
	margin: 0;
	color: var(--wpas-cookies-muted, #6b7280);
}

.wpas-cookies__switch {
	position: relative;
	flex: 0 0 auto;
	width: 56px;
	height: 32px;
	margin-top: 2px;
}

.wpas-cookies__switch input {
	position: absolute;
	inset: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.wpas-cookies__switch input:disabled {
	cursor: default;
}

.wpas-cookies__switch-ui {
	display: block;
	width: 56px;
	height: 32px;
	border-radius: 999px;
	background: #1a1a1a;
	transition: background 0.18s ease;
}

.wpas-cookies__switch-ui::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.28);
	transition: transform 0.18s ease;
}

.wpas-cookies__switch input:checked + .wpas-cookies__switch-ui {
	background: var(--wpas-cookies-accent, #00a3e0);
}

.wpas-cookies__switch input:checked + .wpas-cookies__switch-ui::after {
	transform: translateX(24px);
}

.wpas-cookies__switch input:focus-visible + .wpas-cookies__switch-ui {
	outline: 2px solid var(--wpas-cookies-accent, #00a3e0);
	outline-offset: 3px;
}

.wpas-cookies__sr {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.wpas-cookies-reopen,
.wpas-cookies-open {
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.wpas-cookies-reopen {
	position: fixed;
	z-index: 999989;
	left: 16px;
	bottom: 16px;
	border: 0;
	border-radius: 999px;
	padding: 10px 14px;
	background: var(--wpas-cookies-accent, #00a3e0);
	color: #fff;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

button.wpas-cookies-reopen.wpas-cookies-reopen--mark {
	display: grid !important;
	place-items: center;
	width: 46px !important;
	height: 46px !important;
	min-width: 46px !important;
	max-width: 46px !important;
	min-height: 46px !important;
	padding: 0 !important;
	margin: 0;
	border: 0 !important;
	border-radius: 50% !important;
	background: rgba(0, 0, 0, 0.5) !important;
	color: #fff !important;
	box-shadow: none !important;
	line-height: 1 !important;
	font-size: 18px;
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0;
	appearance: none;
}

.wpas-cookies-open {
	border: 0;
	background: transparent;
	color: inherit;
	padding: 0;
	text-decoration: underline;
}

.wpas-cookies-table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 8px;
	font-size: 0.92rem;
}

.wpas-cookies-table th,
.wpas-cookies-table td {
	padding: 8px 10px 8px 0;
	border-bottom: 1px solid #e5e7eb;
	text-align: left;
	vertical-align: top;
}

.wpas-cookies-table small {
	display: block;
	margin-top: 2px;
	color: var(--wpas-cookies-muted, #6b7280);
}

@media (max-width: 640px) {
	.wpas-cookies__actions {
		flex-direction: column;
	}

	.wpas-cookies__tabs button {
		font-size: 14px;
		padding-left: 4px;
		padding-right: 4px;
	}
}
