/* MobileOnline Matrimony Pro Master Stylesheet */

:root {
    /* --- THEME SETTINGS --- */
    --momp-primary: #e91e63;
    --momp-primary-rgb: 233, 30, 99;
    --momp-primary-hover: #c2185b;
    --momp-secondary: #ff4081;
    --momp-accent: #ffca28;
    --momp-success: #10b981;
    --momp-warning: #f59e0b;
    --momp-danger: #ef4444;
    --momp-text: #1e293b;
    --momp-text-muted: #64748b;
    --momp-bg-light: #f8fafc;
    --momp-white: #ffffff;
    --momp-glass: rgba(255, 255, 255, 0.7);
    --momp-radius: 12px;
    --momp-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    --momp-shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.momp-section-danger {
    margin-top: 30px;
}

.momp-btn-danger {
    background: #dc2626 !important;
    color: #fff !important;
    border: none;
    transition: all 0.2s ease;
}

.momp-btn-danger:hover {
    background: #b91c1c !important;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
    transform: translateY(-1px);
}

/* --- General Components --- */
.momp-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--momp-primary), #ff4081);
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    text-decoration: none !important;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.2);
}

.momp-btn:hover {
    background: linear-gradient(135deg, var(--momp-primary-hover), #f50057);
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(233, 30, 99, 0.3);
}

.momp-alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    border-left: 4px solid;
}

.momp-alert-info {
    background: #e7f3ff;
    border-color: #2196f3;
    color: #0d47a1;
}

.momp-alert-warning {
    background: #fff8e5;
    border-color: #ffb900;
    color: #856404;
}

.momp-alert-success {
    background: #ecf7ed;
    border-color: #4caf50;
    color: #1b5e20;
}

.momp-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

.momp-badge-red {
    background: #dc3232;
    color: #fff;
}

/* --- Form Layouts (Premium V2) --- */
.momp-form-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 40px;
    background: var(--momp-white);
    border-radius: 20px;
    box-shadow: var(--momp-shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.momp-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--momp-primary), var(--momp-secondary));
}

.momp-form-container h2 {
    margin-top: 0;
    margin-bottom: 30px;
    text-align: center;
    color: var(--momp-text);
    font-weight: 800;
    font-size: 28px;
    letter-spacing: -0.5px;
}

.momp-field-group {
    margin-bottom: 25px;
}

.momp-field-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--momp-text);
    font-size: 15px;
}

.momp-form input[type="text"],
.momp-form input[type="email"],
.momp-form input[type="password"],
.momp-form input[type="date"],
.momp-form input[type="number"],
.momp-form input[type="tel"],
.momp-form select,
.momp-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: var(--momp-radius);
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fdfdfd;
    box-sizing: border-box;
}

.momp-form input:focus,
.momp-form select:focus,
.momp-form textarea:focus {
    border-color: var(--momp-primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(233, 30, 99, 0.1);
    background: #fff;
}

/* --- Search Engine --- */
.momp-filter-bar {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 40px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: flex-end;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    /* Stronger shadow */
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--momp-primary);
    /* Accent border */
    position: relative;
    overflow: hidden;
}

.momp-filter-bar::before {
    /* Optional: Subtle gradient overlay for depth */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--momp-primary), var(--momp-secondary));
    z-index: 1;
}

/* =========================================
   12. Theme Metadata Suppression & Privacy
   ========================================= */

/* Critical: Force Hide Theme Metadata (Override theme defaults) */
.single-profile .entry-meta,
.single-profile .posted-on,
.single-profile .byline,
.single-profile .post-meta-wrapper,
.single-profile .meta-info {
    font-size: 0 !important;
    visibility: hidden !important;
    display: none !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Hide children and pseudo-elements */
.single-profile .entry-meta::before,
.single-profile .entry-meta::after,
.single-profile .byline::before,
.single-profile .byline::after {
    content: none !important;
    display: none !important;
}

/* Specific Metadata Elements */
.single-profile .cat-links,
.single-profile .tags-links,
.single-profile .post-date,
.single-profile .post-author,
.single-profile .entry-footer,
.single-profile .comments-area,
.single-profile .post-navigation,
.single-profile .author-bio,
.single-profile .entry-header .entry-title,
.single-profile .wp-block-post-date,
.single-profile .wp-block-post-author,
.single-profile .wp-block-post-terms,
.single-profile .wp-block-comments,
.single-profile .wp-block-post-author__content,
.single-profile .wp-block-post-author__name,
.single-profile .entry-author,
.single-profile .author,
.single-profile a[href*='/author/'],
.single-profile .wp-block-post-date+p,
.single-profile .wp-block-post-date+p+p {
    display: none !important;
}

/* Hide Theme Featured Images (Duplicate prevention) */
.single-profile .post-thumbnail,
.single-profile .entry-header img:first-child,
.single-profile .featured-image,
.single-profile .wp-post-image:not(.momp-photo-protected img),
.single-profile article>img,
.single-profile .entry-content>img:first-child {
    display: none !important;
}

/* Ensure OUR image in the hero section stays visible */
.single-profile .momp-profile-photo-column img,
.single-profile .momp-photo-protected img {
    display: block !important;
}

.momp-filter-item {
    flex: 1;
    min-width: 180px;
}

.momp-filter-item label {
    display: block;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 700;
    color: var(--momp-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.momp-filter-item select,
.momp-filter-item input {
    width: 100%;
    padding: 12px 16px;
    /* Slightly more horizontal padding */
    border: 1px solid #e2e8f0;
    /* Cleaner border color */
    border-radius: 8px;
    font-size: 14px;
    color: #334155;
    /* Darker text for readability */
    transition: all 0.2s ease-in-out;
    background-color: #f8fafc;
    /* Very light slate bg */
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.momp-filter-item select:hover,
.momp-filter-item input:hover {
    border-color: #cbd5e1;
    background-color: #fff;
}

.momp-filter-item select:focus,
.momp-filter-item input:focus {
    outline: none;
    border-color: var(--momp-primary);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.15);
    /* Stronger focus ring */
}

.momp-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

/* List Layout */
.momp-results-grid.momp-layout-list {
    grid-template-columns: 1fr;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.momp-results-grid.momp-layout-list .momp-card {
    flex-direction: row;
    min-height: 250px;
    height: auto;
}

.momp-results-grid.momp-layout-list .momp-card-image {
    flex: 0 0 200px;
    aspect-ratio: auto;
}

.momp-results-grid.momp-layout-list .momp-card-info {
    padding: 25px;
    justify-content: center;
}

@media (max-width: 600px) {
    .momp-results-grid.momp-layout-list .momp-card {
        flex-direction: column;
        height: auto;
    }

    .momp-results-grid.momp-layout-list .momp-card-image {
        flex: none;
        aspect-ratio: 3/4;
    }
}

.momp-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    position: relative;
}

.momp-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(233, 30, 99, 0.2);
}

.momp-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
}

.momp-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.momp-card:hover .momp-card-image img {
    transform: scale(1.08);
}

.momp-card-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 5;
}

/* Card Badges (Round Icons) */
.momp-card-badges .momp-badge-verified,
.momp-card-badges .momp-badge-premium {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.momp-card-badges .momp-badge-verified {
    background: #4caf50;
}

.momp-card-badges .momp-badge-premium {
    background: #ffc107;
}

/* Profile Status Badges (Pills) */
.momp-badge-verified.momp-badge,
.momp-badge-premium-gold.momp-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 20px;
    color: #fff;
    font-size: 12px;
    width: auto;
    height: auto;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.momp-badge-verified.momp-badge {
    background-color: #4caf50;
    /* Green */
}

.momp-badge-premium-gold.momp-badge {
    background: linear-gradient(135deg, #ffc107, #ff8f00);
    /* Gold */
    color: #fff;
}

.momp-card-overlay-id {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 15px 10px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.momp-card-placeholder {
    height: 100%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.momp-card-placeholder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.momp-card:hover .momp-card-placeholder-img {
    transform: scale(1.05);
}

.momp-card-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.momp-card-name {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.2;
}

.momp-card-name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.momp-card-name a:hover {
    color: var(--momp-primary);
}

.momp-card-meta-main {
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--momp-text-muted);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.momp-card-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}

.momp-pill {
    background: #f5f5f7;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #555;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.momp-card-actions {
    margin-top: auto;
}

.momp-btn-view {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    background: var(--momp-primary);
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
}

.momp-btn-view:hover {
    background: var(--momp-primary-hover);
    gap: 12px;
}

.momp-card.tier-premium {
    border: 2px solid #ffca28;
    background: linear-gradient(to bottom, #fffef9 0%, #ffffff 100%);
}

.momp-card.tier-premium .momp-card-name {
    color: #92400e;
}

.momp-card.tier-premium::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(225deg, #ffc107 50%, transparent 50%);
    z-index: 4;
}

.momp-pagination {
    margin-top: 60px;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.momp-pagination .page-numbers {
    display: inline-block;
    padding: 10px 18px;
    background: #fff;
    border: 1.5px solid var(--momp-border);
    border-radius: 8px;
    text-decoration: none;
    color: var(--momp-text);
    font-weight: 600;
    transition: all 0.3s ease;
}

.momp-pagination .page-numbers:hover {
    border-color: var(--momp-primary);
    color: var(--momp-primary);
}

.momp-pagination .page-numbers.current {
    background: var(--momp-primary);
    border-color: var(--momp-primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3);
}

/* --- Membership & Privacy --- */
.momp-blurred-box {
    background: #f9f9f9;
    border: 1px dashed var(--momp-border);
    padding: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: var(--momp-radius);
    margin-top: 15px;
}

.momp-blurred-content {
    filter: blur(6px);
    pointer-events: none;
    user-select: none;
    opacity: 0.5;
}

.momp-upgrade-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.4);
}

.momp-upgrade-overlay h4 {
    margin: 0 0 10px;
    color: var(--momp-text);
}

.momp-membership-dashboard h3 {
    margin-bottom: 25px;
    color: var(--momp-text);
}

.momp-upgrade-card {
    background: var(--momp-secondary);
    padding: 25px;
    border-radius: var(--momp-radius);
    margin-top: 25px;
}

/* --- Utility Classes --- */
.momp-mt-20 {
    margin-top: 20px;
}

.momp-mt-30 {
    margin-top: 30px;
}

.momp-mt-40 {
    margin-top: 40px;
}

.momp-mb-15 {
    margin-bottom: 15px;
}

.momp-flex-center {
    display: flex;
    align-items: center;
    gap: 10px;
}

.momp-w-60 {
    width: 60px;
}

.momp-w-full {
    width: 100%;
    box-sizing: border-box;
}

/* --- Admin & Help Pages --- */
.momp-help-box {
    background: #fff;
    border: 1px solid var(--momp-border);
    padding: 20px;
    border-radius: var(--momp-radius);
}

.momp-help-box ol {
    line-height: 1.8;
}

.momp-status-pill {
    display: inline-block;
    padding: 15px;
    background: #fff;
    border: 1px solid var(--momp-border);
    border-radius: var(--momp-radius);
}

.momp-text-green {
    color: #46b450;
    font-weight: bold;
}

.momp-text-red {
    color: #dc3232;
    font-weight: bold;
}

.momp-ml-10 {
    margin-left: 10px;
}

.momp-bank-details {
    background: #fff;
    padding: 15px;
    border: 1px solid var(--momp-border);
    border-left: 4px solid var(--momp-primary);
    margin-bottom: 25px;
}

/* --- Authentication Forms --- */
.momp-auth-section .momp-form-container {
    max-width: 450px;
    margin: 40px auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.momp-form-container h2 {
    margin-top: 0;
    margin-bottom: 30px;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    color: var(--momp-text);
}

#momp-login-form p,
#momp-registration-form .momp-field-group {
    margin-bottom: 20px;
}

#momp-login-form label,
#momp-registration-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
    color: var(--momp-text-muted);
}

#momp-login-form input[type="text"],
#momp-login-form input[type="password"],
#momp-registration-form input[type="text"],
#momp-registration-form input[type="email"],
#momp-registration-form input[type="password"] {
    width: 100%;
    padding: 14px;
    border: 1.5px solid var(--momp-border);
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 15px;
    transition: all 0.3s ease;
    background-color: #fcfcfc;
}

#momp-login-form input[type="text"]:focus,
#momp-login-form input[type="password"]:focus,
#momp-registration-form input[type="text"]:focus,
#momp-registration-form input[type="email"]:focus,
#momp-registration-form input[type="password"]:focus {
    outline: none;
    border-color: var(--momp-primary);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(233, 30, 99, 0.1);
}

#momp-login-form .login-submit input,
.momp-form-footer .momp-btn,
.momp-btn-primary {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--momp-primary), #ff4081);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

#momp-login-form .login-submit input:hover,
.momp-form-footer .momp-btn:hover,
.momp-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
}

#momp-login-form .login-submit input:active,
.momp-form-footer .momp-btn:active {
    transform: translateY(0);
}

.momp-btn-danger-outline {
    background: #fff !important;
    color: #dc3232 !important;
    border: 1.5px solid #dc3232 !important;
    transition: all 0.3s ease;
}

.momp-btn-danger-outline:hover {
    background: #dc3232 !important;
    color: #fff !important;
}

.momp-auth-footer {
    margin-top: 35px;
    border-top: 1px solid #f1f5f9;
    padding-top: 25px;
    text-align: center;
}

.momp-auth-secondary-links {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    font-size: 14px;
}

.momp-auth-secondary-links a {
    color: var(--momp-text-muted);
    text-decoration: none;
    transition: all 0.2s ease;
}

.momp-auth-secondary-links a:hover {
    color: var(--momp-primary);
}

.momp-link-sep {
    color: #e2e8f0;
}

.momp-auth-registration-cta {
    background: #fdf2f8;
    padding: 15px;
    border-radius: 12px;
    border: 1px dashed #f9a8d4;
}

.momp-auth-registration-cta p {
    margin: 0 !important;
    font-size: 14px;
    color: var(--momp-text);
}

.momp-auth-registration-cta a {
    color: var(--momp-primary);
    font-weight: 700;
    text-decoration: none;
    margin-left: 5px;
}

.momp-auth-registration-cta a:hover {
    text-decoration: underline;
}

#momp-login-form .login-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--momp-text-muted);
}

/* --- Premium Single Profile Layout --- */
.momp-single-profile-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.momp-profile-photo-column {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.momp-profile-photo-column img {
    width: 100%;
    display: block;
}

/* Photo Protection & Watermark */
.momp-photo-protected {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
}

.momp-photo-shield {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    background: transparent;
    cursor: default;
    user-select: none;
    -webkit-user-drag: none;
}

.momp-photo-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    z-index: 5;
    color: rgba(255, 255, 255, 0.3);
    font-size: 24px;
    font-weight: 900;
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    letter-spacing: 5px;
    width: 100%;
    text-align: center;
}

/* Photo Privacy: Blur & Overlay */
.momp-photo-blurred img {
    filter: blur(15px) !important;
    transform: scale(1.1);
    /* Prevent blurred edges from leaking */
}

.momp-photo-unlock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
    z-index: 20;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.momp-photo-unlock-overlay:hover {
    background: rgba(0, 0, 0, 0.4);
    transform: scale(1.05);
    color: #fff;
}

.momp-photo-unlock-overlay .dashicons {
    font-size: 32px;
    width: 32px;
    height: 32px;
    margin-bottom: 8px;
}

.momp-profile-info-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* --- Profile Editor & My Profile Page --- */
.momp-profile-editor {
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--momp-shadow);
    padding: 30px;
    margin-top: 30px;
}

.momp-section-card {
    background: #fdfdfd;
    border: 1px solid var(--momp-border);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
}

.momp-section-card h3 {
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1.5px solid var(--momp-secondary);
    font-size: 1.25rem;
    color: var(--momp-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.momp-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 30px;
}

@media (max-width: 768px) {
    .momp-grid-2 {
        grid-template-columns: 1fr;
    }
}

.momp-readonly-display {
    padding: 12px 15px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #475569;
    font-weight: 500;
    font-size: 0.95rem;
}

.momp-readonly-display span {
    display: block;
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 4px;
    font-weight: 400;
}

/* --- Account Bar Enhancements --- */
.momp-account-bar {
    background: #fff;
    padding: 15px 25px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.momp-user-welcome {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: #1e293b;
    font-size: 1.1rem;
}

.momp-account-nav {
    display: flex;
    gap: 10px;
    align-items: center;
}

.momp-account-nav a {
    text-decoration: none;
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.momp-account-nav a:hover {
    background: #f1f5f9;
    color: var(--momp-primary);
}

.momp-account-nav a.momp-nav-logout {
    color: #ef4444;
    background: #fef2f2;
}

.momp-account-nav a.momp-nav-logout:hover {
    background: #fee2e2;
}

.momp-profile-editor .momp-field-group label {
    font-size: 0.9rem;
    color: #4b5563;
    margin-bottom: 6px;
}

.momp-profile-editor input,
.momp-profile-editor select,
.momp-profile-editor textarea {
    border-color: #cbd5e1 !important;
}

.momp-profile-editor h3 .dashicons {
    color: var(--momp-primary);
    font-size: 1.3rem;
    width: 20px;
    height: 20px;
}

.momp-profile-id-hero {
    color: var(--momp-primary);
    margin: 0 0 15px;
}

.momp-meta-badge-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.momp-meta-badge {
    background: #fcfcfc;
    border: 1px solid var(--momp-border);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--momp-text-muted);
}

/* --- Glassmorphism Blurred Section --- */
.momp-blurred-box {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    padding: 40px !important;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07) !important;
}

/* --- Premium Membership Cards --- */
.momp-pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 40px auto;
    max-width: 900px;
}

.momp-pricing-card {
    background: #fff;
    border: 1px solid var(--momp-border);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.momp-pricing-card.momp-premium-featured {
    border-color: var(--momp-primary);
    box-shadow: 0 15px 35px rgba(233, 30, 99, 0.1);
    transform: scale(1.02);
}

.momp-pricing-card.momp-premium-featured::before {
    content: 'BEST VALUE';
    position: absolute;
    top: 15px;
    right: -10px;
    background: #ffc107;
    color: #000;
    padding: 4px 12px;
    font-size: 10px;
    font-weight: 800;
    border-radius: 4px;
}

.momp-pricing-card h4 {
    font-size: 20px;
    margin: 0 0 10px;
}

.momp-price-tag {
    font-size: 36px;
    font-weight: 800;
    margin: 20px 0;
    color: var(--momp-text);
}

.momp-pricing-features {
    list-style: none;
    padding: 0;
    margin: 20px 0 30px;
    text-align: left;
}

.momp-pricing-features li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--momp-text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.momp-pricing-features li::before {
    content: '✓';
    color: #4caf50;
    font-weight: bold;
}

/* --- Invoice Style Payment Box --- */
.momp-payment-invoice-box {
    background: #fcfcfc;
    border: 2px solid var(--momp-border);
    border-radius: 12px;
    padding: 35px;
    margin-top: 40px;
    position: relative;
}

.momp-payment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--momp-border);
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.momp-bank-info-line {
    background: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    border: 1px solid var(--momp-border);
    font-family: monospace;
    font-size: 15px;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .momp-single-profile-grid {
        grid-template-columns: 1fr;
    }

    .momp-pricing-card.momp-premium-featured {
        transform: none;
    }
}


/* Gallery styles moved to edit-profile.css for specific logic */

.momp-preview-img {
    max-width: 150px;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--momp-border);
    display: block;
}

.momp-preview-overlay {
    position: absolute;
    top: 5px;
    left: 5px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 700;
    z-index: 2;
    pointer-events: none;
}

.momp-delete-img input {
    margin-right: 3px;
}

/* Astrology Match Styles */
.momp-astrology-match {
    margin-top: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--momp-border);
}

.momp-star-btn {
    width: 48px;
    height: 48px;
    background: var(--momp-astrology);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.momp-star-btn:hover {
    transform: scale(1.15) rotate(15deg);
}

.momp-star-btn .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
}

.momp-guna-score {
    font-size: 1.1em;
    font-weight: 700;
    color: #856404;
    cursor: pointer;
    background: #fff9e6;
    padding: 10px 20px;
    border-radius: 50px;
    border: 1.5px solid #ffeeba;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.momp-guna-score:hover {
    background: #fff3cd;
    border-color: #ffc107;
    transform: translateY(-2px);
}

/* Modal Popup Styles */
#momp-astrology-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

#momp-astrology-modal.momp-modal-active {
    display: flex;
}

.momp-modal-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 28px;
    width: 100%;
    max-width: 580px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    animation: mompModalIn 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes mompModalIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.momp-close-modal {
    position: absolute;
    right: 25px;
    top: 20px;
    font-size: 32px;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
}

.momp-modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.momp-modal-header h2 {
    color: #1e293b;
    margin: 0 0 8px;
    font-size: 24px;
}

.momp-modal-header p {
    color: #64748b;
    font-size: 15px;
}

.momp-match-table {
    width: 100%;
    border-collapse: collapse;
}

.momp-match-table th,
.momp-match-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid #f1f5f9;
}

.momp-match-table th {
    color: #94a3b8;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.momp-match-table td strong {
    color: #1e293b;
}

.momp-total-row {
    background: #f8fafc;
    font-weight: 800;
    font-size: 1.2em;
    color: #e91e63;
}

.momp-match-summary {
    margin-top: 30px;
    background: #fff9e6;
    padding: 20px;
    border-radius: 20px;
    border: 1px solid #ffeeba;
    color: #856404;
    line-height: 1.6;
}

/* --- Theme Cleanup (Hide Blog Meta) --- */
.single-profile .entry-meta,
.single-profile .posted-on,
.single-profile .byline,
.single-profile .cat-links,
.single-profile .tags-links,
.single-profile .post-date,
.single-profile .post-author,
.single-profile .entry-footer,
.single-profile .comments-area,
.single-profile .post-navigation,
.single-profile .author-bio {
    display: none !important;
}

/* Optional: Hide Default Title if it looks duplicate */
/* .single-profile .entry-title { display: none; } */

/* --- Searchable Select Component --- */
.momp-search-select-wrap {
    position: relative;
    width: 100%;
}

.momp-search-select-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 0.95rem;
    background: #fff;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.momp-search-select-input:focus {
    border-color: var(--momp-primary);
    box-shadow: 0 0 0 4px rgba(233, 30, 99, 0.1);
    outline: none;
}

.momp-search-select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-top: 8px;
    box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    animation: mompFadeInScale 0.2s ease-out;
}

@keyframes mompFadeInScale {
    from {
        opacity: 0;
        transform: scale(0.98) translateY(-10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.momp-search-select-item {
    padding: 12px 15px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.2s;
    border-bottom: 1px solid #f8fafc;
}

.momp-search-select-item:last-child {
    border-bottom: none;
}

.momp-search-select-item:hover {
    background: #fdf2f8;
    color: var(--momp-primary);
    padding-left: 20px;
}

.momp-search-select-item.momp-add-new-item {
    background: #f0fdf4;
    color: #166534;
    font-weight: 700;
    border-top: 1px solid #bbf7d0;
}

.momp-search-select-item.momp-add-new-item:hover {
    background: #dcfce7;
    padding-left: 15px;
}

.momp-search-select-no-results {
    padding: 20px;
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
}

/* --- Membership Status Bar --- */
.momp-membership-status-bar {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.momp-membership-status-bar:hover {
    border-color: var(--momp-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.momp-membership-status-bar .dashicons {
    line-height: 1;
}

@media (max-width: 600px) {
    .momp-membership-status-bar {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 15px;
    }

    .momp-membership-status-bar .momp-btn {
        width: 100%;
        text-align: center;
    }
}

/* ==========================================================================
   NEW PREMIUM PROFILE REDESIGN STYLES
   ========================================================================== */

.momp-profile-header-wrapper {
    background: linear-gradient(to bottom, #fffcfd 0%, #ffffff 100%);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    margin-bottom: 40px;
    border: 1px solid #fceef3;
    position: relative;
    overflow: hidden;
}

.momp-profile-header-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle at top right, rgba(233, 30, 99, 0.05), transparent 70%);
    pointer-events: none;
}

.momp-single-profile-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
}

.momp-profile-photo-column img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.momp-profile-display-name {
    font-size: 2.4rem;
    font-weight: 800;
    margin: 0;
    color: #1e293b;
    line-height: 1.2;
}

.momp-profile-id-tag {
    display: inline-flex;
    align-items: center;
    background: #f1f5f9;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 600;
    margin-left: 15px;
}

.momp-profile-title-row {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.momp-profile-status-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.momp-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    gap: 6px;
}

.momp-badge-managed {
    background: #e0f2fe;
    color: #0369a1;
}

.momp-badge-premium-gold {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.momp-badge-verified {
    background: #dcfce7;
    color: #166534;
}

.momp-meta-badge-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.momp-meta-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    color: #475569;
    gap: 8px;
    transition: all 0.2s;
}

.momp-meta-badge:hover {
    border-color: var(--momp-primary);
    color: var(--momp-primary);
}

/* Astrology Match Hero */
.momp-astrology-match-hero {
    background: linear-gradient(135deg, #fffcf0 0%, #fff 100%);
    border: 1px solid #fde68a;
    padding: 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.momp-guna-score-premium {
    display: flex;
    flex-direction: column;
}

.momp-guna-value {
    font-size: 1.1rem;
    color: #92400e;
    font-weight: 600;
}

.momp-guna-value span {
    font-size: 2rem;
    font-weight: 800;
}

.momp-guna-label {
    font-size: 0.85rem;
    color: #b45309;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* More Vibrant Profile Header for "Good with Color" */
.momp-profile-header-wrapper {
    background: linear-gradient(135deg, #fffcfd 0%, #fff0f5 100%);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(233, 30, 99, 0.08);
    margin-bottom: 40px;
    border: 1px solid #fceef3;
    position: relative;
    overflow: hidden;
}

.momp-astrology-cta,
.momp-astrology-placeholder {
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px dashed #cbd5e1;
    color: #64748b;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    transition: all 0.2s;
}

.momp-astrology-cta:hover {
    background: #fff;
    border-color: var(--momp-primary);
    color: var(--momp-primary);
}

/* Layout Columns */
.momp-profile-content-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

.momp-section-card {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid #f1f5f9;
}

.momp-section-card h3 {
    font-size: 1.25rem;
    margin-top: 0;
    margin-bottom: 20px;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 15px;
}

.momp-detail-grid-v2 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.momp-detail-item {
    display: flex;
    flex-direction: column;
}

.momp-detail-item strong {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #94a3b8;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.momp-detail-item span {
    font-size: 1.05rem;
    color: #334155;
    font-weight: 600;
}

.momp-narrative-content {
    line-height: 1.7;
    color: #475569;
    font-size: 1.05rem;
}

/* Sidebar Contact */
.momp-contact-card {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    border: 1px solid #f1f5f9;
    position: sticky;
    top: 100px;
}

.momp-contact-item {
    margin-bottom: 15px;
    color: #475569;
}

.momp-contact-item strong {
    color: #1e293b;
    display: block;
    margin-bottom: 3px;
}

/* Glassmorphism Blur Box */
.momp-glass-blur-box {
    position: relative;
    padding: 20px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    overflow: hidden;
}

.momp-blurred-text {
    filter: blur(4px);
    opacity: 0.5;
    user-select: none;
    line-height: 2;
}

.momp-lock-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
}

.momp-lock-overlay .dashicons {
    font-size: 24px;
    color: #64748b;
    margin-bottom: 8px;
}

.momp-link-premium {
    font-weight: 700;
    color: var(--momp-primary);
    text-decoration: none;
    font-size: 0.9rem;
}

/* Gallery Section */
.momp-profile-gallery-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid #f1f5f9;
}

.momp-gallery-grid-v2 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.momp-gallery-item-v2 img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s;
}

.momp-gallery-item-v2:hover img {
    transform: scale(1.03);
}

/* Locked Notice */
.momp-premium-locked-notice {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
    padding: 50px;
    text-align: center;
    margin-bottom: 30px;
}

.momp-premium-locked-notice .dashicons-lock {
    font-size: 48px;
    width: 48px;
    height: 48px;
    color: #94a3b8;
    margin-bottom: 20px;
}

.momp-premium-locked-notice h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #1e293b;
}

.momp-premium-locked-notice p {
    color: #64748b;
    margin-bottom: 25px;
}

/* Responsive */
@media (max-width: 1024px) {
    .momp-profile-content-layout {
        grid-template-columns: 1fr;
    }

    .momp-contact-card {
        position: static;
    }
}

@media (max-width: 768px) {
    .momp-single-profile-grid {
        grid-template-columns: 1fr;
    }

    .momp-profile-photo-column img {
        height: 400px;
    }

    .momp-profile-title-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .momp-profile-id-tag {
        margin-left: 0;
    }
}

/* --- Premium V2 UI Extensions --- */
.momp-readonly-display {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 12px 16px;
    border-radius: 12px;
    color: var(--momp-text);
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.momp-readonly-display .dashicons {
    color: #cbd5e1;
    font-size: 18px;
}

.momp-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.momp-helper-text {
    font-size: 13px;
    color: var(--momp-text-muted);
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-style: italic;
}

.momp-helper-text .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* Status Select Toggles */
.momp-status-toggle-wrap {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.momp-status-option {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.momp-status-option:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.momp-status-option input[type="radio"] {
    margin-top: 4px;
}

.momp-status-option .option-content strong {
    display: block;
    font-size: 15px;
    color: var(--momp-text);
}

.momp-status-option .option-content span {
    font-size: 13px;
    color: var(--momp-text-muted);
}

.momp-status-option input:checked+.option-content strong {
    color: var(--momp-primary);
}

.momp-status-option input:checked {
    accent-color: var(--momp-primary);
}

/* Checkbox Labels */
.momp-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    padding: 15px;
    background: var(--momp-glass);
    border-radius: 12px;
    border: 1px solid rgba(233, 30, 99, 0.05);
}

.momp-checkbox-label input {
    margin-top: 4px;
}

.momp-checkbox-label span {
    font-size: 14px;
    line-height: 1.5;
    color: var(--momp-text);
}

/* Danger Zone */
.momp-danger-zone {
    border-top: 4px solid var(--momp-danger) !important;
    background: #fffcfc;
}

.momp-danger-zone h3 {
    color: var(--momp-danger);
    margin-bottom: 10px;
}

.momp-danger-zone p {
    color: var(--momp-text-muted);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* Large Buttons */
.momp-btn-lg {
    padding: 16px 45px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 14px;
    width: auto;
}

.momp-form-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid #f1f5f9;
}

/* --- Membership Dashboard & Payments --- */
.momp-membership-dashboard {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.momp-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.momp-pricing-card {
    background: #fff;
    border: 1px solid #f1f5f9;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.momp-pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.momp-pricing-card.is-premium {
    border: 2px solid var(--momp-accent);
}

.momp-pricing-card.is-current {
    background: #f8fafc;
    border: 2px solid var(--momp-primary);
}

.momp-price-tag {
    font-size: 3rem;
    font-weight: 800;
    color: var(--momp-text);
    margin: 20px 0;
}

.momp-price-tag small {
    font-size: 1rem;
    color: var(--momp-text-muted);
}

.momp-current-badge {
    background: var(--momp-primary);
    color: #fff;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 15px;
    display: inline-block;
}

.momp-pricing-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    text-align: left;
}

.momp-pricing-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #475569;
}

.momp-pricing-features .dashicons {
    color: #10b981;
}

/* Payment Flow */
.momp-payment-invoice-box {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
}

.momp-qr-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f8fafc;
    padding: 40px;
}

.momp-qr-box {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.momp-upi-display {
    margin-top: 20px;
    font-family: monospace;
    font-size: 16px;
    color: var(--momp-primary);
    background: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px dashed var(--momp-primary);
}

.momp-secure-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: #64748b;
    font-size: 13px;
    margin-top: 20px;
}

/* --- Legal & DPDP --- */
.momp-legal-doc {
    max-width: 800px;
    margin: 0 auto;
}

.momp-policy-intro {
    font-size: 1.1rem;
    color: var(--momp-text-muted);
    line-height: 1.6;
    margin-bottom: 30px;
}

.momp-section-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #f1f5f9;
    margin-bottom: 20px;
}

.momp-section-card h3 {
    margin-top: 0;
    color: var(--momp-primary);
    font-size: 18px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.momp-policy-list {
    list-style: none;
    padding: 0;
}

.momp-policy-list li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.momp-policy-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--momp-primary);
}

.momp-grievance-card {
    background: #f8fafc;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--momp-primary);
    margin-top: 15px;
}

.momp-consent-withdrawal {
    margin-top: 40px;
    padding: 20px;
    background: #fff5f5;
    border-radius: 12px;
    color: #c53030;
    font-size: 14px;
    text-align: center;
}

/* --- Edit Profile Extensions --- */
.momp-dashboard-footer {
    margin-top: 30px;
    text-align: right;
}

.momp-dashboard-footer .momp-status-badge {
    margin-left: 12px;
}

.momp-btn-upgrade {
    background: var(--momp-accent);
    border: none;
    color: #1e293b;
}

.momp-btn-upgrade:hover {
    background: #ffd700;
}

.momp-back-link {
    display: inline-block;
    margin-bottom: 15px;
    text-decoration: none;
    color: var(--momp-text-muted);
    font-size: 14px;
    transition: color 0.2s;
}

.momp-back-link:hover {
    color: var(--momp-primary);
}

.momp-erasure-alert {
    text-align: center;
    padding: 60px 30px !important;
}

.momp-erasure-alert .dashicons-trash {
    font-size: 64px;
    width: 64px;
    height: 64px;
    color: var(--momp-danger);
    margin-bottom: 25px;
}

.momp-erasure-alert h2 {
    color: var(--momp-danger);
    margin-bottom: 15px;
}

.momp-erasure-alert p {
    font-size: 16px;
    color: var(--momp-text-muted);
}

/* --- Admin Settings Page --- */
.momp-settings-title {
    font-weight: 900;
    font-size: 28px;
    letter-spacing: -0.05em;
    margin-bottom: 30px;
}

.momp-settings-title .momp-version-tag {
    font-weight: 400;
    font-size: 14px;
    color: var(--momp-text-muted);
    margin-left: 10px;
}

.momp-settings-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.momp-form-inline {
    display: flex;
    gap: 10px;
    align-items: center;
}

.momp-w-100 {
    max-width: 100px !important;
}

.momp-w-120 {
    max-width: 120px !important;
}

.momp-w-150 {
    max-width: 150px !important;
}

.momp-w-200 {
    max-width: 200px !important;
}

.momp-settings-promo-box {
    margin-top: 40px;
    background: #faf5ff;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e9d5ff;
}

.momp-settings-promo-box h3 {
    margin-top: 0;
    font-size: 16px;
    font-weight: 750;
    color: #6b21a8;
}

.momp-settings-promo-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.momp-help-text-sm {
    margin: 3px 0 0 !important;
}

/* --- DPDP & Legal Docs --- */
.momp-legal-doc {
    line-height: 1.8;
}

.momp-policy-intro {
    font-size: 16px;
    color: var(--momp-text-muted);
    margin-bottom: 30px;
}

.momp-policy-list {
    margin: 15px 0;
    padding-left: 20px;
}

.momp-policy-list li {
    margin-bottom: 10px;
}

.momp-grievance-card {
    background: #f8fafc;
    border: 1px solid var(--momp-border);
    padding: 20px;
    border-radius: 12px;
    margin-top: 15px;
}

.momp-consent-withdrawal {
    margin-top: 40px;
    padding: 25px;
    background: #fffafa;
    border: 1px solid #fee2e2;
    border-radius: 12px;
    font-style: italic;
    font-size: 14px;
    color: #991b1b;
}

/* --- Auth Module Extensions --- */
.momp-text-center {
    text-align: center;
}

.momp-icon-hero {
    font-size: 48px !important;
    width: 48px !important;
    height: 48px !important;
    color: var(--momp-primary);
    margin-bottom: 20px;
}

.momp-auth-logged-in-msg {
    color: var(--momp-text-muted);
    margin-bottom: 25px;
}

.momp-mt-25 {
    margin-top: 25px !important;
}

.momp-checkbox-input {
    width: 20px !important;
    height: 20px !important;
    margin-top: 3px !important;
    border-radius: 4px !important;
    border: 2px solid #cbd5e1 !important;
    cursor: pointer !important;
}

.momp-color-primary {
    color: var(--momp-primary) !important;
}

.momp-icon-inline {
    font-size: 16px !important;
    width: 16px !important;
    height: 16px !important;
    vertical-align: middle;
    margin-right: 4px;
}

/* --- Search Results Match Badges --- */
.momp-badge-match {
    position: absolute;
    top: 50px;
    left: 15px;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10;
    transition: transform 0.2s ease;
}

.momp-badge-match:hover {
    transform: scale(1.05);
}

.match-score-excellent {
    background: rgba(139, 92, 246, 0.9) !important;
}

.match-score-very-good {
    background: rgba(16, 185, 129, 0.9) !important;
}

.match-score-good {
    background: rgba(245, 158, 11, 0.9) !important;
}

.match-score-low {
    background: rgba(239, 68, 68, 0.9) !important;
}

.momp-badge-match .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
}

/* --- Profile Dashboard & Verification --- */
.momp-id-banner {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
}

.momp-id-banner-inner {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 15px;
    color: var(--momp-text);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.momp-id-banner-inner:hover {
    border-color: var(--momp-primary);
    transform: translateY(-2px);
}

.momp-id-banner-inner .dashicons {
    color: var(--momp-primary);
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.momp-id-banner-inner strong {
    color: var(--momp-primary);
    font-size: 16px;
}

.momp-membership-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: #fff;
    border: 1px solid var(--momp-border);
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.momp-membership-status-bar.is-premium {
    background: linear-gradient(135deg, #fff 0%, #fcf1f4 100%);
    border-color: var(--momp-primary);
}

.momp-membership-status-bar .status-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.momp-membership-status-bar .status-icon {
    width: 40px;
    height: 40px;
    background: var(--momp-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--momp-primary);
}

.momp-membership-status-bar .status-text strong {
    display: block;
    font-size: 16px;
    color: #1e293b;
}

.momp-membership-status-bar .status-text small {
    color: var(--momp-text-muted);
}

.momp-section-card-verified {
    border-top: 4px solid var(--momp-primary) !important;
    background: linear-gradient(to bottom, #fff, #fafafa);
}

.momp-section-card h3 .dashicons-shield {
    color: var(--momp-primary);
    margin-right: 10px;
}

.momp-badge-verified {
    background: var(--momp-glass);
    color: var(--momp-primary);
    margin-left: 12px;
    padding: 2px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
}

.momp-readonly-display {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 10px 15px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #475569;
    font-weight: 500;
}

.momp-readonly-display .dashicons-lock {
    font-size: 16px;
    color: #94a3b8;
}

.momp-photo-preview-wrap {
    position: relative;
    width: 160px;
    height: 160px;
    background: #f1f5f9;
    border: 3px solid #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.momp-identity-main-row {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .momp-identity-main-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

.momp-identity-photo-side {
    flex: 0 0 160px;
}

.momp-identity-data-side {
    flex: 1;
}

.momp-placeholder-icon {
    font-size: 64px !important;
    width: 64px !important;
    height: 64px !important;
    color: #cbd5e1;
}

.momp-field-group-sm {
    margin-bottom: 15px !important;
}

.momp-field-group-sm label {
    font-size: 12px !important;
    margin-bottom: 4px !important;
}

.momp-readonly-display-sm {
    padding: 6px 12px !important;
    font-size: 13px !important;
    min-height: auto !important;
}

.momp-readonly-display-sm .dashicons {
    font-size: 14px !important;
    width: 14px !important;
    height: 14px !important;
}

.momp-photo-update-wrap {
    margin-top: 10px;
    text-align: center;
}

.momp-preview-overlay {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #10b981;
    color: #fff;
    font-size: 9px;
    padding: 3px 8px;
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 5;
}

.momp-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    display: block;
}

.momp-gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.momp-gallery-limit-info {
    font-size: 0.8rem;
    font-weight: normal;
    color: var(--momp-accent);
}

.momp-gallery-error {
    color: var(--momp-danger);
    font-size: 0.85rem;
    margin-top: 8px;
}

.momp-success-alert-inline {
    grid-column: 1 / -1;
    font-size: 0.85rem;
    color: #166534;
    background: #f0fdf4;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #bbf7d0;
    margin-top: 10px;
}

.momp-profile-edit-wrap {
    max-width: 900px;
    margin: 30px auto;
    padding: 0 15px;
}

/* --- Profile Editor Navigation (V2.1) --- */
.momp-profile-editor .momp-form-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.momp-profile-editor .momp-form-footer .momp-btn {
    flex: 0 0 auto;
    min-width: 140px;
    width: auto !important;
}

.momp-btn-secondary {
    background: #fff !important;
    color: var(--momp-primary) !important;
    border: 2px solid var(--momp-primary) !important;
    box-shadow: none !important;
}

.momp-btn-secondary:hover {
    background: var(--momp-primary) !important;
    color: #fff !important;
}

.momp-btn-back {
    background: #f1f5f9 !important;
    color: #475569 !important;
    border: none !important;
    box-shadow: none !important;
    flex: 0 0 auto !important;
    min-width: 80px !important;
}

.momp-btn-back:hover {
    background: #e2e8f0 !important;
    color: #1e293b !important;
}

/* --- Profile Modal Overlay --- */
.momp-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.momp-modal-overlay.active {
    display: flex !important;
    opacity: 1 !important;
}

.momp-modal-container {
    width: 90%;
    max-width: 1100px;
    height: 90%;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.momp-modal-header {
    background: #fff;
    padding: 15px 25px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.momp-modal-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
}

.momp-modal-close {
    font-size: 2rem;
    color: #64748b;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.momp-modal-close:hover {
    color: #0f172a;
    background: #f1f5f9;
}

.momp-modal-body {
    flex: 1;
    position: relative;
    background: #f8fafc;
}

#momp-profile-frame {
    width: 100%;
    height: 100%;
    display: block;
}

.momp-modal-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.momp-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e2e8f0;
    border-top: 4px solid #e11d48;
    border-radius: 50%;
    animation: momp-spin 1s linear infinite;
}

@keyframes momp-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

body.momp-modal-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .momp-modal-container {
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
}

@media (max-width: 480px) {
    .momp-profile-editor .momp-form-footer .momp-btn {
        flex: 1 1 100%;
    }
}