/* Matrimonial WordPress Plugin Custom CSS Stylesheet */
.wpm-elementor-matrimonials-container {
    font-family: 'Helvetica Neue', 'Inter', Arial, sans-serif;
    color: #1e293b;
    margin: 20px auto;
    max-width: 1200px;
    padding: 10px;
}

/* Filters bar styles */
.wpm-filters-bar {
    background: #fdfdfd;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05);
}

.wpm-filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-end;
}

.wpm-filter-field {
    flex: 1 1 200px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.wpm-filter-field label {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
}

.wpm-filter-field select,
.wpm-filter-field input {
    width: 100%;
    height: 42px;
    padding: 8px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    background-color: #fff;
    outline: none;
    transition: all 0.2s ease;
}

.wpm-filter-field select:focus,
.wpm-filter-field input:focus {
    border-color: var(--wpm-accent-color, #f43f5e);
    box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.15);
}

.wpm-age-inputs {
    display: flex;
    gap: 8px;
}

.wpm-filter-submit-btn {
    flex: 0 0 160px;
    height: 42px;
    background: var(--wpm-accent-color, #f43f5e);
    border: none;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.wpm-filter-submit-btn:hover {
    filter: brightness(0.9);
}

/* Profiles grid styling */
.wpm-profiles-grid {
    display: grid;
    gap: 24px;
}

.wpm-profiles-grid.columns-1 { grid-template-columns: 1fr; }
.wpm-profiles-grid.columns-2 { grid-template-columns: repeat(2, 1fr); }
.wpm-profiles-grid.columns-3 { grid-template-columns: repeat(3, 1fr); }
.wpm-profiles-grid.columns-4 { grid-template-columns: repeat(4, 1fr); }

/* Profile Card component */
.wpm-profile-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wpm-profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.wpm-avatar-container {
    position: relative;
    height: 240px;
    background: #f1f5f9;
}

.wpm-avatar-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wpm-badge-premium {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.wpm-profile-content {
    padding: 20px;
}

.wpm-profile-content h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
}

.wpm-meta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.wpm-meta-tags span {
    background: #f1f5f9;
    color: #475569;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.wpm-details-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    font-size: 13.5px;
}

.wpm-details-list li {
    margin-bottom: 6px;
    color: #475569;
}

.wpm-details-list li strong {
    color: #1e293b;
}

.wpm-card-actions {
    display: flex;
    gap: 10px;
}

.wpm-btn-interest, .wpm-btn-details {
    flex: 1;
    height: 38px;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wpm-btn-interest {
    background: var(--wpm-accent-color, #f43f5e);
    color: #fff;
}

.wpm-btn-details {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #e2e8f0;
}

.wpm-btn-interest:hover {
    opacity: 0.95;
}

.wpm-btn-details:hover {
    background: #e2e8f0;
}

/* Mobile responsive fixes */
@media (max-width: 768px) {
    .wpm-filter-form {
        flex-direction: column;
        align-items: stretch;
    }
    .wpm-filter-submit-btn {
        flex: 1 1 auto;
    }
    .wpm-profiles-grid {
        grid-template-columns: 1fr !important;
    }
}
