/* WP-Matrimony-Pro Master Stylesheet */

:root {
    /* --- THEME SETTINGS (Change these to customize) --- */
    --wmp-primary: #e91e63;
    /* Main Brand Color (Pink) */
    --wmp-primary-hover: #c2185b;
    /* Darker Pink for Hover */
    --wmp-secondary: #f0f0f1;
    /* Light Grey Backgrounds */
    --wmp-text: #333333;
    /* Main Text Color */
    --wmp-text-muted: #666666;
    /* Secondary Text Color */
    --wmp-border: #dddddd;
    /* Border Color */
    --wmp-radius: 8px;
    /* Rounded Corners */
    --wmp-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* --- General Components --- */
.wmp-btn {
    display: inline-block;
    background: var(--wmp-primary);
    color: #fff !important;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    text-decoration: none !important;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.wmp-btn:hover {
    background: var(--wmp-primary-hover);
}

.wmp-alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    border-left: 4px solid;
}

.wmp-alert-info {
    background: #e7f3ff;
    border-color: #2196f3;
    color: #0d47a1;
}

.wmp-alert-warning {
    background: #fff8e5;
    border-color: #ffb900;
    color: #856404;
}

.wmp-alert-success {
    background: #ecf7ed;
    border-color: #4caf50;
    color: #1b5e20;
}

.wmp-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

.wmp-badge-red {
    background: #dc3232;
    color: #fff;
}

/* --- Form Layouts --- */
.wmp-form-container {
    max-width: 800px;
    margin: 0 auto;
}

.wmp-field-group {
    margin-bottom: 20px;
}

.wmp-field-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: var(--wmp-text);
}

.wmp-form input[type="text"],
.wmp-form input[type="email"],
.wmp-form input[type="date"],
.wmp-form input[type="number"],
.wmp-form select,
.wmp-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--wmp-border);
    border-radius: var(--wmp-radius);
    box-sizing: border-box;
    font-size: 14px;
    background: #fff;
    transition: border-color 0.3s ease;
}

.wmp-form input:focus,
.wmp-form select:focus,
.wmp-form textarea:focus {
    border-color: var(--wmp-primary);
    outline: none;
}

/* --- Search Engine --- */
.wmp-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 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.wmp-filter-item {
    flex: 1;
    min-width: 180px;
}

.wmp-filter-item label {
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--wmp-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wmp-filter-item select,
.wmp-filter-item input {
    width: 100%;
    padding: 12px;
    border: 1.5px solid var(--wmp-border);
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background-color: #fcfcfc;
}

.wmp-filter-item select:focus,
.wmp-filter-item input:focus {
    outline: none;
    border-color: var(--wmp-primary);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(233, 30, 99, 0.1);
}

.wmp-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.wmp-card {
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    position: relative;
}

.wmp-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    border: 2px solid var(--wmp-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 2;
}

.wmp-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.wmp-card:hover::after {
    opacity: 0.15;
}

.wmp-card-image img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 3/4;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.wmp-card:hover .wmp-card-image img {
    transform: scale(1.05);
}

.wmp-card-placeholder {
    background: #f5f5f5;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
    font-size: 14px;
}

.wmp-card-info {
    padding: 25px;
    text-align: center;
}

.wmp-card-title {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--wmp-text);
}

.wmp-card-meta {
    margin: 0 0 20px;
    font-size: 14px;
    color: var(--wmp-text-muted);
    font-weight: 500;
}

.wmp-pagination {
    margin-top: 60px;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.wmp-pagination .page-numbers {
    display: inline-block;
    padding: 10px 18px;
    background: #fff;
    border: 1.5px solid var(--wmp-border);
    border-radius: 8px;
    text-decoration: none;
    color: var(--wmp-text);
    font-weight: 600;
    transition: all 0.3s ease;
}

.wmp-pagination .page-numbers:hover {
    border-color: var(--wmp-primary);
    color: var(--wmp-primary);
}

.wmp-pagination .page-numbers.current {
    background: var(--wmp-primary);
    border-color: var(--wmp-primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3);
}

/* --- Membership & Privacy --- */
.wmp-blurred-box {
    background: #f9f9f9;
    border: 1px dashed var(--wmp-border);
    padding: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: var(--wmp-radius);
    margin-top: 15px;
}

.wmp-blurred-content {
    filter: blur(6px);
    pointer-events: none;
    user-select: none;
    opacity: 0.5;
}

.wmp-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);
}

.wmp-upgrade-overlay h4 {
    margin: 0 0 10px;
    color: var(--wmp-text);
}

.wmp-membership-dashboard h3 {
    margin-bottom: 25px;
    color: var(--wmp-text);
}

.wmp-upgrade-card {
    background: var(--wmp-secondary);
    padding: 25px;
    border-radius: var(--wmp-radius);
    margin-top: 25px;
}

/* --- Utility Classes --- */
.wmp-mt-20 {
    margin-top: 20px;
}

.wmp-mt-30 {
    margin-top: 30px;
}

.wmp-mt-40 {
    margin-top: 40px;
}

.wmp-mb-15 {
    margin-bottom: 15px;
}

.wmp-flex-center {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wmp-w-60 {
    width: 60px;
}

.wmp-w-full {
    width: 100%;
    box-sizing: border-box;
}

/* --- Admin & Help Pages --- */
.wmp-help-box {
    background: #fff;
    border: 1px solid var(--wmp-border);
    padding: 20px;
    border-radius: var(--wmp-radius);
}

.wmp-help-box ol {
    line-height: 1.8;
}

.wmp-status-pill {
    display: inline-block;
    padding: 15px;
    background: #fff;
    border: 1px solid var(--wmp-border);
    border-radius: var(--wmp-radius);
}

.wmp-text-green {
    color: #46b450;
    font-weight: bold;
}

.wmp-text-red {
    color: #dc3232;
    font-weight: bold;
}

.wmp-ml-10 {
    margin-left: 10px;
}

.wmp-bank-details {
    background: #fff;
    padding: 15px;
    border: 1px solid var(--wmp-border);
    border-left: 4px solid var(--wmp-primary);
    margin-bottom: 25px;
}

/* --- Authentication Forms --- */
.wmp-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);
}

.wmp-form-container h2 {
    margin-top: 0;
    margin-bottom: 30px;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    color: var(--wmp-text);
}

#wmp-login-form p,
#wmp-registration-form .wmp-field-group {
    margin-bottom: 20px;
}

#wmp-login-form label,
#wmp-registration-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
    color: var(--wmp-text-muted);
}

#wmp-login-form input[type="text"],
#wmp-login-form input[type="password"],
#wmp-registration-form input[type="text"],
#wmp-registration-form input[type="email"],
#wmp-registration-form input[type="password"] {
    width: 100%;
    padding: 14px;
    border: 1.5px solid var(--wmp-border);
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 15px;
    transition: all 0.3s ease;
    background-color: #fcfcfc;
}

#wmp-login-form input[type="text"]:focus,
#wmp-login-form input[type="password"]:focus,
#wmp-registration-form input[type="text"]:focus,
#wmp-registration-form input[type="email"]:focus,
#wmp-registration-form input[type="password"]:focus {
    outline: none;
    border-color: var(--wmp-primary);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(233, 30, 99, 0.1);
}

#wmp-login-form .login-submit input,
.wmp-form-footer .wmp-btn,
.wmp-btn-primary {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--wmp-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);
}

#wmp-login-form .login-submit input:hover,
.wmp-form-footer .wmp-btn:hover,
.wmp-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
}

#wmp-login-form .login-submit input:active,
.wmp-form-footer .wmp-btn:active {
    transform: translateY(0);
}

.wmp-auth-links-footer {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 20px;
}

.wmp-auth-link {
    margin-top: 0;
    font-size: 13px;
    color: var(--wmp-text-muted);
}

.wmp-auth-link a {
    color: var(--wmp-primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.wmp-auth-link a:hover {
    color: var(--wmp-primary-hover);
    text-decoration: underline;
}

#wmp-login-form .login-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--wmp-text-muted);
}

/* --- Premium Single Profile Layout --- */
.wmp-single-profile-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.wmp-profile-photo-column img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.wmp-profile-info-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.wmp-profile-id-hero {
    font-size: 32px;
    font-weight: 800;
    color: var(--wmp-primary);
    margin: 0 0 15px;
}

.wmp-meta-badge-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.wmp-meta-badge {
    background: #fcfcfc;
    border: 1px solid var(--wmp-border);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--wmp-text-muted);
}

/* --- Glassmorphism Blurred Section --- */
.wmp-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 --- */
.wmp-pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 40px auto;
    max-width: 900px;
}

.wmp-pricing-card {
    background: #fff;
    border: 1px solid var(--wmp-border);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.wmp-pricing-card.wmp-premium-featured {
    border-color: var(--wmp-primary);
    box-shadow: 0 15px 35px rgba(233, 30, 99, 0.1);
    transform: scale(1.02);
}

.wmp-pricing-card.wmp-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;
}

.wmp-pricing-card h4 {
    font-size: 20px;
    margin: 0 0 10px;
}

.wmp-price-tag {
    font-size: 36px;
    font-weight: 800;
    margin: 20px 0;
    color: var(--wmp-text);
}

.wmp-pricing-features {
    list-style: none;
    padding: 0;
    margin: 20px 0 30px;
    text-align: left;
}

.wmp-pricing-features li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--wmp-text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.wmp-pricing-features li::before {
    content: '✓';
    color: #4caf50;
    font-weight: bold;
}

/* --- Invoice Style Payment Box --- */
.wmp-payment-invoice-box {
    background: #fcfcfc;
    border: 2px solid var(--wmp-border);
    border-radius: 12px;
    padding: 35px;
    margin-top: 40px;
    position: relative;
}

.wmp-payment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--wmp-border);
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.wmp-bank-info-line {
    background: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    border: 1px solid var(--wmp-border);
    font-family: monospace;
    font-size: 15px;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .wmp-single-profile-grid {
        grid-template-columns: 1fr;
    }

    .wmp-pricing-card.wmp-premium-featured {
        transform: none;
    }
}

/* --- Photo Gallery Styles --- */
.wmp-gallery-grid-display {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.wmp-gallery-item {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.wmp-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wmp-gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* --- Gallery Editor Styles --- */
.wmp-gallery-editor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    padding: 15px;
    background: #fcfcfc;
    border: 1px solid var(--wmp-border);
    border-radius: 12px;
}

.wmp-gallery-edit-item {
    position: relative;
    text-align: center;
}

.wmp-gallery-edit-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    margin: 0 auto 5px;
}

.wmp-delete-img {
    font-size: 11px;
    background: #fee;
    color: #c00;
    padding: 2px 5px;
    border-radius: 4px;
    cursor: pointer;
    display: block;
    border: 1px solid #fcc;
}

.wmp-delete-img input {
    margin-right: 3px;
}