body {
    background-color: #f0f2f5;
    font-family: 'Vazirmatn', sans-serif;
    direction: rtl;
    margin: 0;
    color: #333;
}

.dashboard-container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 20px;
}

h1, h2, h3 { color: #1d2129; }
h2 { border-bottom: 2px solid #007bff; padding-bottom: 10px; margin-bottom: 20px; }

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}
.header a { text-decoration: none; background-color: #dc3545; color: white; padding: 8px 15px; border-radius: 5px; transition: background-color 0.2s; }
.header a:hover { background-color: #c82333; }

/* استایل کارت‌های آمار */
.stats-container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 20px; }
.stat-card { background: #fff; padding: 20px; border-radius: 8px; text-align: center; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
.stat-card h3 { margin: 0 0 10px; font-size: 1rem; color: #6c757d; }
.stat-card p { margin: 0; font-size: 2.5rem; font-weight: bold; color: #007bff; }

/* استایل تب‌ها */
.tabs { overflow: hidden; border-bottom: 1px solid #ccc; margin-bottom: 20px; }
.tab-link { background-color: inherit; float: right; border: none; outline: none; cursor: pointer; padding: 14px 16px; transition: 0.3s; font-size: 1rem; }
.tab-link:hover { background-color: #ddd; }
.tab-link.active { background-color: #fff; border-top-left-radius: 8px; border-top-right-radius: 8px; border: 1px solid #ccc; border-bottom: 1px solid #fff; color: #007bff; }
.tab-content { display: none; padding: 20px; background: #fff; border-radius: 8px; border-top-right-radius: 0; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
.tab-content.active { display: block; }

/* استایل کارت‌های آثار */
.submissions-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.submission-card { border: 1px solid #ddd; border-radius: 8px; background-color: #fafafa; overflow: hidden; }
.submission-card img, .submission-card audio { width: 100%; display: block; }
.submission-card img { cursor: pointer; aspect-ratio: 16 / 9; object-fit: cover; }
.submission-card p { padding: 0 15px; margin: 10px 0; }
.submission-card p.date { font-size: 0.8rem; color: #6c757d; }
.text-content { background-color: #e9ecef; padding: 15px; min-height: 100px; margin: 10px; border-radius: 4px; }
.actions { display: flex; gap: 0; }
.actions button { width: 100%; padding: 12px; font-size: 1rem; border: none; border-top: 1px solid #ddd; cursor: pointer; }
.approve-btn { background-color: #28a745; color: white; border-bottom-right-radius: 8px;}
.delete-btn { background-color: #dc3545; color: white; border-bottom-left-radius: 8px;}

/* استایل جدول نگهبانان */
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 12px; text-align: right; border-bottom: 1px solid #ddd; }
.table th { background-color: #f8f9fa; }
.table tr:hover { background-color: #f1f1f1; }
.table .delete-btn { padding: 5px 10px; font-size: 0.9rem; }

/* استایل صفحه‌بندی */
.pagination { text-align: center; margin-top: 20px; }
.pagination a { color: #007bff; padding: 8px 16px; text-decoration: none; transition: background-color .3s; border: 1px solid #ddd; margin: 0 4px; border-radius: 4px;}
.pagination a.active { background-color: #007bff; color: white; border: 1px solid #007bff; }
.pagination a:hover:not(.active) { background-color: #ddd; }
.no-data { padding: 20px; text-align: center; color: #6c757d; }

/* برای فرم حذف نگهبان که داخل جدول است */
td form { margin: 0; }