/* assets/css/style.css */
#tezeshow-container {
    max-width: 1200px;
    margin: 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    direction: rtl;
}
#tezeshow-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
#tezeshow-header h2 {
    margin: 0;
}
#tezeshow-last-update {
    font-size: 14px;
    color: #555;
}
.tezeshow-table-wrap {
    overflow-x: auto;
}
.tezeshow-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.tezeshow-table th {
    background: #f8f9fa;
    padding: 12px 10px;
    text-align: right;
    font-weight: 600;
    border-bottom: 2px solid #e9ecef;
}
.tezeshow-table td {
    padding: 10px;
    border-bottom: 1px solid #e9ecef;
    vertical-align: middle;
}
.tezeshow-table tr:hover {
    background: #f8f9fa;
}
.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}
.status-pending { background: #ffc107; color: #212529; }
.status-approved { background: #28a745; color: #fff; }
.status-rejected { background: #dc3545; color: #fff; }
.return-none { background: #e9ecef; color: #495057; }
.return-requested { background: #17a2b8; color: #fff; }
.return-approved { background: #28a745; color: #fff; }
.return-rejected { background: #dc3545; color: #fff; }

.tezeshow-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.tezeshow-btn {
    padding: 4px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.2s;
    background: #e9ecef;
    color: #212529;
}
.tezeshow-btn:hover {
    background: #ced4da;
}
.approve-order { background: #28a745; color: #fff; }
.approve-order:hover { background: #218838; }
.reject-order { background: #dc3545; color: #fff; }
.reject-order:hover { background: #c82333; }
.approve-return { background: #28a745; color: #fff; }
.approve-return:hover { background: #218838; }
.reject-return { background: #dc3545; color: #fff; }
.reject-return:hover { background: #c82333; }
.details-btn { background: #007bff; color: #fff; }
.details-btn:hover { background: #0069d9; }
.tezeshow-info { font-size: 12px; color: #6c757d; }

.tezeshow-loading, .tezeshow-error, .tezeshow-empty {
    text-align: center;
    padding: 30px;
    font-size: 16px;
    color: #6c757d;
}
.tezeshow-error { color: #dc3545; }

/* واکنش‌گرا */
@media (max-width: 768px) {
    .tezeshow-table th, .tezeshow-table td {
        padding: 6px 8px;
        font-size: 12px;
    }
    .tezeshow-actions {
        flex-direction: column;
        gap: 4px;
    }
    .tezeshow-btn {
        font-size: 11px;
        padding: 3px 8px;
    }
    #tezeshow-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}
