#cookies-background {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 9998;
	display: none;
}

#cookies {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: #fff;
	padding: 20px;
	border: 1px solid #000;
	border-radius: 10px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	z-index: 9999;
	width: 80%;
	max-width: 800px;
	height: 80%;
	max-height: 400px;
	display: none;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-gutter: stable both-edges;
	scrollbar-color: #171E60 transparent;
}

#cookies::-webkit-scrollbar-track {
	background-color: #f0f0f0;
	border-radius: 10px;
}

#cookies::-webkit-scrollbar-thumb {
	background-color: #171E60;
	border-radius: 10px;
}

#cookies::-webkit-scrollbar-thumb:hover {
	background-color: #171E60;
}

#cookies::-webkit-scrollbar-button {
	display: none;
}

#cookies h1 {
	font-size: 1.2rem;
	margin-top: 0;
	margin-bottom: 10px;
	text-align: center;
}

#cookies h2 {
	font-size: 1rem;
	margin-top: 0;
	text-align: center;
}

#cookies p {
	margin-bottom: 15px;
	padding: 0 20px;
	font-size: 0.9rem;
}

#cookies form {
	display: flex;
	flex-direction: column;
	align-items: center;
}

#cookies form div {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 50%;
	margin: 10px auto;
}

#cookies form label {
    margin-left: 5px;
    font-size: 0.9rem;
}

#cookies form input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #171E60;
    border-radius: 5px;
    cursor: pointer;
}

#cookies form input[type="checkbox"]:checked {
    background-color: #171E60;
}

#cookies form input[type="checkbox"]::before {
    content: ""; /* Hide default checkbox */
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #fff;
    border-radius: 5px;
}

#cookies form input[type="checkbox"]:checked::before {
    content: "\2713"; /* Checkmark symbol */
    font-size: 16px;
	font-weight: bold;
    color: #171E60;
    text-align: center;
    line-height: 20px;
}

#cookies button {
	background-color: #171E60;
	color: #fff;
	padding: 8px 16px;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	font-size: 0.9rem;
}