/* Matrimony Plugin Styles */

.mp-register-form,
.mp-profiles-list,
.mp-single-profile {
    max-width: 900px;
    margin: 20px auto;
    padding: 20px;
}

/* Form Styles */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    max-width: 500px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #d32f2f;
    box-shadow: 0 0 5px rgba(211, 47, 47, 0.3);
}

/* Profiles List */
.mp-profiles-list h2 {
    color: #d32f2f;
    margin-bottom: 20px;
}

.filters {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.filters input,
.filters select {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    flex: 1;
    max-width: 250px;
}

.profiles-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.profile-card {
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.2);
}

.profile-card h3 {
    margin: 0 0 10px 0;
    color: #d32f2f;
    font-size: 18px;
}

.profile-card p {
    margin: 5px 0;
    color: #666;
    font-size: 14px;
}

.profile-card .button {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 16px;
    background: #d32f2f;
    color: white;
    text-decoration: none;
    border-radius: 3px;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
}

.profile-card .button:hover {
    background: #b71c1c;
}

/* Single Profile */
.mp-single-profile {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 30px;
}

.profile-header {
    border-bottom: 2px solid #d32f2f;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.profile-header h1 {
    margin: 0 0 10px 0;
    color: #d32f2f;
    font-size: 28px;
}

.profile-meta {
    margin: 0;
    color: #666;
    font-size: 16px;
}

.profile-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.detail-group h3 {
    color: #d32f2f;
    margin-top: 0;
    font-size: 16px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.detail-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.detail-group li {
    padding: 8px 0;
    color: #666;
    border-bottom: 1px solid #f0f0f0;
}

.detail-group li strong {
    color: #333;
}

.profile-actions {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.profile-actions .button {
    padding: 10px 20px;
    background: #d32f2f;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.profile-actions .button:hover {
    background: #b71c1c;
}

/* Admin Settings */
.mp-settings-form {
    background: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.mp-info-box {
    background: #f5f5f5;
    padding: 20px;
    border-left: 4px solid #d32f2f;
    border-radius: 5px;
}

.mp-info-box h3 {
    color: #d32f2f;
    margin-top: 0;
}

.mp-info-box ul {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.mp-info-box li {
    padding: 8px 0;
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .filters {
        flex-direction: column;
    }

    .filters input,
    .filters select {
        max-width: 100%;
    }

    .profiles-container {
        grid-template-columns: 1fr;
    }

    .profile-details {
        grid-template-columns: 1fr;
    }

    .mp-settings-container {
        grid-template-columns: 1fr !important;
    }
}