/**
 * MEGH LGPD - Estilos do Banner
 */

 .megh-lgpd-overlay {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background: #ffffff;
	box-shadow: 0 -2px 15px rgba(0,0,0,0.1);
	z-index: 999999;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
	display: none;
	transform: translateY(100%);
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.megh-lgpd-overlay.is-visible {
	display: block;
}

.megh-lgpd-overlay.is-open {
	transform: translateY(0);
}

.megh-lgpd-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.megh-lgpd-text h3 {
	margin: 0 0 10px 0;
	font-size: 18px;
	color: #1a1a1a;
	font-weight: 600;
}

.megh-lgpd-text p {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: #555;
}

.megh-lgpd-buttons {
	display: flex;
	gap: 10px;
	flex-shrink: 0;
	flex-wrap: wrap;
}

.megh-lgpd-btn {
	border: none;
	padding: 10px 20px;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s;
}

.megh-lgpd-btn-accept {
	background: #007cba;
	color: #fff;
}
.megh-lgpd-btn-accept:hover { background: #005a87; }

.megh-lgpd-btn-reject {
	background: #f0f0f1;
	color: #1a1a1a;
	border: 1px solid #ccd0d4;
}
.megh-lgpd-btn-reject:hover { background: #e2e4e7; }

.megh-lgpd-btn-config {
	background: transparent;
	color: #007cba;
	text-decoration: underline;
}

/* Modal de Configuração */
.megh-lgpd-modal {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(0.9);
	background: #fff;
	padding: 30px;
	border-radius: 8px;
	box-shadow: 0 5px 30px rgba(0,0,0,0.3);
	z-index: 1000000;
	max-width: 500px;
	width: 90%;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s;
}

.megh-lgpd-modal.is-open {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, -50%) scale(1);
}

.megh-lgpd-modal-overlay {
	position: fixed;
	top: 0; left: 0; width: 100%; height: 100%;
	background: rgba(0,0,0,0.5);
	z-index: 999999;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s;
}

.megh-lgpd-modal-overlay.is-open {
	opacity: 1;
	visibility: visible;
}

.megh-lgpd-modal h3 {
	margin-top: 0;
}

.megh-lgpd-option {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 0;
	border-bottom: 1px solid #eee;
}

.megh-lgpd-option:last-child {
	border-bottom: none;
}

.megh-lgpd-option-text h4 {
	margin: 0 0 5px 0;
	font-size: 15px;
}
.megh-lgpd-option-text p {
	margin: 0;
	font-size: 12px;
	color: #666;
}

/* Switch */
.megh-lgpd-switch {
	position: relative;
	display: inline-block;
	width: 44px;
	height: 24px;
}

.megh-lgpd-switch input { 
	opacity: 0;
	width: 0;
	height: 0;
}

.megh-lgpd-slider {
	position: absolute;
	cursor: pointer;
	top: 0; left: 0; right: 0; bottom: 0;
	background-color: #ccc;
	transition: .4s;
	border-radius: 24px;
}

.megh-lgpd-slider:before {
	position: absolute;
	content: "";
	height: 18px;
	width: 18px;
	left: 3px;
	bottom: 3px;
	background-color: white;
	transition: .4s;
	border-radius: 50%;
}

input:checked + .megh-lgpd-slider {
	background-color: #007cba;
}

input:checked + .megh-lgpd-slider:before {
	transform: translateX(20px);
}

input:disabled + .megh-lgpd-slider {
	background-color: #e5f5fa;
	cursor: not-allowed;
}

.megh-lgpd-modal-footer {
	margin-top: 20px;
	display: flex;
	justify-content: flex-end;
}

@media (max-width: 768px) {
	.megh-lgpd-container {
		flex-direction: column;
		align-items: flex-start;
	}
	.megh-lgpd-buttons {
		width: 100%;
		justify-content: center;
	}
	.megh-lgpd-btn {
		width: 100%;
	}
}
