#cookie-consent-banner {
	position: fixed;
	display: none; 
	padding: 20px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	bottom: 20px;
	right: 20px;
	width: calc(100% - 40px);
	max-width: 600px;
	background: #FFFFFF 0% 0% no-repeat padding-box;
	box-shadow: 0px 3px 30px #00000029;
	border-radius: 10px;
	opacity: 0.98;
	font-family: system-ui, sans-serif;
	font-weight: normal;
	color: #000000;
	z-index: 40000;
}

/* Modal de configurações */
.cookie-settings-modal {
	position: fixed;
	display: none;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	z-index: 40001;
	align-items: center;
	justify-content: center;
}

.cookie-settings-content {
	background: #FFFFFF;
	padding: 30px;
	border-radius: 15px;
	max-width: 700px;
	width: 90%;
	max-height: 90vh;
	overflow-y: auto;
	box-shadow: 0px 5px 50px #00000040;
	position: relative;
}

.cookie-settings-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	/*margin-bottom: 20px;*/
}

.cookie-settings-close {
	background: none;
	border: none;
	font-size: 30px;
	cursor: pointer;
	color: #000;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: -10px;
}

.cookie-settings-close:hover {
	background: #f5f5f5;
	border-radius: 50%;
}

#cookie-consent-banner h3 {
	text-align: center;
	font-size: 24px;
	line-height: 0px;
	font-weight: 700;
	margin-bottom: 15px;
	margin-top: 20px;
}

.cookie-settings-content h3 {
	font-size: 22px;
	line-height: 30px;
	font-weight: 700;
	/*margin-bottom: 15px;*/
	margin-right: 40px;
}

#cookie-consent-banner p {
	text-align: center;
	font-size: 16px;
	line-height: 22px;
	text-wrap: balance;
	margin-top: 10px;
}

.settings-description {
	text-align: left !important;
	font-size: 12px !important;
	line-height: 20px !important;
	margin-bottom: 25px !important;
	color: #666;
}

/* Accordion Styles */
.cookie-accordion {
	margin: 25px 0;
	border: 1px solid #e0e0e0;
	border-radius: 10px;
	overflow: hidden;
}

.accordion-item {
	border-bottom: 1px solid #e0e0e0;
	background: #fafafa;
}

.accordion-item:last-child {
	border-bottom: none;
}

.accordion-header {
	padding: 20px;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	transition: background-color 0.3s ease;
}

.accordion-header:hover {
	background: #f0f0f0;
}

.accordion-title {
	display: flex;
	align-items: center;
	gap: 15px;
	flex: 1;
}

.accordion-title h4 {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
	color: #333;
}

.cookie-status {
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	min-width: 80px;
	text-align: center;
}

.cookie-status.necessary {
	background: #490696;
	color: white;
}

.cookie-status.active {
	background: #28a745;
	color: white;
}

.cookie-status:not(.necessary):not(.active) {
	background: #6c757d;
	color: white;
}

.accordion-icon {
	font-size: 20px;
	font-weight: bold;
	color: #333;
	min-width: 20px;
	text-align: center;
}

.accordion-content {
	padding: 0 20px;
	display: none;
	background: white;
	border-top: 1px solid #e0e0e0;
}

.accordion-item.active .accordion-content {
	display: block;
	padding: 20px;
}

.accordion-content p {
	text-align: left;
	margin-bottom: 20px !important;
	color: #666;
	font-size: 12px;
	line-height: 1.5;
}

/* Toggle Switch */
.cookie-toggle {
	display: flex;
	align-items: center;
	gap: 12px;
	cursor: pointer;
}

.cookie-toggle.disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.cookie-toggle input {
	display: none;
}

.toggle-slider {
	width: 50px;
	height: 24px;
	background: #ccc;
	border-radius: 24px;
	position: relative;
	transition: all 0.3s ease;
}

.toggle-slider:before {
	content: '';
	position: absolute;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: white;
	top: 2px;
	left: 2px;
	transition: all 0.3s ease;
}

.cookie-toggle input:checked + .toggle-slider {
	background: #490696;
}

.cookie-toggle input:checked + .toggle-slider:before {
	transform: translateX(26px);
}

.cookie-toggle input:disabled + .toggle-slider {
	background: #4E38C7;
	opacity: 0.6;
}

.toggle-text {
	font-size: 14px;
	font-weight: 600;
	color: #333;
	min-width: 60px;
}

/* Botões */
#cookie-consent-banner .cookie-consent-buttons,
.cookie-settings-content .cookie-consent-buttons {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	margin-top: 10px;
	margin-bottom: 10px;
	gap: 15px;
}

#cookie-consent-banner .cookie-consent-buttons button,
.cookie-settings-content .cookie-consent-buttons button {
	display: block;
	padding: 12px 25px;
	border: 0;
	border-radius: 8px;
	box-sizing: border-box;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	line-height: 20px;
	cursor: pointer;
	min-width: 140px;
	transition: all 0.3s ease;
}


/* BOTÕES DO PRIMEIRO BANNER - POR CLASSE */
#cookie-consent-banner .cookie-consent-buttons .btn-grayscale { /* Rejeitar Todos */
    background-color: #1f0042; /* Roxo escuro */
    color: white;
    border: 2px solid #1f0042;
}
#cookie-consent-banner .cookie-consent-buttons .btn-outline { /* Preferências */
    background-color: #ffffff; /* Outline */
    color: #1A0D60;
    border: 2px solid #490696;
}
#cookie-consent-banner .cookie-consent-buttons .btn-success { /* Aceitar Todos */
    background-color: #490696; /* Roxo */
    color: white;
    border: 2px solid #490696;
}

/* BOTÕES DO MODAL - POR CLASSE */
.cookie-settings-content .cookie-consent-buttons .btn-success { /* Salvar Preferências & Aceitar Todos */
    background-color: #490696;
    color: white;
    border: 2px solid #490696;
}

.cookie-settings-content .cookie-consent-buttons .btn-success2 { /* Salvar Preferências & Aceitar Todos */
    background-color: #4E38C7;
    color: white;
    border: 2px solid #4E38C7;
}


.cookie-settings-content .cookie-consent-buttons .btn-grayscale { /* Rejeitar Todos */
    background-color: #1f0042; /* Roxo escuro */
    color: white;
    border: 2px solid #1f0042;
}

.cookie-settings-content .cookie-consent-buttons .btn-outline { /* Rejeitar Todos */
     background-color: #ffffff; /* Outline */
    color: #1A0D60;
    border: 2px solid #490696;
}

/* Hover effects - POR CLASSE */
#cookie-consent-banner .cookie-consent-buttons button:hover,
.cookie-settings-content .cookie-consent-buttons button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Hover para botões outline */
#cookie-consent-banner .cookie-consent-buttons .btn-outline:hover,
.cookie-settings-content .cookie-consent-buttons .btn-grayscale:hover {
    background-color: #490696;
    color: white;
	border: 2px solid #490696;
}

/* Hover para botões roxos */
#cookie-consent-banner .cookie-consent-buttons .btn-grayscale:hover,
#cookie-consent-banner .cookie-consent-buttons .btn-success:hover,
.cookie-settings-content .cookie-consent-buttons .btn-success2:hover,
.cookie-settings-content .cookie-consent-buttons .btn-success:hover {
    background-color: #330865;
    color: white;
    border-color: #330865;
}



@media screen and (width < 600px) {
	#cookie-consent-banner {
		/*max-width: calc(100% - 40px);*/	
		bottom: 10px;
		right: 10px;
		left: 10px;
		width: auto;
	}
	
	.cookie-settings-content {
		padding: 20px;
		width: 95%;
		margin: 10px;
	}
	
	#cookie-consent-banner h3,
	.cookie-settings-content h3 {
		font-size: 20px;
		line-height: 25px;
	}
	
	#cookie-consent-banner p,
	.settings-description {
		font-size: 14px;
		line-height: 18px;
	}

	.accordion-header {
		padding: 15px;
	}
	
	.accordion-title {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}
	
	.accordion-title h4 {
		font-size: 14px;
	}
	
	.cookie-status {
		font-size: 11px;
		min-width: 70px;
		padding: 3px 8px;
	}

	#cookie-consent-banner .cookie-consent-buttons,
	.cookie-settings-content .cookie-consent-buttons {
		flex-direction: column;
		width: 100%;
	}
	
	#cookie-consent-banner .cookie-consent-buttons button,
	.cookie-settings-content .cookie-consent-buttons button {
		width: 100%;
		min-width: auto;
	}
}