/* Christian Matrimony — front-end styles */

.cm-btn {
	display: inline-block;
	background: #7a2e3d;
	color: #fff;
	padding: 10px 20px;
	border-radius: 4px;
	text-decoration: none;
	border: none;
	cursor: pointer;
	font-size: 14px;
}
.cm-btn:hover { background: #5e232e; color: #fff; }
.cm-btn-small { padding: 6px 12px; font-size: 12px; }
.cm-btn-pay { background: #0070ba; }
.cm-btn-pay:hover { background: #005a94; }

.cm-search-form { margin-bottom: 24px; }
.cm-search-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cm-search-row select,
.cm-search-row input { padding: 8px; border: 1px solid #ccc; border-radius: 4px; }

.cm-results-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 20px;
	margin-bottom: 20px;
}
.cm-profile-card {
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	padding: 14px;
	text-align: center;
	background: #fff;
}
.cm-profile-card img { width: 100%; height: 220px; object-fit: cover; border-radius: 6px; }
.cm-no-photo {
	width: 100%; height: 220px; background: #f2f2f2; border-radius: 6px;
	display: flex; align-items: center; justify-content: center; color: #999;
}
.cm-profile-card h3 { margin: 10px 0 4px; font-size: 16px; }
.cm-meta { color: #666; font-size: 13px; margin-bottom: 10px; }

.cm-upgrade-hint {
	background: #fff8e1; border: 1px solid #ffe082; padding: 12px 16px;
	border-radius: 6px; color: #7a5c00;
}

.cm-plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.cm-plan-card {
	border: 1px solid #e5e5e5; border-radius: 8px; padding: 20px; text-align: center; background: #fff;
}
.cm-plan-card.cm-plan-current { border-color: #7a2e3d; box-shadow: 0 0 0 2px rgba(122,46,61,0.15); }
.cm-plan-price { font-size: 24px; font-weight: bold; color: #7a2e3d; }
.cm-plan-features { list-style: none; padding: 0; margin: 0 0 16px; color: #555; font-size: 14px; }
.cm-plan-features li { padding: 4px 0; }

.cm-profile-form p { margin-bottom: 16px; }
.cm-profile-form label { font-weight: 600; display: block; margin-bottom: 4px; }
.cm-profile-form input,
.cm-profile-form select,
.cm-profile-form textarea { padding: 8px; border: 1px solid #ccc; border-radius: 4px; }

.cm-notice { padding: 12px 16px; border-radius: 6px; margin-bottom: 16px; }
.cm-notice.cm-success { background: #e8f5e9; color: #256029; border: 1px solid #a5d6a7; }

.cm-single-profile { max-width: 800px; margin: 0 auto; }
.cm-profile-header { display: flex; gap: 20px; align-items: center; margin-bottom: 20px; }
.cm-profile-header img { width: 160px; height: 160px; object-fit: cover; border-radius: 8px; }
.cm-tagline { color: #666; }
.cm-profile-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.cm-profile-table th { text-align: left; width: 200px; padding: 8px; background: #faf5f6; }
.cm-profile-table td { padding: 8px; border-bottom: 1px solid #eee; }

.cm-locked-contact {
	background: #f5f0f1; border: 1px dashed #c9a9b0; border-radius: 6px; padding: 20px; text-align: center;
}
