/* ======================== Feedback Page Styles ======================== */

/* Section Container */
.em-feedback-section {
	background: linear-gradient(135deg, #f5f7fa 0%, #e9ecf1 100%);
	position: relative;
	overflow: hidden;
}

.em-feedback-section::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -10%;
	width: 500px;
	height: 500px;
	background: radial-gradient(circle, rgba(102, 126, 234, 0.08) 0%, transparent 70%);
	border-radius: 50%;
	pointer-events: none;
}

.em-feedback-section::after {
	content: '';
	position: absolute;
	bottom: -30%;
	left: -5%;
	width: 400px;
	height: 400px;
	background: radial-gradient(circle, rgba(102, 126, 234, 0.06) 0%, transparent 70%);
	border-radius: 50%;
	pointer-events: none;
}

/* Container */
.em-container {
	max-width: 700px;
	margin: 0 auto;
	padding: 0 20px;
	position: relative;
	z-index: 1;
}

/* Header */
.em-feedback-header {
	text-align: center;
	margin-bottom: 50px;
}

.em-feedback-header h2 {
	font-size: 48px;
	font-weight: 700;
	color: #1a1a1a;
	margin-bottom: 15px;
	letter-spacing: 1px;
}

.em-feedback-header p {
	font-size: 18px;
	color: #666;
	line-height: 1.8;
	font-weight: 400;
	letter-spacing: 1px;
}

/* Form Wrapper */
.em-feedback-wrapper {
	background: white;
	border-radius: 20px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
	padding: 50px;
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.8);
	animation: slideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.em-feedback-form-container {
	position: relative;
}

/* Form Group */
.em-form-group {
	margin-bottom: 30px;
}

.em-form-group label {
	display: block;
	font-size: 16px;
	font-weight: 400;
	color: #1a1a1a;
	margin-bottom: 10px;
	letter-spacing: 1px;
}

/* Form Control */
.em-form-control {
	width: 100%;
	padding: 14px 18px;
	border: 2px solid #e0e0e0;
	border-radius: 10px;
	font-size: 15px;
	font-family: 'Roboto', sans-serif;
	color: #333;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	letter-spacing: 1px;
	font-weight: 400;
}

.em-form-control:focus {
	border-color: #667eea;
	box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
	outline: none;
	background: rgba(102, 126, 234, 0.02);
}

.em-form-control::placeholder {
	color: #999;
	font-weight: 400;
}

.em-form-control.em-input-error {
	border-color: #dc3545;
	box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.1);
	background: rgba(220, 53, 69, 0.02);
}

/* Error Message */
.em-error-message {
	display: none;
	color: #dc3545;
	font-size: 13px;
	font-weight: 500;
	margin-top: 6px;
	margin-bottom: 0;
	line-height: 1.4;
	letter-spacing: 1px;
}

.em-error-message.show {
	display: block;
	animation: slideDown 0.3s ease;
}

@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(-5px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Image Upload */
.em-image-upload-wrapper {
	position: relative;
	border: 2px dashed #1f304e;
	border-radius: 12px;
	padding: 40px 20px;
	text-align: center;
	background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.02) 100%);
	cursor: pointer;
	transition: all 0.3s ease;
}

.em-image-upload-wrapper:hover {
	border-color: #764ba2;
	background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.05) 100%);
}

.em-image-upload-wrapper.drag-over {
	border-color: #764ba2;
	background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.08) 100%);
	transform: scale(1.02);
}

.em-image-input {
	display: none;
}

.em-image-upload-label {
	pointer-events: none;
}

.em-image-upload-label i {
	font-size: 48px;
	color: #ff9900;
	margin-bottom: 15px;
	display: block;
}

.em-image-upload-label p {
	font-size: 16px;
	font-weight: 600;
	color: #1a1a1a;
	margin: 10px 0 5px;
	letter-spacing: 1px;
}

.em-image-upload-label span {
	font-size: 13px;
	color: #999;
	display: block;
	letter-spacing: 1px;
}

/* Image Preview */
.em-image-preview-container {
	margin-top: 20px;
	animation: slideUp 0.4s ease;
}

.em-image-preview-wrapper {
	position: relative;
	display: inline-block;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.em-image-preview {
	width: 200px;
	height: 200px;
	object-fit: cover;
	display: block;
}

.em-remove-image-btn {
	position: absolute;
	top: 10px;
	right: 10px;
	background: rgba(220, 53, 69, 0.9);
	color: white;
	border: none;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	cursor: pointer;
	font-size: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

.em-remove-image-btn:hover {
	background: rgba(220, 53, 69, 1);
	transform: scale(1.1);
	box-shadow: 0 6px 16px rgba(220, 53, 69, 0.5);
}

/* Message Counter */
.em-message-counter {
	text-align: right;
	font-size: 12px;
	color: #999;
	margin-top: 6px;
	font-weight: 500;
	letter-spacing: 1px;
}

/* CAPTCHA */
.em-captcha-group {
	margin-bottom: 35px;
}

.em-captcha-container {
	display: flex;
	gap: 10px;
	align-items: center;
	flex-wrap: wrap;
}

.em-captcha-container .em-form-control {
	flex: 1;
	min-width: 200px;
	font-weight: 600;
	font-size: 16px;
	letter-spacing: 2px;
}

.em-captcha-code {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	padding: 14px 24px;
	border-radius: 10px;
	min-width: 130px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 18px;
	letter-spacing: 3px;
	user-select: none;
	transition: all 0.3s ease;
	box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
	flex-shrink: 0;
}

.em-captcha-code:hover {
	transform: scale(1.05);
	box-shadow: 0 10px 28px rgba(102, 126, 234, 0.4);
}

.em-captcha-code .em-captcha-text {
	display: block;
}

/* Refresh Button */
.em-captcha-refresh-btn {
	background: #28a745;
	color: white;
	border: none;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	cursor: pointer;
	font-size: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
	flex-shrink: 0;
}

.em-captcha-refresh-btn:hover {
	background: #218838;
	transform: scale(1.08) rotate(15deg);
	box-shadow: 0 6px 18px rgba(40, 167, 69, 0.4);
}

.em-captcha-refresh-btn:active {
	transform: scale(0.95) rotate(-5deg);
}

/* Form Actions */
.em-form-actions {
	display: flex;
	gap: 15px;
	margin-top: 35px;
	flex-wrap: wrap;
}

.em-submit-btn,
.em-reset-btn {
	flex: 1;
	min-width: 150px;
	padding: 15px 30px;
	border: none;
	border-radius: 10px;
	font-size: 16px;
	font-weight: 400;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	letter-spacing: 1px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.em-submit-btn {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.em-submit-btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.em-submit-btn:active {
	transform: translateY(-1px);
}

.em-submit-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
}

.em-reset-btn {
	background: #f0f0f0;
	color: #333;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.em-reset-btn:hover {
	background: #e0e0e0;
	transform: translateY(-3px);
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.em-reset-btn:active {
	transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
	.em-feedback-header h2 {
		font-size: 36px;
	}

	.em-feedback-header p {
		font-size: 16px;
	}

	.em-feedback-wrapper {
		padding: 35px 25px;
	}

	.em-form-group {
		margin-bottom: 24px;
	}

	.em-captcha-container {
		flex-direction: column;
		align-items: stretch;
	}

	.em-captcha-code,
	.em-captcha-refresh-btn {
		width: 100%;
	}

	.em-form-actions {
		flex-direction: column;
	}

	.em-submit-btn,
	.em-reset-btn {
		width: 100%;
	}
}

@media (max-width: 576px) {
	.em-feedback-section {
		padding: 60px 0;
	}

	.em-feedback-header h2 {
		font-size: 28px;
		margin-bottom: 12px;
	}

	.em-feedback-header p {
		font-size: 14px;
	}

	.em-feedback-wrapper {
		padding: 25px 18px;
		border-radius: 15px;
		margin: 0 15px;
	}

	.em-form-group {
		margin-bottom: 20px;
	}

	.em-form-group label {
		font-size: 14px;
	}

	.em-form-control {
		padding: 12px 14px;
		font-size: 14px;
	}

	.em-image-upload-wrapper {
		padding: 30px 15px;
	}

	.em-image-upload-label i {
		font-size: 36px;
		margin-bottom: 10px;
	}

	.em-image-upload-label p {
		font-size: 14px;
	}

	.em-image-upload-label span {
		font-size: 12px;
	}

	.em-image-preview {
		width: 150px;
		height: 150px;
	}

	.em-captcha-code {
		font-size: 16px;
		padding: 12px 18px;
		letter-spacing: 2px;
	}

	.em-captcha-refresh-btn {
		font-size: 16px;
	}

	.em-submit-btn,
	.em-reset-btn {
		padding: 13px 20px;
		font-size: 14px;
	}

	.em-error-message {
		font-size: 12px;
	}

	.em-form-actions {
		gap: 10px;
	}
}
