.mnp-register-form,
.mnp-need-form,
.mnp-search-form {
    max-width: 700px;
    margin: 1.5rem auto;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    direction: rtl;
    text-align: right;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.mnp-field {
    margin-bottom: 1rem;
}

.mnp-field label {
    display: block;
    margin-bottom: 0.35rem;
    color: #0f172a;
}

.mnp-field input,
.mnp-field select,
.mnp-field textarea {
    width: 100%;
    padding: 0.55rem 0.75rem;
    border-radius: 8px;
    border: 1px solid #cbd5f1;
    font-size: 0.95rem;
}

.mnp-btn,
.mnp-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
}

.mnp-btn {
    background: linear-gradient(135deg, #16a34a, #22c55e);
    color: #ffffff;
}

.mnp-btn:hover {
    background: linear-gradient(135deg, #15803d, #16a34a);
}

.mnp-btn-outline {
    background: transparent;
    border: 1px solid #16a34a;
    color: #15803d;
}

.mnp-btn-outline:hover {
    background: rgba(22, 163, 74, 0.08);
}

.mnp-errors {
    max-width: 700px;
    margin: 1rem auto;
    padding: 0.9rem 1.2rem;
    border-radius: 10px;
    background: #fee2e2;
    color: #991b1b;
}

.mnp-success {
    max-width: 700px;
    margin: 1rem auto;
    padding: 0.9rem 1.2rem;
    border-radius: 10px;
    background: #dcfce7;
    color: #166534;
}

.mnp-dashboard {
    max-width: 960px;
    margin: 2rem auto;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.10);
    direction: rtl;
    text-align: right;
}

.mnp-dashboard h2 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.mnp-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    font-size: 0.92rem;
}

.mnp-table th,
.mnp-table td {
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid #e5e7eb;
}

.mnp-table th {
    background: #f8fafc;
    font-weight: 600;
}

.mnp-link {
    background: none;
    border: none;
    color: #2563eb;
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.88rem;
}

.mnp-link-danger {
    color: #b91c1c;
}

.mnp-needs-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.mnp-need-card {
    background: #ffffff;
    padding: 1rem 1.1rem;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
}

.mnp-need-card h3 {
    margin-top: 0;
    margin-bottom: 0.4rem;
    font-size: 1rem;
}

.mnp-meta {
    font-size: 0.8rem;
    color: #64748b;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.mnp-meta span::before {
    content: "•";
    margin: 0 0.25rem;
}

.mnp-meta span:first-child::before {
    content: "";
    margin: 0;
}

.mnp-status {
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0.5rem 0;
}

.mnp-status-open {
    color: #15803d;
}

.mnp-status-fulfilled {
    color: #b91c1c;
}

.mnp-single-extra {
    margin-top: 1.25rem;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    background: #f1f5f9;
    direction: rtl;
    text-align: right;
}

/* Single Need Details */
.mnp-single-details {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
    direction: rtl;
    text-align: right;
}

.mnp-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.mnp-detail-item {
    display: flex;
    flex-direction: column;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 8px;
}

.mnp-detail-label {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.mnp-detail-value {
    font-size: 1rem;
    color: #0f172a;
    font-weight: 600;
}

.mnp-detail-status .mnp-detail-value {
    display: inline-block;
}

.mnp-status-badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}

.mnp-status-badge.mnp-status-open {
    background: #dcfce7;
    color: #166534;
}

.mnp-status-badge.mnp-status-fulfilled {
    background: #fee2e2;
    color: #991b1b;
}

.mnp-author-info {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid #e5e7eb;
}

.mnp-author-info h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #0f172a;
    font-size: 1.1rem;
}

.mnp-contact-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-radius: 12px;
    border: 2px solid #3b82f6;
}

.mnp-contact-section h3 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    color: #1e40af;
}

.mnp-contact-method {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 1rem;
    word-break: break-word;
}

.mnp-btn-contact,
.mnp-btn-whatsapp,
.mnp-btn-email {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

.mnp-btn-whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.mnp-btn-whatsapp:hover {
    background: linear-gradient(135deg, #128c7e, #075e54);
}

.mnp-btn-email {
    background: linear-gradient(135deg, #ea4335, #c5221f);
}

.mnp-btn-email:hover {
    background: linear-gradient(135deg, #c5221f, #a50e0e);
}

/* Login & Password Reset Forms */
.mnp-login-wrapper,
.mnp-lost-password-wrapper {
    max-width: 500px;
    margin: 2rem auto;
    padding: 1.5rem;
}

.mnp-login-form-container,
.mnp-lost-password-form-container {
    background: #ffffff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    direction: rtl;
    text-align: right;
}

.mnp-login-form-container h2,
.mnp-lost-password-form-container h2 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #0f172a;
}

.mnp-login-form,
.mnp-lost-password-form,
.mnp-reset-password-form {
    margin-top: 1.5rem;
}

.mnp-field-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mnp-field-checkbox input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.mnp-field-checkbox label {
    margin: 0;
    cursor: pointer;
}

.mnp-field-description {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #64748b;
}

.mnp-login-links {
    margin-top: 1rem;
    text-align: center;
}

.mnp-login-links a {
    color: #2563eb;
    text-decoration: none;
    font-size: 0.9rem;
}

.mnp-login-links a:hover {
    text-decoration: underline;
}

.mnp-alert {
    padding: 1rem 1.25rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.mnp-alert-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.mnp-alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.mnp-btn-primary {
    width: 100%;
    margin-top: 0.5rem;
}

@media (max-width: 640px) {
    .mnp-register-form,
    .mnp-need-form,
    .mnp-search-form,
    .mnp-dashboard {
        padding: 1rem;
        border-radius: 12px;
    }

    .mnp-single-details {
        padding: 1rem;
    }

    .mnp-details-grid {
        grid-template-columns: 1fr;
    }

    .mnp-login-wrapper,
    .mnp-lost-password-wrapper {
        padding: 1rem;
    }

    .mnp-login-form-container,
    .mnp-lost-password-form-container {
        padding: 1.5rem;
    }

    .mnp-contact-section {
        padding: 1rem;
    }

    .mnp-btn-contact,
    .mnp-btn-whatsapp,
    .mnp-btn-email {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }
}

