/* استایل کارت‌های آمار */
.stat-card {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border-left: 4px solid #10b981;
}

.stat-icon {
    font-size: 2.5rem;
    opacity: 0.8;
}

.stat-content h3 {
    color: #e2e8f0;
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
}

.stat-content p {
    color: #94a3b8;
    margin: 0;
    font-size: 0.9rem;
}

/* کارت‌های نمودار */
.chart-card {
    background: #1e293b;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.chart-card h5 {
    color: #e2e8f0;
    border-bottom: 2px solid #10b981;
    padding-bottom: 8px;
}

/* دسترسی سریع */
.quick-actions-card {
    background: #1e293b;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.quick-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.quick-action-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white !important;
    text-decoration: none;
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    transition: transform 0.2s ease;
    min-width: 180px;
    justify-content: center;
}

.quick-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
    color: white !important;
}

.action-icon {
    font-size: 1.2rem;
}

.accounting-summary {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.summary-card {
    background: #f6f8fa;
    border-radius: 8px;
    padding: 15px 20px;
    min-width: 220px;
}

.summary-card span {
    font-size: 13px;
    color: #666;
}

.summary-card strong {
    display: block;
    font-size: 20px;
    margin-top: 5px;
}

.accounting-filters {
    margin-bottom: 20px;
}

.filters-form {
    display: flex;
    gap: 15px;
    align-items: flex-end;
}

.filter-group label {
    display: block;
    font-size: 12px;
    margin-bottom: 6px;
}

.accounting-table {
    width: 100%;
    border-collapse: collapse;
}

.accounting-table th,
.accounting-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #e5e7eb;
}

.accounting-table th {
    background: #f3f4f6;
    font-size: 13px;
}

.accounting-table td.amount {
    font-weight: bold;
}

.empty-state {
    text-align: center;
    color: #888;
    padding: 20px;
}
.accounting-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.summary-card {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 10px;
    padding: 16px;
}

.summary-card span {
    font-size: 13px;
    color: #94a3b8;
}

.summary-card strong {
    display: block;
    margin-top: 6px;
    font-size: 20px;
    font-weight: 700;
}

.last-update-time {
    font-size: 0.9rem;
    font-weight: 600;
}

.last-update-ok {
    color: #20c997; /* سبز */
}

.last-update-warn {
    color: #dc3545; /* قرمز */
}
