.paap-directory-wrap {
	max-width: 1100px;
	margin: 0 auto;
	font-size: 16px;
	color: #1a1a1a;
}

/* Search form */
.paap-directory-search {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	background: #f9fafb;
	border: 1px solid #eee;
	border-radius: 12px;
	padding: 16px;
	margin-bottom: 22px;
}

.paap-directory-search select,
.paap-directory-search input[type="text"] {
	padding: 9px 12px;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 14px;
}

.paap-directory-check {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
}

.paap-directory-empty {
	text-align: center;
	color: #777;
	padding: 30px 0;
}

/* Grid of cards */
.paap-directory-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 16px;
}

.paap-pro-card {
	display: block;
	background: #fff;
	border: 1px solid #eee;
	border-radius: 12px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
	padding: 18px;
	text-decoration: none;
	color: inherit;
	transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.paap-pro-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.paap-pro-card h3 {
	margin: 10px 0 4px;
	font-size: 16px;
}

.paap-pro-photo {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	overflow: hidden;
	background: #1d4ed8;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	font-weight: 700;
}

.paap-pro-photo.large {
	width: 96px;
	height: 96px;
	font-size: 34px;
	flex: 0 0 auto;
}

.paap-pro-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.paap-pro-category {
	font-size: 13px;
	color: #1d4ed8;
	font-weight: 600;
	margin: 0 0 6px;
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}

.paap-badge-urgente {
	background: #fee2e2;
	color: #991b1b;
	font-size: 11px;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: 999px;
}

.paap-pro-desc {
	font-size: 13px;
	color: #444;
	margin: 0 0 8px;
}

.paap-pro-rating {
	font-size: 14px;
	margin: 0 0 4px;
}

.paap-stars {
	color: #f59e0b;
	letter-spacing: 1px;
}

.paap-pro-location {
	font-size: 13px;
	color: #666;
	margin: 0;
}

.paap-muted {
	color: #888;
	font-size: 13px;
}

/* Pagination */
.paap-directory-pagination {
	margin-top: 22px;
	text-align: center;
}

.paap-directory-pagination .page-numbers {
	display: inline-block;
	padding: 6px 12px;
	margin: 0 2px;
	border-radius: 6px;
	background: #f3f4f6;
	color: #1a1a1a;
	text-decoration: none;
	font-size: 14px;
}

.paap-directory-pagination .page-numbers.current {
	background: #1d4ed8;
	color: #fff;
}

/* Single profile */
.paap-back-link {
	display: inline-block;
	margin-bottom: 16px;
	color: #1d4ed8;
	text-decoration: none;
	font-size: 14px;
}

.paap-back-link:hover {
	text-decoration: underline;
}

.paap-profile-header {
	display: flex;
	gap: 18px;
	align-items: center;
	margin-bottom: 18px;
}

.paap-profile-header h2 {
	margin: 0 0 4px;
}

.paap-card {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 12px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
	padding: 20px 22px;
	margin-bottom: 16px;
}

.paap-card h3 {
	margin-top: 0;
}

.paap-info-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.paap-info-list li {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 8px 0;
	border-bottom: 1px dashed #e5e7eb;
	font-size: 14px;
}

.paap-info-list li:last-child {
	border-bottom: none;
}

.paap-info-list span {
	color: #666;
}

.paap-contact-card a {
	color: #1d4ed8;
	text-decoration: none;
}

.paap-contact-card a:hover {
	text-decoration: underline;
}

.paap-review {
	padding: 10px 0;
	border-bottom: 1px dashed #e5e7eb;
}

.paap-review:last-child {
	border-bottom: none;
}

.paap-review-head {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 4px;
	font-size: 14px;
}

.paap-notice {
	padding: 10px 14px;
	border-radius: 8px;
	font-size: 14px;
	margin-bottom: 16px;
}

.paap-notice-success {
	background: #eaf7ec;
	border: 1px solid #b7e1bd;
	color: #1e4620;
}

.paap-notice-error {
	background: #fdecea;
	border: 1px solid #f5c2c0;
	color: #7a1a17;
}

/* Rating form */
.paap-rating-form .paap-field {
	margin-bottom: 14px;
}

.paap-rating-form label {
	display: block;
	font-weight: 600;
	margin-bottom: 4px;
	font-size: 14px;
}

.paap-rating-form input[type="text"],
.paap-rating-form input[type="email"],
.paap-rating-form textarea {
	width: 100%;
	max-width: 420px;
	padding: 9px 12px;
	border: 1px solid #ccc;
	border-radius: 6px;
	box-sizing: border-box;
	font-size: 14px;
}

.paap-rating-form .paap-honeypot {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.paap-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 18px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	border: none;
	cursor: pointer;
	text-decoration: none;
}

.paap-btn-primary {
	background: #1d4ed8;
	color: #fff;
}

.paap-btn-primary:hover {
	background: #1741b8;
	color: #fff;
}

/* CSS-only star select: radios rendered 5..1 in DOM order */
.paap-star-select {
	display: inline-flex;
	flex-direction: row-reverse;
	font-size: 28px;
	margin-bottom: 14px;
}

.paap-star-select input {
	display: none;
}

.paap-star-select label {
	color: #d1d5db;
	cursor: pointer;
	padding: 0 2px;
	margin: 0;
	font-weight: 400;
}

.paap-star-select input:checked ~ label,
.paap-star-select label:hover,
.paap-star-select label:hover ~ label {
	color: #f59e0b;
}

@media (max-width: 560px) {
	.paap-profile-header {
		flex-wrap: wrap;
	}
}
