/* ===== Matrimonial Classified - Frontend Styles ===== */

.mc-form-wrapper {
	max-width: 480px;
	margin: 20px auto;
	padding: 24px;
	background: #fff;
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

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

.mc-form-wrapper input[type="text"],
.mc-form-wrapper input[type="email"],
.mc-form-wrapper input[type="password"],
.mc-form-wrapper input[type="number"],
.mc-form-wrapper select,
.mc-form-wrapper input[type="file"] {
	width: 100%;
	padding: 8px 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	margin-bottom: 12px;
	box-sizing: border-box;
}

.mc-btn {
	display: inline-block;
	background: #c2185b;
	color: #fff !important;
	padding: 10px 22px;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
}

.mc-btn:hover {
	background: #a01549;
}

.mc-btn-sm {
	padding: 6px 14px;
	font-size: 12px;
}

.mc-btn-outline {
	background: transparent;
	color: #c2185b !important;
	border: 2px solid #c2185b;
	padding: 8px 20px;
}

.mc-btn-outline:hover {
	background: #fbe9f0;
}

.mc-dash-links {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.mc-register-cta {
	max-width: 480px;
	margin: 15px auto 0;
	padding: 16px;
	background: #fafafa;
	border: 1px dashed #ccc;
	border-radius: 6px;
	text-align: center;
}

.mc-register-cta p {
	margin: 0 0 10px;
	font-weight: 600;
	color: #555;
}

.mc-error {
	color: #b32d2e;
	background: #fbeaea;
	padding: 10px;
	border-radius: 4px;
}

.mc-success {
	color: #256029;
	background: #e6f4ea;
	padding: 10px;
	border-radius: 4px;
}

/* ---- List / Grid ---- */
.mc-filter-card {
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 10px;
	padding: 20px;
	margin-bottom: 26px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.mc-filter-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 16px;
}

.mc-filter-field {
	display: flex;
	flex-direction: column;
}

.mc-filter-field label {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #888;
	margin-bottom: 6px;
}

.mc-filter-field select,
.mc-filter-field input {
	padding: 9px 10px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 14px;
	background: #fafafa;
}

.mc-filter-field select:focus,
.mc-filter-field input:focus {
	outline: none;
	border-color: #c2185b;
	background: #fff;
}

.mc-filter-range {
	display: flex;
	align-items: center;
	gap: 6px;
}

.mc-filter-range input {
	width: 100%;
	min-width: 0;
}

.mc-filter-actions {
	display: flex;
	gap: 10px;
	margin-top: 18px;
}

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

.mc-profile-card {
	background: #fff;
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	padding: 14px;
	text-align: left;
	transition: box-shadow 0.2s ease;
}

.mc-profile-card:hover {
	box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.mc-card-photo-link {
	position: relative;
	display: block;
}

.mc-profile-card img {
	width: 100%;
	height: 150px;
	object-fit: cover;
	border-radius: 6px;
}

.mc-card-body {
	margin-top: 10px;
}

.mc-card-badges {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
	margin-bottom: 4px;
}

.mc-card-name {
	margin: 4px 0 2px;
	letter-spacing: 1px;
}

.mc-card-code {
	font-family: monospace;
	font-size: 12px;
	color: #888;
	margin: 0 0 8px;
}

.mc-card-summary {
	font-size: 13px;
	color: #444;
	line-height: 1.5;
	margin: 0 0 10px;
}

.mc-badge-verified {
	display: inline-block;
	background: #e6f4ea;
	color: #256029;
	font-size: 11px;
	font-weight: 600;
	padding: 2px 8px;
	border-radius: 10px;
}

.mc-no-photo {
	width: 100%;
	height: 180px;
	background: #f2f2f2;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #999;
	border-radius: 6px;
}

/* List card ke andar "No Photo" placeholder ki height photo jaisi hi (150px) */
.mc-profile-card .mc-no-photo {
	height: 150px;
}

.mc-badge-divorced {
	display: inline-block;
	background: #fdecea;
	color: #b32d2e;
	font-size: 11px;
	font-weight: 600;
	padding: 2px 8px;
	border-radius: 10px;
	margin-bottom: 6px;
}

.mc-pagination {
	margin-top: 20px;
	text-align: center;
}

.mc-pagination a {
	display: inline-block;
	padding: 6px 12px;
	margin: 0 3px;
	border: 1px solid #ccc;
	border-radius: 4px;
	text-decoration: none;
}

.mc-pagination a.mc-page-active {
	background: #c2185b;
	color: #fff;
	border-color: #c2185b;
}

/* ---- Single View ---- */
.mc-view-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	max-width: 800px;
	margin: 20px auto;
	background: #fff;
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	padding: 24px;
}

.mc-view-photo img {
	width: 240px;
	height: 280px;
	object-fit: cover;
	border-radius: 8px;
}

.mc-view-details {
	flex: 1;
	min-width: 260px;
}

.mc-detail-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 10px;
}

.mc-detail-table th,
.mc-detail-table td {
	text-align: left;
	padding: 8px 6px;
	border-bottom: 1px solid #eee;
}

.mc-detail-table th {
	width: 40%;
	color: #666;
}

.mc-note {
	margin-top: 15px;
	font-style: italic;
	color: #555;
}

/* ---- Gallery (shared: view page + dashboard) ---- */
.mc-view-gallery {
	max-width: 800px;
	margin: 20px auto;
}

.mc-gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 12px;
	margin-top: 10px;
}

.mc-gallery-grid img {
	width: 100%;
	height: 140px;
	object-fit: cover;
	border-radius: 6px;
	display: block;
}

.mc-gallery-item {
	position: relative;
	text-align: center;
}

.mc-remove-photo {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	color: #b32d2e !important;
	text-decoration: none;
}

/* ---- Dashboard ---- */
.mc-dashboard-wrapper {
	max-width: 700px;
	margin: 20px auto;
}

.mc-qr-card {
	display: flex;
	align-items: center;
	gap: 20px;
	background: #fff;
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	padding: 16px;
	margin-bottom: 20px;
}

.mc-qr-card img {
	width: 120px;
	height: 120px;
	border-radius: 6px;
}

.mc-dash-tabs {
	display: flex;
	gap: 6px;
	margin-bottom: 18px;
	flex-wrap: wrap;
}

.mc-tab-btn {
	padding: 10px 18px;
	border: 1px solid #ccc;
	background: #f7f7f7;
	border-radius: 5px;
	cursor: pointer;
	font-weight: 600;
	font-size: 14px;
}

.mc-tab-btn.mc-tab-active {
	background: #c2185b;
	color: #fff;
	border-color: #c2185b;
}

.mc-tab-content {
	display: none;
	background: #fff;
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	padding: 20px;
}

.mc-tab-content.mc-tab-content-active {
	display: block;
}

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

.mc-dash-form input[type="text"],
.mc-dash-form input[type="password"],
.mc-dash-form input[type="file"],
.mc-dash-form select,
.mc-dash-form textarea {
	width: 100%;
	padding: 8px 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	margin-bottom: 14px;
	box-sizing: border-box;
}

.mc-current-photo {
	width: 100px;
	height: 100px;
	object-fit: cover;
	border-radius: 6px;
	display: block;
	margin-bottom: 8px;
}

/* Divorce ke extra fields (date/children) - JS inhe show/hide karta hai */
.mc-divorce-extra-field {
	display: none;
}

.mc-dash-gallery {
	margin-top: 20px;
}

/* ---- Messaging ---- */
.mc-unread-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	background: #c2185b;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	border-radius: 10px;
	margin-left: 6px;
}

.mc-inbox-wrapper,
.mc-thread-wrapper {
	max-width: 700px;
	margin: 20px auto;
	background: #fff;
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	padding: 20px;
}

.mc-conversation-list {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-top: 12px;
}

.mc-conversation-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 14px;
	border-radius: 6px;
	text-decoration: none;
	color: inherit;
	border: 1px solid #eee;
}

.mc-conversation-item:hover {
	background: #fafafa;
}

.mc-conversation-unread {
	background: #fff8fa;
	border-color: #f3c0d3;
}

.mc-conversation-info strong {
	display: block;
	color: #222;
}

.mc-conversation-preview {
	margin: 4px 0 0;
	font-size: 13px;
	color: #777;
}

.mc-thread-header {
	border-bottom: 1px solid #eee;
	padding-bottom: 12px;
	margin-bottom: 16px;
}

.mc-thread-header h3 {
	margin: 8px 0 0;
}

.mc-thread-messages {
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-height: 420px;
	overflow-y: auto;
	padding: 6px;
	margin-bottom: 16px;
}

.mc-bubble {
	max-width: 75%;
	padding: 10px 14px;
	border-radius: 14px;
	font-size: 14px;
}

.mc-bubble p {
	margin: 0;
}

.mc-bubble-time {
	display: block;
	font-size: 10px;
	color: #999;
	margin-top: 4px;
}

.mc-bubble-sent {
	align-self: flex-end;
	background: #c2185b;
	color: #fff;
	border-bottom-right-radius: 2px;
}

.mc-bubble-sent .mc-bubble-time {
	color: #f3c0d3;
	text-align: right;
}

.mc-bubble-received {
	align-self: flex-start;
	background: #f2f2f2;
	color: #222;
	border-bottom-left-radius: 2px;
}

.mc-thread-reply-form {
	display: flex;
	gap: 10px;
	align-items: flex-end;
}

.mc-thread-reply-form textarea {
	flex: 1;
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 6px;
	resize: none;
}

/* ---- Membership / Plans ---- */
.mc-membership-wrapper {
	max-width: 800px;
	margin: 20px auto;
}

.mc-plans-grid,
.mc-plan-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 16px;
	margin-top: 20px;
}

.mc-plan-card {
	position: relative;
	background: #fff;
	border: 1px solid #e2e2e2;
	border-radius: 10px;
	padding: 20px 16px;
	text-align: center;
}

.mc-plan-popular {
	border: 2px solid #c2185b;
}

.mc-plan-badge {
	position: absolute;
	top: -10px;
	left: 50%;
	transform: translateX(-50%);
	background: #c2185b;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	padding: 3px 10px;
	border-radius: 10px;
}

.mc-plan-card h3 {
	margin: 4px 0 8px;
}

.mc-plan-price {
	font-size: 26px;
	font-weight: 700;
	color: #c2185b;
	margin: 0 0 16px;
}

.mc-premium-benefits {
	list-style: none;
	padding: 0;
	margin: 10px 0;
}

.mc-premium-benefits li {
	padding: 6px 0;
	color: #444;
}

/* ---- Interests ---- */
.mc-interests-wrapper {
	max-width: 700px;
	margin: 20px auto;
}

.mc-interest-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 12px;
}

.mc-interest-card {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	padding: 14px;
	border: 1px solid #eee;
	border-radius: 8px;
	background: #fff;
}

.mc-interest-info strong {
	display: block;
	color: #222;
}

.mc-interest-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

/* ---- Blur / Unlock (Payment) ---- */
.mc-blurred {
	filter: blur(10px);
	-webkit-filter: blur(10px);
}

.mc-view-photo {
	position: relative;
	display: inline-block;
}

.mc-lock-overlay {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 42px;
	background: rgba(255,255,255,0.85);
	border-radius: 50%;
	width: 70px;
	height: 70px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.mc-gallery-item {
	position: relative;
}

.mc-lock-overlay-sm {
	width: 40px;
	height: 40px;
	font-size: 22px;
}

.mc-unlock-box {
	margin-top: 18px;
	padding: 14px;
	background: #fff8fa;
	border: 1px dashed #c2185b;
	border-radius: 6px;
	text-align: center;
}

/* ---- Payment Page ---- */
.mc-payment-wrapper {
	max-width: 420px;
	margin: 30px auto;
	padding: 24px;
	background: #fff;
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	text-align: center;
	box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.mc-price {
	font-size: 32px;
	font-weight: 700;
	color: #c2185b;
	margin: 10px 0 20px;
}

.mc-qr-divider {
	display: flex;
	align-items: center;
	text-align: center;
	color: #999;
	font-size: 12px;
	font-weight: 700;
	margin: 16px 0;
}

.mc-qr-divider::before,
.mc-qr-divider::after {
	content: '';
	flex: 1;
	border-bottom: 1px solid #e2e2e2;
}

.mc-qr-divider span {
	padding: 0 12px;
}

#mc-pay-qr-btn {
	width: 100%;
}
