
/* أساسيات التصميم */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
    direction: rtl;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* الهيدر والتنقل */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #eee;
}

nav a {
    margin: 0 10px;
    text-decoration: none;
    color: #667eea;
    font-weight: bold;
}

nav a:hover {
    color: #764ba2;
}

/* النماذج */
.form-group {
    margin-bottom: 20px;
}

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

input, select, textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #667eea;
}

button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    width: 100%;
}

button:hover {
    opacity: 0.9;
}

/* الرسائل */
.message {
    padding: 15px;
    margin: 20px 0;
    border-radius: 8px;
    text-align: center;
}

.message.error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ef5350;
}

/* الكروت */
.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.subscription-status.vip {
    color: #28a745;
    font-weight: bold;
}

.subscription-status.free {
    color: #6c757d;
}

/* الأزرار */
.btn {
    display: inline-block;
    padding: 10px 20px;
    margin: 5px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.btn.primary {
    background: #667eea;
    color: white;
}

.btn.secondary {
    background: #6c757d;
    color: white;
}

/* خطط الاشتراك */
.subscription-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.plan-card {
    padding: 20px;
    border: 2px solid #ddd;
    border-radius: 10px;
}

.plan-card.vip {
    border-color: #667eea;
    background: #f0f4ff;
}

.plan-card.free {
    border-color: #6c757d;
}

.price {
    font-size: 24px;
    font-weight: bold;
    color: #667eea;
    text-align: center;
    margin-top: 15px;
}

/* معلومات الدفع */
.payment-info {
    margin: 30px 0;
}

.bank-info, .contact-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin: 15px 0;
}

/* responsive */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    header {
        flex-direction: column;
        text-align: center;
    }
    
    nav {
        margin-top: 15px;
    }
}
members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.member-card {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.member-card:hover {
    transform: translateY(-5px);
}

.member-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
}

.no-image {
    background: #ddd;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    color: #666;
}

.filter-buttons {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.search-bar {
    margin: 20px 0;
}

.search-bar input {
    width: 300px;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    margin-right: 10px;
}

.contact-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    margin-top: 15px;
    font-weight: bold;
}

.contact-btn:hover {
    opacity: 0.9;
}

.about-me, .partner-specs {
    margin: 10px 0;
    padding: 10px;
    background: white;
    border-radius: 5px;
    border-left: 4px solid #667eea;
}

.no-results {
    text-align: center;
    padding: 40px;
    grid-column: 1 / -1;
}

.location {
    color: #666;
    margin: 5px 0;
}
