/* Feedback Component Styles */

#feedback-fab {
	position: fixed;
	bottom: 30px;
	left: 80px;
	width: 56px;
	height: 56px;
	background: var(--primary-color);
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 15px rgba(247, 146, 99, 0.3);
	cursor: pointer;
	z-index: 999;
	transition: var(--transition);
}

#feedback-fab:hover {
	transform: scale(1.1) rotate(5deg);
	background: var(--primary-hover);
	box-shadow: 0 6px 20px rgba(247, 146, 99, 0.4);
}

#feedback-fab i {
	font-size: 24px;
}

#menulateral.open ~ #feedback-fab,
#menulateral.open ~ #content #feedback-fab {
	left: 260px;
}

@media (max-width: 768px) {
	#feedback-fab {
		left: 20px;
		bottom: 100px;
	}
}

/* Feedback Modal Styles */
#form-feedback-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(4px);
	z-index: 1002;
	display: none;
	opacity: 0;
	transition: var(--transition);
}

#form-feedback-modal {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -40%);
	width: 90%;
	max-width: 500px;
	background: var(--card-bg);
	border-radius: var(--radius);
	padding: 40px;
	z-index: 1003;
	display: none;
	box-shadow: var(--shadow-hover);
	transition: var(--transition);
}

#form-feedback-modal.active {
	display: block;
	transform: translate(-50%, -50%);
}

#form-feedback-overlay.active {
	display: block;
	opacity: 1;
}

.feedback-header {
	margin-bottom: 25px;
	text-align: center;
}

.feedback-header h2 {
	color: var(--secondary-color);
	margin-bottom: 10px;
	font-size: 24px;
}

.feedback-header p {
	color: var(--text-muted);
}

#feedback-description {
	width: 100%;
	min-height: 150px;
	padding: 15px;
	border: 2px solid var(--border-color);
	border-radius: 12px;
	font-family: inherit;
	resize: none;
	margin-bottom: 25px;
	transition: var(--transition);
}

#feedback-description:focus {
	border-color: var(--primary-color);
	background: #fff;
	outline: none;
	box-shadow: 0 0 0 4px rgba(247, 146, 99, 0.1);
}

.feedback-footer {
	display: flex;
	gap: 15px;
}

.feedback-footer .btn {
	flex: 1;
}

#btncancel_feedback {
	background: var(--bg-color);
	color: var(--text-color);
	border: 1px solid var(--border-color);
}

#btncancel_feedback:hover {
	background: #eee;
}

@media (max-width: 576px) {
	#form-feedback-modal {
		padding: 30px 20px;
		width: 95%;
	}
	.feedback-footer {
		flex-direction: column;
	}
}
