/* ==================== فونت و تنظیمات پایه ==================== */
@font-face {
    font-family: 'YekanBakh';
    src: url('../fonts/YekanBakhNoEnVF.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {
    font-family: 'YekanBakh', Tahoma, sans-serif;
}

body {
    background: linear-gradient(135deg, #E3E3E3 0%, #C6E6FB 100%);
    min-height: 100vh;
    margin: 0;
    padding: 20px;
}

/* ==================== دکمه‌های یکدست در کل پروژه ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-decoration: none;
    font-family: 'YekanBakh', Tahoma, sans-serif;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 8px;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
    border-radius: 12px;
}

.btn-primary {
    background: #4166F5;
    color: white;
}
.btn-primary:hover {
    background: #3558d4;
}

.btn-secondary {
    background: #e5e7eb;
    color: #374151;
}
.btn-secondary:hover {
    background: #d1d5db;
}

.btn-success {
    background: #0D9488;
    color: white;
}
.btn-success:hover {
    background: #0F766E;
}

.btn-danger {
    background: #ef4444;
    color: white;
}
.btn-danger:hover {
    background: #dc2626;
}

.btn-warning {
    background: #f59e0b;
    color: white;
}
.btn-warning:hover {
    background: #d97706;
}

.btn-outline {
    background: transparent;
    border: 2px solid #4166F5;
    color: #4166F5;
}
.btn-outline:hover {
    background: #4166F5;
    color: white;
}

.btn-ghost {
    background: transparent;
    color: #6b7280;
}
.btn-ghost:hover {
    background: #f3f4f6;
}

.btn-close {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #6b7280;
    font-size: 18px;
}
.btn-close:hover {
    background: #fee2e2;
    color: #ef4444;
}
.btn-close-sm {
    width: 28px;
    height: 28px;
    font-size: 16px;
}
.btn-close-lg {
    width: 40px;
    height: 40px;
    font-size: 22px;
}

.btn-info {
    background: #4166F5;
    color: white;
}
.btn-info:hover {
    background: #3558d4;
}

.w-full {
    width: 100%;
}
.flex-1 {
    flex: 1;
}

/* ==================== سیستم Grid و Flex ==================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
.mx-auto { margin-left: auto; margin-right: auto; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-12 { padding: 3rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mr-2 { margin-right: 0.5rem; }
.ml-1 { margin-left: 0.25rem; }
.ml-2 { margin-left: 0.5rem; }
.ml-3 { margin-left: 0.75rem; }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }

.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

/* ==================== کارت‌ها ==================== */
.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.bg-white { background: white; }
.bg-gray-50 { background: #f9fafb; }
.bg-gray-100 { background: #f3f4f6; }
.bg-red-50 { background: #fef2f2; }
.bg-green-50 { background: #f0fdf4; }
.bg-yellow-50 { background: #fefce8; }
.bg-blue-50 { background: #eff6ff; }
.bg-purple-50 { background: #faf5ff; }
.bg-purple-100 { background: #f3e8ff; }
.bg-green-100 { background: #dcfce7; }
.bg-red-100 { background: #fee2e2; }

.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }
.rounded-3xl { border-radius: 1.5rem; }

.border { border: 1px solid #e5e7eb; }
.border-t { border-top: 1px solid #e5e7eb; }
.border-b { border-bottom: 1px solid #e5e7eb; }
.border-r-4 { border-right: 4px solid; }
.border-green-200 { border-color: #bbf7d0; }
.border-gray-200 { border-color: #e5e7eb; }

.shadow { box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); }

/* ==================== تایپوگرافی ==================== */
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-6xl { font-size: 3.75rem; }
.text-8xl { font-size: 6rem; }

.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }

/* رنگ‌های متن - با کنتراست بالا */
.text-gray-300 { color: #d1d5db; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-gray-700 { color: #374151; }
.text-gray-800 { color: #1f2937; }
.text-purple-600 { color: #4166F5; }
.text-green-600 { color: #059669; }
.text-red-600 { color: #dc2626; }
.text-yellow-600 { color: #d97706; }
.text-blue-600 { color: #2563eb; }
.text-white { color: white; }

/* ==================== فرم‌ها ==================== */
.form-input {
    width: 100%;
    padding: 10px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-family: 'YekanBakh', sans-serif;
    font-size: 14px;
    transition: all 0.3s;
    box-sizing: border-box;
    background: white;
    color: #1f2937;
}
.form-input:focus {
    border-color: #4166F5;
    box-shadow: 0 0 0 3px rgba(65, 102, 245, 0.1);
}
.form-input::placeholder {
    color: #9ca3af;
}
.form-input.ltr {
    direction: ltr;
    text-align: left;
}

/* ==================== جداول ==================== */
.table-container {
    overflow-x: auto;
}
table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
}
th {
    background: #f9fafb;
    padding: 12px;
    text-align: right;
    font-weight: bold;
    border-bottom: 2px solid #e5e7eb;
    color: #374151;
}
td {
    padding: 12px;
    border-bottom: 1px solid #e5e7eb;
    color: #4b5563;
}
tr:hover {
    background: #f9fafb;
}

/* ==================== مودال ==================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 10px;
    overflow-y: auto;
}
.modal-content {
    background: white;
    border-radius: 20px;
    padding: 30px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

/* ==================== تب‌ها ==================== */
.tab-btn {
    transition: all 0.3s;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 1rem;
    padding: 12px 20px;
    color: #4b5563;
}
.tab-btn.active {
    color: #4166F5;
    border-bottom: 2px solid #4166F5;
}
.tab-content {
    display: block;
}
.tab-content.hidden {
    display: none;
}

/* ==================== نشان‌ها (Badge) ==================== */
.badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    display: inline-block;
}
.badge-paid {
    background: #d1feef;
    color: #169a6e;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.badge-pending {
    background: #fef3c7;
    color: #92400e;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
}
.badge-rejected {
    background: #ef4444;
    color: white;
}
.badge-unpaid {
    background: #dbeafe;
    color: #1e40af;
}
.badge-creator {
    background: #4166F5;
    color: white;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.7rem;
}
.badge-participant {
    background: #10b981;
    color: white;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.7rem;
}
.badge-debt {
    background: #ef4444;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
}

/* ==================== آواتار ==================== */
.avatar-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #2A52BE;
}
.avatar-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
}
.avatar-placeholder i {
    font-size: 60px;
    color: #9ca3af;
}

/* ==================== دراپ زون ==================== */
.drop-zone {
    border: 3px dashed #cbd5e1;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: #f8fafc;
}
.drop-zone:hover {
    border-color: #8b5cf6;
    background: #f5f3ff;
}
.drop-zone.dragover {
    border-color: #8b5cf6;
    background: #ede9fe;
}

/* ==================== انیمیشن‌ها ==================== */
@keyframes slideIn {
    from { transform: translateY(-30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes toastSlideIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-up {
    animation: fadeInUp 0.3s ease-out;
}
.floating-icon {
    animation: floating 3s ease-in-out infinite;
}
@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* ==================== ریسپانسیو ==================== */
@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:flex-row { flex-direction: row; }
    .md\:block { display: block; }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
    .container { 
    padding: 10px 15px !important; 
    width: 100% !important;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
}
    .modal-content { 
        width: 92% !important; 
        padding: 20px 16px !important; 
        margin: 10px auto !important;
        border-radius: 20px !important;
        max-height: 85vh !important;
        overflow-y: auto !important;
    }
    .modal {
        padding: 10px;
    }
    .grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
    .flex { flex-direction: column; }
    .action-buttons { flex-direction: column; }
    body { padding: 10px !important; }
    .card { padding: 20px; border-radius: 16px; }
}
    
    /* مودال‌ها */
    #reviewObjectionModal .modal-content,
    #addExpenseModal .modal-content,
    #addParticipantModal .modal-content,
    #objectionModal .modal-content,
    #rejectPaymentModal .modal-content,
    #viewReceiptModal .modal-content,
    #approveReceiptModal .modal-content,
    #objectionResultModal .modal-content {
    max-height: none !important;
    overflow-y: visible !important;
}
    #messageModal .modal-content,
    #bulkPaymentModal .modal-content {
        width: 92% !important;
        max-width: 92% !important;
        padding: 20px 14px !important;
        margin: 8px auto !important;
    }
    /* جداول در مودال */
    .modal-content table {
        font-size: 0.75rem;
    }
    .modal-content th,
    .modal-content td {
        padding: 6px 4px;
    }
    
    /* دکمه‌های داخل مودال */
    .modal-content .btn {
        padding: 8px 12px;
        font-size: 0.75rem;
    }
    .modal-content .share-input {
        width: 80px;
        font-size: 0.75rem;
    }
}

/* ==================== توست ==================== */
#toast-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    pointer-events: none;
    width: 100%;
    max-width: 400px;
}
#toast-container > div {
    pointer-events: auto;
    animation: toastSlideIn 0.3s ease;
    width: 100%;
}

/* ==================== منوی پروفایل ==================== */
.profile-menu {
    position: relative;
    display: inline-block;
    z-index: 100 !important;
    isolation: isolate !important;
}
.profile-dropdown {
    position: absolute;
    left: 0;
    top: 100%;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 999999 !important;
    margin-top: 5px;
    border: 1px solid #e5e7eb;
}
.profile-menu:hover .profile-dropdown,
.profile-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
#profileModal {
    z-index: 9999 !important;
}
.dropdown-item {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4b5563;
    transition: all 0.3s;
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid #f3f4f6;
}
.dropdown-item:hover {
    background: #f3f4f6;
    color: #8b5cf6;
}
.profile-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 20px;
    width: 16px;
    height: 16px;
    background: white;
    transform: rotate(45deg);
    border-left: 1px solid #e5e7eb;
    border-top: 1px solid #e5e7eb;
    z-index: 999;
}

/* ==================== جستجو ==================== */
#searchResults {
    z-index: 1000;
}
.search-result-item {
    cursor: pointer;
    transition: all 0.2s;
    padding: 10px 12px;
    border-bottom: 1px solid #f3f4f6;
}
.search-result-item:hover {
    background-color: #f3f4f6;
}

/* ==================== کارت‌های پرداخت ==================== */
.payment-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    border-right: 5px solid;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.payment-card.paid {
    border-right-color: #10b981;
    background: #f0fdf4;
}
.payment-card.pending {
    border-right-color: #f59e0b;
    background: #fef3c7;
}
.payment-card.rejected {
    border-right-color: #ef4444;
    background: #fee2e2;
}
.payment-card.unpaid {
    border-right-color: #8b5cf6;
    background: #f5f3ff;
}
.payment-card:hover {
    transform: translateX(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* ==================== کارت‌های آمار ==================== */
.stat-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid #e5e7eb;
    cursor: pointer;
    transition: none;
}
.stat-card:hover {
    transform: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

/* ==================== کارت‌های رویداد ==================== */
.event-card {
    transition: all 0.3s;
    border-right: 4px solid transparent;
}
.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.event-card.creator {
    border-right-color: #8b5cf6;
}
.event-card.participant {
    border-right-color: #10b981;
}

/* ==================== گرادیانت ==================== */
.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-stops));
}
.from-purple-600 { --tw-gradient-from: #8b5cf6; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(139, 92, 246, 0)); }
.to-indigo-600 { --tw-gradient-to: #4f46e5; }
.from-purple-100 { --tw-gradient-from: #f3e8ff; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(243, 232, 255, 0)); }
.to-pink-100 { --tw-gradient-to: #fce7f3; }
.from-purple-50 { --tw-gradient-from: #faf5ff; }
.to-blue-50 { --tw-gradient-to: #eff6ff; }

/* ==================== خط کشیدن متن ==================== */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==================== ریسپانسیو اضافی برای فرم‌ها ==================== */
.w-full {
    width: 100%;
}
.max-w-2xl {
    max-width: 42rem;
}
.max-w-5xl { max-width: 64rem; }
.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* ==================== پس‌زمینه صفحات داخلی ==================== */
.bg-light {
    background: #f3f4f6;
}
.card-white {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

/* ==================== جهت متن برای اعداد ==================== */
.direction-ltr {
    direction: ltr;
    display: inline-block;
}

/* ==================== سیستم Grid کامل ==================== */
.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

/* Responsive - تبلت */
@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .md\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .md\:flex-row {
        flex-direction: row;
    }
}

/* Responsive - دسکتاپ */
@media (min-width: 1024px) {
    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* ==================== کلاس‌های کارت ==================== */
.bg-white {
    background: white;
}

.shadow {
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.rounded-xl {
    border-radius: 0.75rem;
}

.rounded-2xl {
    border-radius: 1rem;
}

.overflow-hidden {
    overflow: hidden;
}

/* ==================== کلاس‌های اضافی برای کارت‌ها ==================== */
.flex-col {
    flex-direction: column;
}

.h-full {
    height: 100%;
}

.mt-auto {
    margin-top: auto;
}

.flex-grow {
    flex-grow: 1;
}

/* ==================== استایل کارت مخصوص ==================== */
.event-card {
    transition: all 0.3s;
    border-right: 4px solid transparent;
}
.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.event-card.creator {
    border-right-color: #8b5cf6;
}
.event-card.participant {
    border-right-color: #10b981;
}

/* ==================== گرادیانت ==================== */
.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-stops));
}
.from-purple-600 {
    --tw-gradient-from: #8b5cf6;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(139, 92, 246, 0));
}
.to-indigo-600 {
    --tw-gradient-to: #4f46e5;
}
.from-purple-100 {
    --tw-gradient-from: #f3e8ff;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(243, 232, 255, 0));
}
.to-pink-100 {
    --tw-gradient-to: #fce7f3;
}
.from-blue-600 { --tw-gradient-from: #2563eb; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(37, 99, 235, 0)); }
.to-blue-400 { --tw-gradient-to: #60a5fa; }
/* ==================== وضعیت‌های اعتراض ==================== */
.status-badge-pending { background: #fef3c7; color: #92400e; padding: 4px 12px; border-radius: 20px; font-size: 0.85rem; }
.status-badge-reviewed { background: #dbeafe; color: #1e40af; padding: 4px 12px; border-radius: 20px; font-size: 0.85rem; }
.status-badge-resolved { background: #d1fae5; color: #065f46; padding: 4px 12px; border-radius: 20px; font-size: 0.85rem; }
.status-badge-rejected { background: #fee2e2; color: #991b1b; padding: 4px 12px; border-radius: 20px; font-size: 0.85rem; }

/* ==================== فضای بین المنت‌ها ==================== */
.space-y-4 > * + * { margin-top: 1rem; }
.align-middle { vertical-align: middle; }

.share-input { width: 120px; padding: 8px; border: 2px solid #e5e7eb; border-radius: 8px; text-align: center; font-family: 'YekanBakh', sans-serif; font-size: 14px; }
.share-input:focus { outline: none; border-color: #8b5cf6; }
table { width: 100%; border-collapse: collapse; }
th { background: #f9fafb; padding: 10px; text-align: right; font-weight: bold; border-bottom: 2px solid #e5e7eb; font-size: 13px; }
td { padding: 8px 10px; border-bottom: 1px solid #e5e7eb; font-size: 13px; }

/* ==================== LANDING PAGE ==================== */
.landing-body {
    background: linear-gradient(160deg, #f0f4f8 0%, #dbeafe 40%, #e0e7ff 100%);
    min-height: 100vh;
}

.landing-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 28px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(0,0,0,0.04);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.landing-brand {
    font-size: 1.25rem;
    font-weight: 900;
    color: #1e293b;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}
.landing-brand i { color: #4166F5; font-size: 1.6rem; }
.landing-nav-actions { display: flex; gap: 10px; align-items: center; }

.landing-hero {
    text-align: center;
    padding: 130px 20px 80px;
    max-width: 680px;
    margin: 0 auto;
}
.landing-badge {
    display: inline-block;
    background: #dbeafe;
    color: #1e40af;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}
.landing-hero h1 {
    font-size: 2.8rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.4;
    margin-bottom: 20px;
}
.landing-hero h1 span { color: #4166F5; }
.landing-hero p {
    font-size: 1.15rem;
    color: #475569;
    line-height: 2;
    margin-bottom: 40px;
}

.landing-cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.landing-btn-filled {
    background: #4166F5;
    color: #fff;
    padding: 14px 36px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(65,102,245,0.3);
    transition: all 0.25s;
}
.landing-btn-filled:hover { background: #3558d4; transform: translateY(-3px); box-shadow: 0 12px 32px rgba(65,102,245,0.4); }
.landing-btn-ghost {
    background: #fff;
    color: #4166F5;
    padding: 14px 36px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    border: 2px solid #4166F5;
    transition: all 0.25s;
}
.landing-btn-ghost:hover { background: #eff6ff; transform: translateY(-3px); }

.landing-section-title {
    text-align: center;
    font-size: 1.9rem;
    font-weight: 800;
    color: #0f172a;
    margin: 20px 0 40px;
}
.landing-features {
    max-width: 1050px;
    margin: 0 auto;
    padding: 20px 20px 80px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.landing-feature-card {
    background: #fff;
    border-radius: 24px;
    padding: 36px 28px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    border: 1px solid #f1f5f9;
    transition: all 0.3s;
}
.landing-feature-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }

.landing-footer {
    text-align: center;
    padding: 24px 20px;
    color: #94a3b8;
    font-size: 0.85rem;
    border-top: 1px solid #e2e8f0;
}
.landing-footer a { color: #4166F5; text-decoration: none; font-weight: 600; }
.landing-footer a:hover { text-decoration: underline; }

@media (max-width: 768px) {
    .landing-navbar { padding: 8px 16px; margin: 0 10px; }
    .landing-hero h1 { font-size: 1.9rem; }
    .landing-features { grid-template-columns: 1fr; }
}
/* ==================== صفحات static ==================== */
.static-page {
    max-width: 800px;
    margin: 40px auto;
    padding: 40px 30px;
}

@media (max-width: 768px) {
    .static-page {
        margin: 20px auto;
        padding: 24px 18px;
    }
}