/* Sindhi Food Directory - front-end styles */

.sfd-form-wrapper {
	max-width: 640px;
	margin: 0 auto;
}

.sfd-notice {
	padding: 12px 16px;
	border-radius: 6px;
	margin-bottom: 20px;
	font-size: 15px;
}

.sfd-notice-success {
	background: #eafaf1;
	border: 1px solid #34a853;
	color: #1e6b3c;
}

.sfd-notice-error {
	background: #fdecea;
	border: 1px solid #d93025;
	color: #a10000;
}

.sfd-form .sfd-field {
	margin-bottom: 16px;
	display: flex;
	flex-direction: column;
}

.sfd-form label {
	font-weight: 600;
	margin-bottom: 6px;
	font-size: 14px;
}

.sfd-req {
	color: #d93025;
}

.sfd-form input[type="text"],
.sfd-form input[type="email"],
.sfd-form select,
.sfd-form textarea {
	padding: 10px 12px;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 15px;
	width: 100%;
	box-sizing: border-box;
}

.sfd-form textarea {
	resize: vertical;
}

.sfd-submit-btn {
	background: #2e7d32;
	color: #fff;
	border: none;
	padding: 12px 28px;
	border-radius: 6px;
	font-size: 16px;
	cursor: pointer;
}

.sfd-submit-btn:hover {
	background: #1b5e20;
}

/* Approved list */

.sfd-list-wrapper {
	max-width: 1100px;
	margin: 0 auto;
}

.sfd-list-filters {
	display: flex;
	gap: 10px;
	margin-bottom: 24px;
	flex-wrap: wrap;
}

.sfd-list-filters input[type="text"],
.sfd-list-filters select {
	padding: 8px 10px;
	border: 1px solid #ccc;
	border-radius: 6px;
}

.sfd-list-filters button {
	padding: 8px 16px;
	border-radius: 6px;
	border: none;
	background: #2e7d32;
	color: #fff;
	cursor: pointer;
}

.sfd-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 20px;
}

.sfd-card {
	border: 1px solid #e0e0e0;
	border-radius: 10px;
	padding: 18px;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.sfd-card-title {
	margin: 0 0 4px;
	font-size: 18px;
}

.sfd-card-role {
	display: inline-block;
	background: #f1f8e9;
	color: #33691e;
	border-radius: 20px;
	padding: 2px 10px;
	font-size: 12px;
	margin-bottom: 10px;
}

.sfd-card-row {
	margin: 4px 0;
	font-size: 14px;
	color: #333;
}

.sfd-card-contact {
	margin-top: 10px;
	display: flex;
	gap: 12px;
	font-size: 13px;
	color: #555;
}

.sfd-no-results {
	text-align: center;
	color: #777;
	padding: 40px 0;
}

.sfd-pagination {
	margin-top: 24px;
	display: flex;
	gap: 6px;
	justify-content: center;
}

.sfd-page-link {
	padding: 6px 12px;
	border: 1px solid #ccc;
	border-radius: 4px;
	text-decoration: none;
	color: #333;
}

.sfd-page-current {
	background: #2e7d32;
	color: #fff;
	border-color: #2e7d32;
}
