/**
 * Aura Cookie Consent - Frontend CSS
 */

/* Cookie Banner */
.aura-cookie-banner {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: #fff;
	border-top: 3px solid #2271b1;
	box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
	z-index: 999999;
	padding: 20px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.aura-cookie-banner-content {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}

.aura-cookie-message {
	flex: 1;
	min-width: 300px;
}

.aura-cookie-message p {
	margin: 0 0 10px 0;
	font-size: 14px;
	line-height: 1.6;
	color: #333;
}

.aura-cookie-policy-link {
	color: #2271b1;
	text-decoration: underline;
	font-size: 13px;
}

.aura-cookie-policy-link:hover {
	color: #135e96;
}

.aura-cookie-buttons {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.aura-cookie-buttons .button {
	padding: 8px 16px;
	font-size: 14px;
	border-radius: 4px;
	cursor: pointer;
	border: 1px solid #2271b1;
	transition: all 0.3s ease;
}

.aura-cookie-accept {
	background: #2271b1;
	color: #fff;
}

.aura-cookie-accept:hover {
	background: #135e96;
	border-color: #135e96;
}

.aura-cookie-decline,
.aura-cookie-settings {
	background: #fff;
	color: #2271b1;
}

.aura-cookie-decline:hover,
.aura-cookie-settings:hover {
	background: #f0f0f1;
}

/* Cookie Modal */
.aura-cookie-modal {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.7);
	z-index: 9999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.aura-cookie-modal-content {
	background: #fff;
	border-radius: 8px;
	max-width: 600px;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.aura-cookie-modal-header {
	padding: 20px;
	border-bottom: 1px solid #ddd;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.aura-cookie-modal-header h3 {
	margin: 0;
	font-size: 20px;
	color: #333;
}

.aura-cookie-modal-close {
	background: none;
	border: none;
	font-size: 28px;
	color: #666;
	cursor: pointer;
	line-height: 1;
	padding: 0;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
}

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

.aura-cookie-modal-body {
	padding: 20px;
}

.aura-cookie-modal-body > p {
	margin: 0 0 20px 0;
	color: #666;
	font-size: 14px;
}

.aura-cookie-categories {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.aura-cookie-category {
	display: block;
	padding: 15px;
	border: 1px solid #ddd;
	border-radius: 4px;
	cursor: pointer;
	transition: background-color 0.2s;
}

.aura-cookie-category:hover {
	background: #f9f9f9;
}

.aura-cookie-category input[type="checkbox"] {
	margin-right: 10px;
	width: 18px;
	height: 18px;
	cursor: pointer;
}

.aura-cookie-category input[type="checkbox"]:disabled {
	cursor: not-allowed;
	opacity: 0.6;
}

.aura-cookie-category strong {
	display: block;
	margin-bottom: 5px;
	color: #333;
	font-size: 16px;
}

.aura-cookie-category .description {
	margin: 5px 0 0 0;
	font-size: 13px;
	color: #666;
	font-style: italic;
}

.aura-cookie-modal-footer {
	padding: 20px;
	border-top: 1px solid #ddd;
	display: flex;
	justify-content: flex-end;
	gap: 10px;
}

.aura-cookie-save {
	background: #2271b1;
	color: #fff;
	border: 1px solid #2271b1;
}

.aura-cookie-save:hover {
	background: #135e96;
	border-color: #135e96;
}

/* Responsive */
@media (max-width: 768px) {
	.aura-cookie-banner-content {
		flex-direction: column;
		text-align: center;
	}

	.aura-cookie-buttons {
		width: 100%;
		justify-content: center;
	}

	.aura-cookie-buttons .button {
		flex: 1;
		min-width: 120px;
	}

	.aura-cookie-modal-content {
		margin: 10px;
		max-width: calc(100% - 20px);
	}
}

