/* AITL Cookie Consent – banner and modal */

.aitl-cookie-banner {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 999998;
	background: #1a1a2e;
	color: #eee;
	box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
	padding: 1rem 1.5rem;
	font-size: 15px;
	line-height: 1.5;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

.aitl-cookie-banner.aitl-cookie-banner--hidden {
	transform: translateY(100%);
	opacity: 0;
	pointer-events: none;
}

.aitl-cookie-banner-inner {
	max-width: 1100px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
	justify-content: space-between;
}

.aitl-cookie-banner-text {
	margin: 0;
	flex: 1 1 280px;
}

.aitl-cookie-banner-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
}

.aitl-cookie-btn {
	cursor: pointer;
	border: none;
	padding: 0.5rem 1.25rem;
	font-size: 15px;
	border-radius: 4px;
	transition: background 0.2s, color 0.2s;
}

.aitl-cookie-btn-primary {
	background: #4a90d9;
	color: #fff;
}

.aitl-cookie-btn-primary:hover {
	background: #3a7bc8;
}

.aitl-cookie-btn-secondary {
	background: transparent;
	color: #b8d4f0;
	border: 1px solid rgba(255, 255, 255, 0.3);
}

.aitl-cookie-btn-secondary:hover {
	background: rgba(255, 255, 255, 0.08);
}

/* Modal */
.aitl-cookie-modal {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}

.aitl-cookie-modal.aitl-cookie-modal--open {
	opacity: 1;
	visibility: visible;
}

.aitl-cookie-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	cursor: pointer;
}

.aitl-cookie-modal-content {
	position: relative;
	background: #fff;
	color: #222;
	border-radius: 8px;
	max-width: 560px;
	width: 100%;
	max-height: 85vh;
	display: flex;
	flex-direction: column;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.aitl-cookie-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.25rem 1.5rem;
	border-bottom: 1px solid #e0e0e0;
}

.aitl-cookie-modal-header h2 {
	margin: 0;
	font-size: 1.35rem;
	font-weight: 600;
}

.aitl-cookie-modal-close {
	background: none;
	border: none;
	font-size: 1.75rem;
	line-height: 1;
	cursor: pointer;
	color: #666;
	padding: 0.25rem;
	transition: color 0.2s;
}

.aitl-cookie-modal-close:hover {
	color: #000;
}

.aitl-cookie-modal-body {
	padding: 1.5rem;
	overflow-y: auto;
	flex: 1;
}

.aitl-cookie-modal-footer {
	padding: 1rem 1.5rem;
	border-top: 1px solid #e0e0e0;
}

.aitl-cookie-modal-footer .aitl-cookie-btn-primary {
	width: 100%;
}

/* Disclosure content */
.aitl-cookie-disclosure p {
	margin: 0 0 1rem;
}

.aitl-cookie-disclosure .aitl-cookie-category {
	margin-bottom: 1.25rem;
}

.aitl-cookie-disclosure .aitl-cookie-category h3 {
	margin: 0 0 0.35rem;
	font-size: 1.05rem;
	font-weight: 600;
}

.aitl-cookie-disclosure .aitl-cookie-category p {
	margin: 0;
	font-size: 0.95rem;
	color: #444;
}

.aitl-cookie-privacy-link {
	margin-top: 1.25rem !important;
}

.aitl-cookie-privacy-link a {
	color: #4a90d9;
	text-decoration: none;
}

.aitl-cookie-privacy-link a:hover {
	text-decoration: underline;
}
