/* Urdu Complaint Form - Frontend Styles */

.ucf-wrapper {
	direction: rtl;
	font-family: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", "Segoe UI", Tahoma, sans-serif;
	max-width: 640px;
	margin: 30px auto;
	padding: 0 15px;
	box-sizing: border-box;
}

.ucf-wrapper * {
	box-sizing: border-box;
}

.ucf-card {
	background: #ffffff;
	border: 1px solid #e6e6e6;
	border-radius: 14px;
	padding: 32px;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}

.ucf-heading {
	margin: 0 0 8px 0;
	font-size: 26px;
	font-weight: 700;
	color: #1c1c1c;
	text-align: right;
}

.ucf-subheading {
	margin: 0 0 26px 0;
	font-size: 15px;
	line-height: 1.9;
	color: #6b6b6b;
	text-align: right;
}

.ucf-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.ucf-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	text-align: right;
}

.ucf-field label {
	font-size: 15px;
	font-weight: 600;
	color: #262626;
}

.ucf-required {
	color: #d93025;
}

.ucf-field input[type="text"],
.ucf-field input[type="tel"],
.ucf-field textarea {
	width: 100%;
	padding: 12px 14px;
	font-size: 15px;
	font-family: inherit;
	border: 1px solid #d9d9d9;
	border-radius: 10px;
	background: #fafafa;
	color: #1c1c1c;
	transition: border-color 0.2s ease, background 0.2s ease;
	text-align: right;
	direction: rtl;
}

.ucf-field input[type="text"]:focus,
.ucf-field input[type="tel"]:focus,
.ucf-field textarea:focus {
	outline: none;
	border-color: #2f7a3c;
	background: #ffffff;
}

.ucf-field textarea {
	resize: vertical;
	min-height: 120px;
	line-height: 1.8;
}

.ucf-helper-text {
	margin: 0 0 4px 0;
	font-size: 13px;
	color: #8a8a8a;
}

.ucf-upload-box {
	border: 1.5px dashed #cfcfcf;
	border-radius: 10px;
	padding: 16px;
	background: #fafafa;
	text-align: center;
}

.ucf-upload-box input[type="file"] {
	width: 100%;
	font-size: 14px;
	color: #444;
}

.ucf-image-preview {
	display: block;
	margin: 14px auto 0 auto;
	max-width: 100%;
	max-height: 220px;
	border-radius: 8px;
	border: 1px solid #e0e0e0;
}

.ucf-field-error {
	font-size: 13px;
	color: #d93025;
	display: block;
	min-height: 16px;
}

.ucf-submit-btn {
	margin-top: 6px;
	padding: 14px 20px;
	font-size: 17px;
	font-weight: 700;
	font-family: inherit;
	color: #ffffff;
	background: linear-gradient(135deg, #2f7a3c, #245f2f);
	border: none;
	border-radius: 12px;
	cursor: pointer;
	transition: opacity 0.2s ease, transform 0.05s ease;
}

.ucf-submit-btn:hover {
	opacity: 0.92;
}

.ucf-submit-btn:active {
	transform: scale(0.99);
}

.ucf-submit-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.ucf-message {
	margin-bottom: 18px;
	padding: 12px 16px;
	border-radius: 10px;
	font-size: 14px;
	text-align: right;
	line-height: 1.8;
}

.ucf-message.ucf-success {
	background: #e7f6ea;
	color: #1e6b2d;
	border: 1px solid #bfe6c6;
}

.ucf-message.ucf-error {
	background: #fdecea;
	color: #b3261e;
	border: 1px solid #f6c6c2;
}

/* Responsive */
@media (max-width: 480px) {
	.ucf-card {
		padding: 20px;
		border-radius: 10px;
	}

	.ucf-heading {
		font-size: 22px;
	}

	.ucf-submit-btn {
		width: 100%;
	}
}

/* Admin panel small extras */
.ucf-admin-summary {
	font-size: 16px;
	margin-top: 10px;
}
