/* Estilos del menú hamburguesa */
.hamburger-menu {
	position: fixed;
	top: 100px;
	right: 40px;
	z-index: 9999;
}

.hamburger-btn {
	border: none;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
	transition: all 0.3s ease;
}

.hamburger-btn:hover {
	transform: scale(1.1);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.hamburger-btn span {
	width: 25px;
	height: 3px;
	background: var(--primary-gradient);
	border-radius: 3px;
	transition: all 0.3s ease;
}

.hamburger-btn.active span:nth-child(1) {
	transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-btn.active span:nth-child(2) {
	opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
	transform: rotate(-45deg) translate(7px, -7px);
}

.menu-dropdown {
	position: fixed;
	top: 150px;
	right: 40px;
	background: white;
	border-radius: 12px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
	min-width: 200px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: all 0.3s ease;
	z-index: 9998;
	max-height: calc(100vh - 100px);
	overflow-y: auto;
}

.menu-dropdown.active {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.menu-item {
	padding: 15px 20px;
	cursor: pointer;
	transition: all 0.2s ease;
	border-bottom: 1px solid #f0f0f0;
	display: flex;
	align-items: center;
	gap: 10px;
	color: #333;
	font-size: 14px;
	font-weight: 500;
}

.menu-item:first-child {
	border-radius: 12px 12px 0 0;
}

.menu-item:last-child {
	border-bottom: none;
	border-radius: 0 0 12px 12px;
}

.menu-item:hover {
	background: var(--primary-gradient);
	color: white;
}

.menu-item-icon {
	font-size: 18px;
}

/* Overlay para cerrar el menú al hacer clic fuera */
.menu-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.3);
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
	z-index: 9997;
}

.menu-overlay.active {
	opacity: 1;
	visibility: visible;
}

/* Responsive */
@media (max-width: 768px) {
	.hamburger-menu {
		top: 15px;
		right: 15px;
	}

	.hamburger-btn {
		width: 45px;
		height: 45px;
	}

	.hamburger-btn span {
		width: 22px;
	}

	.menu-dropdown {
		right: 15px;
		top: 70px;
		min-width: 180px;
		max-height: calc(100vh - 85px);
	}

	.menu-item {
		padding: 12px 16px;
		font-size: 13px;
	}

	.menu-item-icon {
		font-size: 16px;
	}
}

@media (max-width: 480px) {
	.hamburger-menu {
		top: 80px;
		right: 10px;
	}

	.hamburger-btn {
		width: 42px;
		height: 42px;
	}

	.hamburger-btn span {
		width: 20px;
		height: 2.5px;
	}

	.menu-dropdown {
		right: 10px;
		top: 125px;
		min-width: 160px;
	}

	.menu-item {
		padding: 10px 14px;
		font-size: 12px;
	}
}
